mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
Fixed bug CORE-3801 : Warnings could be put twice in status-vector
This commit is contained in:
parent
660fa3b651
commit
9ac7d597a1
@ -2706,9 +2706,11 @@ static dsql_req* prepare(thread_db* tdbb, dsql_dbb* database, jrd_tra* transacti
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// check for warnings
|
// check for warnings
|
||||||
if (tdbb->tdbb_status_vector[2] == isc_arg_warning) {
|
if (tdbb->tdbb_status_vector[2] == isc_arg_warning)
|
||||||
|
{
|
||||||
// save a status vector
|
// save a status vector
|
||||||
memcpy(local_status, tdbb->tdbb_status_vector, sizeof(ISC_STATUS_ARRAY));
|
memcpy(local_status, tdbb->tdbb_status_vector, sizeof(ISC_STATUS_ARRAY));
|
||||||
|
fb_utils::init_status(tdbb->tdbb_status_vector);
|
||||||
}
|
}
|
||||||
|
|
||||||
ISC_STATUS status = FB_SUCCESS;
|
ISC_STATUS status = FB_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user