
|
If you were logged in you would be able to see more operations.
|
|
|
| Planning Status: |
Unspecified
|
|
AV samples
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, 32000 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , valid_pointer_to_tpb)
I think, need write code like
if(tpb_length<0)
{
// ERROR
}
if(tpb_length!=0 && tpb==NULL)
{
// ERROR
}
|
|
Description
|
AV samples
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, 32000 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , NULL)
isc_start_transaction(status_vector, &valid_tr_handle, 1, &valid_db_handle, -1 , valid_pointer_to_tpb)
I think, need write code like
if(tpb_length<0)
{
// ERROR
}
if(tpb_length!=0 && tpb==NULL)
{
// ERROR
}
|
Show » |
|
ISC_STATUS API_ROUTINE GDS_START_MULTIPLE( ... )
{
// ....
for (....)
{
if(vector->teb_tpb_length<0)
{
Firebird::status_exception::raise(isc_bad_tpb_form,isc_arg_end);
}
if(vector->teb_tpb==NULL && vector->teb_tpb_length>0)
{
Firebird::status_exception::raise(isc_bad_tpb_form,isc_arg_end);
}
// ....
}//for
// ....
}// GDS_START_MULTIPLE
-----
Additional proposal: change the type of TEB::teb_tpb to const UCHAR*
Thanks