You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
isc_tpb_protected will be ignored and default isc_tpb_shared will be used.
The reason is in tra.cpp:
case isc_tpb_shared:
case isc_tpb_protected:
case isc_tpb_exclusive:
break;
To correct this bug, the code should be replaced by
case gds__tpb_shared:
case gds__tpb_protected:
case gds__tpb_exclusive:
ERR_post(isc_bad_tpb_form, 0);
break;
Why is it important?
The above-mentioned erroneous TPB declaration originates in APIGuide.pdf for IB6
So, APIGuide misleads developers and FB doesn't clarify a matter
isc_tpb_protected will be ignored and default isc_tpb_shared will be used.
The reason is in tra.cpp:
case isc_tpb_shared:
case isc_tpb_protected:
case isc_tpb_exclusive:
break;
To correct this bug, the code should be replaced by
case gds__tpb_shared:
case gds__tpb_protected:
case gds__tpb_exclusive:
ERR_post(isc_bad_tpb_form, 0);
break;
Why is it important?
The above-mentioned erroneous TPB declaration is originated in APIGuide.pdf for IB6
So, APIGuide misleads developers and FB doesn't clarify a matter
isc_tpb_protected will be ignored and default isc_tpb_shared will be used.
The reason is in tra.cpp:
case isc_tpb_shared:
case isc_tpb_protected:
case isc_tpb_exclusive:
break;
To correct this bug, the code should be replaced by
case gds__tpb_shared:
case gds__tpb_protected:
case gds__tpb_exclusive:
ERR_post(isc_bad_tpb_form, 0);
break;
Why is it important?
The above-mentioned erroneous TPB declaration originates in APIGuide.pdf for IB6
So, APIGuide misleads developers and FB doesn't clarify a matter
Submitted by: Kuznetsov Eugene (eugene)
Assigned to: Claudio Valderrama C. (robocop)
Is related to QA181
Relate to CORE1600
As we know, for specifying table reservation the valid order is
isc_tpb_lock_write | isc_tpb_lock_read
isc\_tpb\_shared \| isc\_tpb\_protected \| isc\_tpb\_exclusiveIn following TPB declaration
static char isc_tpb[] = {isc_tpb_version3,
isc_tpb_write,
isc_tpb_concurrency,
isc_tpb_nowait,
isc_tpb_protected, isc_tpb_lock_read, "EMPLOYEE"};
isc_tpb_protected will be ignored and default isc_tpb_shared will be used.
The reason is in tra.cpp:
case isc_tpb_shared:
case isc_tpb_protected:
case isc_tpb_exclusive:
break;
To correct this bug, the code should be replaced by
case gds__tpb_shared:
case gds__tpb_protected:
case gds__tpb_exclusive:
ERR_post(isc_bad_tpb_form, 0);
break;
Why is it important?
The above-mentioned erroneous TPB declaration originates in APIGuide.pdf for IB6
So, APIGuide misleads developers and FB doesn't clarify a matter
Source: Russian-speaking conference http://www.sql.ru/forum/actualthread.aspx?bid=2&tid=388371
With best regards, Eugene
Commits: 786039b
The text was updated successfully, but these errors were encountered: