On 2/8/19 10:56 AM, Vlad Khorsun wrote:
08.02.2019 9:31, Alex Peshkoff via Firebird-devel wrote:
On 2/7/19 6:14 PM, Dimitry Sibiryakov wrote:
Hello, All.

  I somehow understand why build of current HEAD is failing with message "Could not find acceptable ICU library", but I wonder why it takes so much time to get this error? More than 15 second between running of isql and this failure on my notebook.

  Probably, you have too much entries in PATH

I can't reproduce performance problem:
>
> # time (echo 'exit;' | ./isql employee)
> Statement failed, SQLSTATE = XX000
> Could not find acceptable ICU library
> -Missing entrypoint u_setDataDirectory in ICU library
> Use CONNECT or CREATE DATABASE to specify a database
>
> real    0m0.204s

  This is too much, imo. Hope strace could show the huge number of calls made.

Yes.

I can show such trace on Windows, if you wish.

  Is it time to re-think how UnicodeUtil::getConversionICU() search for ICU library ?


Suggestions?
The fastest way sooner of all will be storing favorite ICU verson (once detected using long process) somewhere out of databases. But may be some better idea?




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

Reply via email to