On 11/5/20 2:37 PM, 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.


Telling true users management is hardly a place where performance is critical, but must say that it can be optimized in current code.

Do you have other suggestions ?

  Set attachment's charset to UTF8 while attachment is used by plugin ?


Probably the best way. Can be easily done when creating login info and undone when removing it.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to