diff options
author | monty@hundin.mysql.fi <> | 2001-12-13 02:31:19 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-13 02:31:19 +0200 |
commit | 87fd219d67dc6a0630e882d4be6ced589bd3f0f6 (patch) | |
tree | 47a4c1a60e94a3e70ea5564124a296f7cd71605e /sql/item_strfunc.h | |
parent | 8bef3771f4bf0880e0bbb2f4f526903f8e72082c (diff) | |
download | mariadb-git-87fd219d67dc6a0630e882d4be6ced589bd3f0f6.tar.gz |
Fixed sleep time in mysql-test-run
Fixed bug in query cache.
Cleaned up des_crypt code.
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 31c832c8ddb..ba2d6ffc3f0 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -228,9 +228,9 @@ class Item_func_des_encrypt :public Item_str_func public: Item_func_des_encrypt(Item *a) :Item_str_func(a) {} Item_func_des_encrypt(Item *a, Item *b): Item_str_func(a,b) {} - Item_func_des_encrypt(Item *a, Item *b, Item *c): Item_str_func(a,b,c) {} String *val_str(String *); - void fix_length_and_dec() { maybe_null=1; max_length = args[0]->max_length; } + void fix_length_and_dec() + { maybe_null=1; max_length = args[0]->max_length+8; } const char *func_name() const { return "des_encrypt"; } }; @@ -240,7 +240,6 @@ class Item_func_des_decrypt :public Item_str_func public: Item_func_des_decrypt(Item *a) :Item_str_func(a) {} Item_func_des_decrypt(Item *a, Item *b): Item_str_func(a,b) {} - Item_func_des_decrypt(Item *a, Item *b, Item *c): Item_str_func(a,b,c) {} String *val_str(String *); void fix_length_and_dec() { maybe_null=1; max_length = args[0]->max_length; } const char *func_name() const { return "des_decrypt"; } |