diff options
author | tonu@volk.internalnet <> | 2001-11-09 07:49:57 +0200 |
---|---|---|
committer | tonu@volk.internalnet <> | 2001-11-09 07:49:57 +0200 |
commit | 8706dde5c0bd4bbc06948344ca2523ccb98fa3cd (patch) | |
tree | 5261d0537bc650273717ebaa56f1382e53529c2b /sql/item_strfunc.h | |
parent | 13f16b441a141b2b9b582be2bc753ff67eb35e9b (diff) | |
download | mariadb-git-8706dde5c0bd4bbc06948344ca2523ccb98fa3cd.tar.gz |
des_encrypt()/des_decrypt() work much better now
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 7bd587e44a9..96a2f30d5c7 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -228,8 +228,10 @@ 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 = 13; } + const char *func_name() const { return "des_encrypt"; } }; class Item_func_des_decrypt :public Item_str_func @@ -238,8 +240,10 @@ 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 = 13; } + const char *func_name() const { return "des_decrypt"; } }; class Item_func_encrypt :public Item_str_func |