mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Cleanup during review of new pushed code
include/my_global.h: Safer macros to avoid possible overflows sql/item_cmpfunc.cc: Simple optimization sql/sp_head.cc: Indentation fixes Remove not needed "else" levels Added error checking for 'new' Simpler reseting of thd->spcont in execute_procedure sql/sql_base.cc: Faster new sql/sql_lex.cc: Use 'TRUE' instead of 'true' sql/sql_parse.cc: Faster new sql/sql_view.cc: No need to set 'tables' as it's not used sql/table.cc: Simpler DBUG_ASSERT()
This commit is contained in:
parent
a1820ab1ca
commit
72340a481a
8 changed files with 148 additions and 145 deletions
|
|
@ -630,7 +630,7 @@ int Arg_comparator::compare_row()
|
|||
owner->null_value= 0;
|
||||
res= 0; // continue comparison (maybe we will meet explicit difference)
|
||||
}
|
||||
if (res)
|
||||
else if (res)
|
||||
return res;
|
||||
}
|
||||
if (was_null)
|
||||
|
|
@ -645,6 +645,7 @@ int Arg_comparator::compare_row()
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int Arg_comparator::compare_e_row()
|
||||
{
|
||||
(*a)->bring_value();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue