From 52d76c5fa23f839e2155714f34b4839d66b0c406 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 24 Jun 2005 00:24:11 +0300 Subject: fixed encrypt() print (BUG#7024) mysql-test/r/view.result: using encrypt & substring_index in view mysql-test/t/view.test: using encrypt & substring_index in view sql/item_strfunc.h: fixed encrypt() print --- sql/item_strfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/item_strfunc.h') diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 8d2eb269915..c4beb3b08cb 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -322,7 +322,7 @@ public: Item_func_encrypt(Item *a, Item *b): Item_str_func(a,b) {} String *val_str(String *); void fix_length_and_dec() { maybe_null=1; max_length = 13; } - const char *func_name() const { return "ecrypt"; } + const char *func_name() const { return "encrypt"; } }; #include "sql_crypt.h" -- cgit v1.2.1