On 2/8/19 12:15 PM, Vlad Khorsun wrote:
08.02.2019 10:48, Alex Peshkoff via Firebird-devel wrote:
On 2/8/19 10:56 AM, Vlad Khorsun wrote:

  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?

  I see "icu_versions" parameter at fbintl.conf but it seems not used by getConversionICU().
Probably it could be used here ?

Not sure is it needed or not currently (Adriano should know better) - but I dislike an idea of making .conf files firebird-writable for security reasons.


  Also, we could limit number of ICU versions to check:
- exclude really old versions (at least with old X.Y versioning scheme, i.e. 4.8 and older)

Suppose we may exclude versions missing TZ support needed for FB4. What about versioning scheme - now it depends upon build parameters and therefore in linux is distro-depended. Not good criteria IMHO :)

- adapt search knowing existing versions numbers (see http://site.icu-project.org/download)

Yes, this should be efficient.

- guess number of future versions


Ask the spirit of Vanga?  ;)

Getting serious we may just decrease number of future versions to analyze - anyway they will invent something making that versions not loadable with current code.




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

Reply via email to