8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 07:23:03 +01:00
This commit is contained in:
robocop 2010-01-15 04:57:57 +00:00
parent c029122fef
commit 50f1ad96e2
2 changed files with 6 additions and 4 deletions

View File

@ -731,7 +731,7 @@ DmlNode* ExceptionNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch
if (type == blr_exception_params)
{
USHORT count = csb->csb_blr_reader.getWord();
const USHORT count = csb->csb_blr_reader.getWord();
node->parameters = PAR_make_node(tdbb, count);
node->parameters->nod_type = nod_list;
@ -781,7 +781,7 @@ void ExceptionNode::genBlr()
return;
}
// If exception parameters or value is defined, it means we have user-defined exception message
// If exception value is defined, it means we have user-defined exception message
// here, so blr_exception_msg verb should be generated.
if (dsqlParameters)
stuff(statement, blr_exception_params);

View File

@ -450,11 +450,13 @@ int MergeJoin::compare(thread_db* tdbb, jrd_nod* node1, jrd_nod* node2)
{
return -1;
}
else if (null2 && !null1)
if (null2 && !null1)
{
return 1;
}
else if (!null1 && !null2)
if (!null1 && !null2)
{
const int result = MOV_compare(desc1, desc2);