diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-06-10 14:54:03 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-06-10 14:54:03 +0500 |
commit | 8a40e2e8f81508ba66f9b3e9bab7b1896fb8482d (patch) | |
tree | f9aa22c9dbb79f6980e381c2d1c8d176bafe705a /sql/item_cmpfunc.h | |
parent | 4b420bb29bb871c10bcb15a4dfafeada38f45ce5 (diff) | |
download | mariadb-git-8a40e2e8f81508ba66f9b3e9bab7b1896fb8482d.tar.gz |
Some more functions work according to coercibility now:
repeat, reverse, quote, soundex, substring
Test func_str has been extended to check them
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 4438b902011..549839b4f96 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -263,13 +263,6 @@ class Item_func_strcmp :public Item_bool_func2 public: Item_func_strcmp(Item *a,Item *b) :Item_bool_func2(a,b) {} longlong val_int(); - void fix_length_and_dec() - { - max_length=2; - /* QQ: COERCIBILITY */ - cmp_charset= args[0]->binary() || args[1]->binary() ? - &my_charset_bin : args[0]->charset(); - } optimize_type select_optimize() const { return OPTIMIZE_NONE; } const char *func_name() const { return "strcmp"; } }; |