diff options
author | unknown <serg@serg.mylan> | 2004-08-07 23:18:13 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-08-07 23:18:13 +0200 |
commit | 91f20a16b8322e50ef79461239de06d402055372 (patch) | |
tree | 2deba60dceda768cb02998b391cb483bc92bb634 /sql/item_cmpfunc.cc | |
parent | 03fc7a08b7446ebbecd00e94ff7c4b67bedde61b (diff) | |
download | mariadb-git-91f20a16b8322e50ef79461239de06d402055372.tar.gz |
cleanup
mysql-test/r/select_found.result:
explain added
mysql-test/t/select_found.test:
cleanup. 5000-char long line removed :)
sql/sql_select.cc:
reverted
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(); |