get_real_main_context
Description:
Obtain a MainContext on which to iterate.
This function is reserved to database provider's implementations.
NB: if cnc
is NOT null and has a Worker
associated, and if we are in its worker thread, then this function returns null (to avoid generating contexts
which are never used)
Parameters:
cnc |
a Connection, or null |
Returns:
a MainContext, or null. Don't forget to
call |