[Firebird-devel] trace_dsql_prepare and statement encoding

2022-04-04 Thread Dimitry Sibiryakov
Hello. I've found that for versions 3 and 4 in trace_dsql_prepare() statement->getText() returning SQL statement text converted into UTF-8 and getTextUTF8() - returning it converted twice. It is reproducible even with standard trace plugin (audit log as seen in ANSI mode): Statement

[Firebird-devel] ITraceConnection::getCharSet() result TTL

2022-04-04 Thread Dimitry Sibiryakov
Hello. How long lives the pointer returned by ITraceConnection::getCharSet()? Can I store it or must copy content into local storage in the instance of ITracePlugin that is created for this connection? -- WBR, SD. Firebird-Devel mailing list, web interface at