Claudio,

> People, what's the difference between
>
> const int csb_modify          = 64;           // we are processing a
> modify
> combined with
> const int csb_erase                   = 256;          // we are processing
> an erase
>
> and the single flag
> const int csb_update          = 1024;         // erase or modify for
> relation
>
> They seem to be used in different parts, but it seems to me as if the two
> former ones combined will achieve the same result as the latter. Ideas?

Erase/modify flags are set during pass1 while csb_update is set during 
pass2. But I don't think this is strictly required, so the former ones 
could be checked instead of the latter one.

However, csb_update is also set for WITH LOCK. If we're going to 
exchange csb_update for csb_writelock, then it doesn't look like a 
clever cleanup to me.


Dmitry

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to