1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix for a bug with ROW(..) <=> ROW(...)

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-03-10 20:54:18 +02:00
parent d6923a6c10
commit 9c8838749f
3 changed files with 10 additions and 3 deletions

View File

@@ -266,8 +266,8 @@ int Arg_comparator::compare_e_row()
uint n= (*a)->cols();
for (uint i= 0; i<n; i++)
{
if ((res= comparators[i].compare()))
return 1;
if ((res= !comparators[i].compare()))
return 0;
}
return 1;
}
@@ -352,7 +352,6 @@ void Item_func_equal::fix_length_and_dec()
{
Item_bool_func2::fix_length_and_dec();
maybe_null=null_value=0;
set_cmp_func();
}
longlong Item_func_equal::val_int()