On 05/11/2020 08:37, Vlad Khorsun wrote: > 05.11.2020 11:35, Alex Peshkoff via Firebird-devel пишет: >> On 11/4/20 6:37 PM, Dimitry Sibiryakov wrote: >>> 02.11.2020 16:18, Dimitry Sibiryakov wrote: >>>> It looks like user name is converted from win1251 into utf-8 one >>>> time more than needed. >>> >>> I've found the problem. It happens when SRP plugin is trying to >>> use attachment from login info which charset is not NONE or UTF-8. >>> I think the right solution will be always use own connection with >>> predictable attributes. >>> Objections? >>> >> >> That's how it worked before and that caused deadlocks (see >> http://tracker.firebirdsql.org/browse/CORE-6412). >> (BTW - fix for 6412 is backported to B3, i.e. it's not fb4-only issue) > > Also, it adds performance penalty. > >> Do you have other suggestions ? > > Set attachment's charset to UTF8 while attachment is used by plugin ? >
Looks like after more than 10 years people see why I insisted that external engines would need their own connection charset. ;) Unfortunately when others plugins born the idea was not used in a general way. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel