Skip to content

Commit

Permalink
Postfix for #4203 - thanks to Pavel Zotov.
Browse files Browse the repository at this point in the history
  • Loading branch information
asfernandes committed Jan 9, 2024
1 parent 597b267 commit 252a675
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dsql/DdlNodes.epp
Original file line number Diff line number Diff line change
Expand Up @@ -10694,6 +10694,8 @@ void MappingNode::runInSecurityDb(SecDbContext* secDbContext)
break;
case MAP_DROP:
ddl = "DROP MAPPING ";
if (silentDrop)
ddl += "IF EXISTS ";
break;
case MAP_RPL:
ddl = "CREATE OR ALTER MAPPING ";
Expand Down
6 changes: 6 additions & 0 deletions src/dsql/PackageNodes.epp
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,12 @@ void DropPackageBodyNode::execute(thread_db* tdbb, DsqlCompilerScratch* dsqlScra

if (!found)
{
if (silent)
{
savePoint.release();
return;
}

status_exception::raise(
Arg::Gds(isc_no_meta_update) <<
Arg::Gds(isc_dyn_package_not_found) << Arg::Str(name));
Expand Down

0 comments on commit 252a675

Please sign in to comment.