diff options
author | unknown <cmiller@zippy.cornsilk.net> | 2007-04-03 14:08:09 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.cornsilk.net> | 2007-04-03 14:08:09 -0400 |
commit | 992fc6b22c5718fde62eb0c93c296eaec45228ac (patch) | |
tree | 5a401836f3f013231d762233441a3d892c9c54de /sql/sql_profile.h | |
parent | 892c54a05812ece5d169b9726fea19598dafeea6 (diff) | |
download | mariadb-git-992fc6b22c5718fde62eb0c93c296eaec45228ac.tar.gz |
Backport of Igor's patch for Bug#27362, March 22 2007.
Fixed bug #27362: crash at evaluation of IN predicate when one
of its argument happened to be a decimal expression returning
the NULL value.
The crash was due to the fact the function in_decimal::set did
not take into account that val_decimal() could return 0 if
the decimal expression had been evaluated to NULL.
mysql-test/r/func_in.result:
Added a test case for bug #27362.
mysql-test/t/func_in.test:
Added a test case for bug #27362.
sql/item_cmpfunc.cc:
Fixed bug #27362: crash at evaluation of IN predicate when one
of its argument happened to be a decimal expression returning
the NULL value.
The crash was due to the fact the function in_decimal::set did
not take into account that val_decimal() could return 0 if
the decimal expression had been evaluated to NULL.
Diffstat (limited to 'sql/sql_profile.h')
0 files changed, 0 insertions, 0 deletions