diff options
author | unknown <peter@mysql.com> | 2002-10-03 22:48:53 +0400 |
---|---|---|
committer | unknown <peter@mysql.com> | 2002-10-03 22:48:53 +0400 |
commit | 748191fd807d6f380b48b9331a8d8cf333d2bb45 (patch) | |
tree | b9522531a456b10dced6edbc21b35f15c338869c /sql/item_strfunc.h | |
parent | e607221a3cd778131cc9250108473819c9b8c8a0 (diff) | |
parent | a370f86622f98fa33e7085878522ff181e7effba (diff) | |
download | mariadb-git-748191fd807d6f380b48b9331a8d8cf333d2bb45.tar.gz |
Merge mysql.com:/home/pz/mysql/mysql-4.1-root
into mysql.com:/home/pz/mysql/mysql-4.1
BitKeeper/etc/logging_ok:
auto-union
sql/item_strfunc.cc:
Auto merged
sql/item_strfunc.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index b98be7829fb..d416f09d458 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -243,11 +243,11 @@ public: class Item_func_password :public Item_str_func { - char tmp_value[17]; + char tmp_value[64]; /* This should be enough for new password format */ public: Item_func_password(Item *a) :Item_str_func(a) {} String *val_str(String *); - void fix_length_and_dec() { max_length = 16; } + void fix_length_and_dec() { max_length = get_password_length(); } const char *func_name() const { return "password"; } }; |