diff options
author | monty@mysql.com <> | 2004-02-16 10:03:25 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-16 10:03:25 +0200 |
commit | f43093ec0e1ca391f0cdde589418d19c4b82241a (patch) | |
tree | 44dc172194086edaeef7da9c9ed059171579a886 /sql/item_cmpfunc.h | |
parent | ce145789092b294a562f565671478ae2bf51d14a (diff) | |
download | mariadb-git-f43093ec0e1ca391f0cdde589418d19c4b82241a.tar.gz |
After merge fixes
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 4e9628c8db9..3c70a50502a 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -63,10 +63,12 @@ public: inline int compare() { return (this->*func)(); } int compare_string(); // compare args[0] & args[1] + int compare_binary_string(); // compare args[0] & args[1] int compare_real(); // compare args[0] & args[1] int compare_int(); // compare args[0] & args[1] int compare_row(); // compare args[0] & args[1] int compare_e_string(); // compare args[0] & args[1] + int compare_e_binary_string(); // compare args[0] & args[1] int compare_e_real(); // compare args[0] & args[1] int compare_e_int(); // compare args[0] & args[1] int compare_e_row(); // compare args[0] & args[1] |