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

Postfix for PR #7807

This commit is contained in:
Dmitry Yemanov 2023-11-13 08:36:00 +03:00
parent a4b4fe4571
commit 9ed5a4e010
2 changed files with 3 additions and 3 deletions

View File

@ -1726,7 +1726,7 @@ void CreateAlterFunctionNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsql
AutoSavePoint savePoint(tdbb, transaction);
bool altered = false;
const bool alterIndividualParameters = (alter && !returnType && !(body || external));
const bool alterIndividualParameters = (!create && alter && !returnType && !(body || external));
// first pass
if (alterIndividualParameters)
@ -2742,7 +2742,7 @@ void CreateAlterProcedureNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsq
AutoSavePoint savePoint(tdbb, transaction);
bool altered = false;
const bool alterIndividualParameters = (alter && !(body || external));
const bool alterIndividualParameters = (!create && alter && !(body || external));
// first pass
if (alterIndividualParameters)

View File

@ -322,7 +322,7 @@ void CreateAlterPackageNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlS
// run all statements under savepoint control
AutoSavePoint savePoint(tdbb, transaction);
const bool alterIndividualParameters = (alter && !items);
const bool alterIndividualParameters = (!create && alter && !items);
if (alter)
{