28.03.2014 17:43, Dimitry Sibiryakov wrote:
>    Either I don't understand something or garbage_collect_idx() doesn't do 
> what it is
> supposed to do.

   I've found the problem. Global variables must die. Only miracle prevents 
this piece of 
code from crash:

 > undo = action->vct_undo->current().setupRecord(transaction);

   Because this call uses (relatively) global record buffer, content of 
'old_data' is 
replaced with 'undo', so the data that should go is wrong.

-- 
   WBR, SD.

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

Reply via email to