8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Fixed one of the problems with PSQL functions reported by Vlad privately.

This commit is contained in:
dimitr 2010-09-27 12:29:49 +00:00
parent 9b9f26aa15
commit 0a34f7c97a

View File

@ -1610,6 +1610,7 @@ void ReturnNode::print(string& text, Array<dsql_nod*>& nodes) const
void ReturnNode::genBlr(DsqlCompilerScratch* dsqlScratch)
{
dsqlScratch->appendUChar(blr_begin);
dsqlScratch->appendUChar(blr_assignment);
GEN_expr(dsqlScratch, value);
dsqlScratch->appendUChar(blr_variable);
@ -1617,6 +1618,7 @@ void ReturnNode::genBlr(DsqlCompilerScratch* dsqlScratch)
dsqlScratch->genReturn();
dsqlScratch->appendUChar(blr_leave);
dsqlScratch->appendUChar(0);
dsqlScratch->appendUChar(blr_end);
}