diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-03-01 13:06:11 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-03-01 13:06:11 +0300 |
commit | e0d1373a3baec3a42dfa88544ba4d760868df049 (patch) | |
tree | 081912c9d4ed65399258f0edf6887fe9b563e083 /sql/item_cmpfunc.h | |
parent | 1bba800acea916d3e4d9e3e314f6f0fe03cc742d (diff) | |
parent | 7a83782f1caa102ebc552b017885f18f005425f0 (diff) | |
download | mariadb-git-e0d1373a3baec3a42dfa88544ba4d760868df049.tar.gz |
Manual merge from mysql-next-mr.
Conflicts:
- sql/item.cc
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index c3859ab29b9..3232a77ac3e 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -637,6 +637,11 @@ public: { Item_func::print(str, query_type); } + void fix_length_and_dec() + { + Item_bool_func2::fix_length_and_dec(); + fix_char_length(2); // returns "1" or "0" or "-1" + } }; |