01.04.2014 20:38, Dimitry Sibiryakov wrote:
>
> Reading code, I see that in some cases DPM_get()+VIO_data() is used to get 
> record data
> and in some other cases DPM_fetch()+VIO_data() is used for the same purpose. 
> But I cannot
> understand what is the difference between these cases. I see that DPM_get() 
> uses pointer
> page while DPM_get() doesn't, but don't understand why... Do they have 
> different types of
> rpb_number in input or what?..

DPM_get() fetches the first (primary / most recent) record version in 
the chain, the retrieval is based on rpb_number and thus performed via a 
pointer page.

DPM_fetch() fetches the particular record version based on the priorly 
determined page number / slot pair.


Dmitry


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

Reply via email to