File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -279,6 +279,11 @@ DdlNode* CreateAlterPackageNode::dsqlPass(DsqlCompilerScratch* dsqlScratch)
279279 itemScratch->flags |= DsqlCompilerScratch::FLAG_DDL;
280280 itemScratch->package = name;
281281
282+ if (itemScratch->clientDialect > SQL_DIALECT_V5)
283+ itemStatement->setBlrVersion(5);
284+ else
285+ itemStatement->setBlrVersion(4);
286+
282287 ddlNode->dsqlPass(itemScratch);
283288 }
284289
@@ -696,6 +701,11 @@ DdlNode* CreatePackageBodyNode::dsqlPass(DsqlCompilerScratch* dsqlScratch)
696701 itemScratch->flags |= DsqlCompilerScratch::FLAG_DDL;
697702 itemScratch->package = name;
698703
704+ if (itemScratch->clientDialect > SQL_DIALECT_V5)
705+ itemStatement->setBlrVersion(5);
706+ else
707+ itemStatement->setBlrVersion(4);
708+
699709 ddlNode->dsqlPass(itemScratch);
700710 }
701711 }
You can’t perform that action at this time.
0 commit comments