diff options
author | serg@serg.mylan <> | 2004-08-07 23:18:13 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-08-07 23:18:13 +0200 |
commit | e1e1c39bdade2caabb97bc8e307a8bf6c459105e (patch) | |
tree | 2deba60dceda768cb02998b391cb483bc92bb634 /sql/item_cmpfunc.cc | |
parent | 6e8503142e3ade4a89fed404f13bfd683f6c8f43 (diff) | |
download | mariadb-git-e1e1c39bdade2caabb97bc8e307a8bf6c459105e.tar.gz |
cleanup
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 60f80249e94..14c0d996360 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -268,8 +268,8 @@ void Item_bool_func2::fix_length_and_dec() int Arg_comparator::set_compare_func(Item_bool_func2 *item, Item_result type) { owner= item; - func= comparator_matrix[type][(owner->functype() == Item_func::EQUAL_FUNC)? - 1:0]; + func= comparator_matrix[type] + [test(owner->functype() == Item_func::EQUAL_FUNC)]; if (type == ROW_RESULT) { uint n= (*a)->cols(); |