8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Fix for #7729: "SET BIND OF TS WITH TZ TO VARCHAR(128)" uses the date format of dialect 1

(cherry picked from commit c51f969eb4)
This commit is contained in:
AlexPeshkoff 2023-08-29 19:19:31 +03:00
parent fdf759b2a2
commit 896bd97cd2

View File

@ -320,7 +320,12 @@ bool DsqlDmlRequest::fetch(thread_db* tdbb, UCHAR* msgBuffer)
}
if (msgBuffer)
{
auto old = tdbb->getRequest();
Cleanup restoreRequest([tdbb, old] {tdbb->setRequest(old);});
tdbb->setRequest(req_request);
mapInOut(tdbb, true, message, NULL, msgBuffer);
}
trace.fetch(false, ITracePlugin::RESULT_SUCCESS);
return true;