> In check_duplicates (idx.cpp), there are these lines:
> 
>    Firebird::HalfStaticArray<UCHAR, 256> tmp;
> 
> ...
> 
>                desc1.dsc_address = tmp.getBuffer(idx_dsc_length);
> 
> It seems there may be an alignment problem here, when idx_dsc_length <= 256. 

    Probably

> However, I'm unable to make this second part of the code run.

    Just create unique expression index and insert records with duplicate keys.

Regards,
Vlad

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to