From 8706dde5c0bd4bbc06948344ca2523ccb98fa3cd Mon Sep 17 00:00:00 2001 From: "tonu@volk.internalnet" <> Date: Fri, 9 Nov 2001 07:49:57 +0200 Subject: des_encrypt()/des_decrypt() work much better now --- sql/item_strfunc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/item_strfunc.h') 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 -- cgit v1.2.1