diff options
author | unknown <kostja@oak.local> | 2003-09-03 14:12:10 +0400 |
---|---|---|
committer | unknown <kostja@oak.local> | 2003-09-03 14:12:10 +0400 |
commit | 49b0312dd7afe5a60a9d6aa22daff79bf50f0a84 (patch) | |
tree | 4aa3e74d29fde5abc55c20c2c14e6c286e467c6e /mysql-test/r/func_crypt.result | |
parent | 651898adfce345138363961769c6fdfd6da95532 (diff) | |
parent | 0188e158c1d29057cb8a449891894c69dd2f5f2b (diff) | |
download | mariadb-git-49b0312dd7afe5a60a9d6aa22daff79bf50f0a84.tar.gz |
merge commit, hope that none of bar and dlenev changes were
lost.
BitKeeper/etc/logging_ok:
auto-union
include/mysql.h:
Auto merged
include/mysql_com.h:
Auto merged
libmysql/libmysql.c:
Auto merged
scripts/mysql_fix_privilege_tables.sql:
Auto merged
sql/item_create.cc:
Auto merged
sql/item_create.h:
Auto merged
sql/item_strfunc.cc:
Auto merged
sql/item_strfunc.h:
Auto merged
sql/lex.h:
Auto merged
sql/mysqld.cc:
Auto merged
sql/protocol.h:
Auto merged
sql/set_var.cc:
Auto merged
sql/sql_acl.h:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
include/mysqld_error.h:
merge commit: new error message added
sql-common/client.c:
merge commit
sql/mysql_priv.h:
merge commit: autoremerge
sql/set_var.h:
merge commit
sql/share/czech/errmsg.txt:
merge commit
sql/share/danish/errmsg.txt:
merge commit
sql/share/dutch/errmsg.txt:
merge commit
sql/share/english/errmsg.txt:
merge commit
sql/share/estonian/errmsg.txt:
merge commit
sql/share/french/errmsg.txt:
merge commit
sql/share/german/errmsg.txt:
merge commit
sql/share/greek/errmsg.txt:
merge commit
sql/share/hungarian/errmsg.txt:
merge commit
sql/share/italian/errmsg.txt:
merge commit
sql/share/japanese/errmsg.txt:
merge commit
sql/share/korean/errmsg.txt:
merge commit
sql/share/norwegian-ny/errmsg.txt:
merge commit
sql/share/norwegian/errmsg.txt:
merge commit
sql/share/polish/errmsg.txt:
merge commit
sql/share/portuguese/errmsg.txt:
merge commit
sql/share/romanian/errmsg.txt:
merge commit
sql/share/russian/errmsg.txt:
merge commit
sql/share/serbian/errmsg.txt:
merge commit
sql/share/slovak/errmsg.txt:
merge commit
sql/share/spanish/errmsg.txt:
merge commit
sql/share/swedish/errmsg.txt:
merge commit
sql/share/ukrainian/errmsg.txt:
merge commit
sql/slave.cc:
merge commit
sql/slave.h:
merge commit
sql/sql_acl.cc:
merge commit
sql/sql_parse.cc:
merge commit
sql/sql_repl.h:
merge commit
Diffstat (limited to 'mysql-test/r/func_crypt.result')
-rw-r--r-- | mysql-test/r/func_crypt.result | 88 |
1 files changed, 76 insertions, 12 deletions
diff --git a/mysql-test/r/func_crypt.result b/mysql-test/r/func_crypt.result index 461ae1e7e09..bd4c6d41d39 100644 --- a/mysql-test/r/func_crypt.result +++ b/mysql-test/r/func_crypt.result @@ -1,15 +1,79 @@ select length(encrypt('foo', 'ff')) <> 0; length(encrypt('foo', 'ff')) <> 0 1 -select password("a",""), password("a",NULL), password("","a"), password(NULL,"a"); -password("a","") password("a",NULL) password("","a") password(NULL,"a") -*2517f7235d68d4ba2e5019c93420523101157a792c01 NULL NULL -select password("aaaaaaaaaaaaaaaa","a"), password("a","aaaaaaaaaaaaaaaa"); -password("aaaaaaaaaaaaaaaa","a") password("a","aaaaaaaaaaaaaaaa") -*2cd3b9a44e9a9994789a30f935c92f45a96c5472f381 *37c7c5c794ff144819f2531bf03c57772cd84e40db09 -select old_password('test'), length(password("1")), length(encrypt('test')), encrypt('test','aa'); -old_password('test') length(password("1")) length(encrypt('test')) encrypt('test','aa') -378b243e220ca493 45 13 aaqPiZY5xR5l. -select old_password(""), old_password(NULL), password(""), password(NULL); -old_password("") old_password(NULL) password("") password(NULL) - NULL NULL +select password('abc'); +password('abc') +*0d3ced9bec10a777aec23ccc353a8c08a633045e +select password(''); +password('') + +select old_password('abc'); +old_password('abc') +7cd2b5942be28759 +select old_password(''); +old_password('') + +select password('gabbagabbahey'); +password('gabbagabbahey') +*b0f99d2963660dd7e16b751ec9ee2f17b6a68fa6 +select old_password('idkfa'); +old_password('idkfa') +5c078dc54ca0fcca +select length(password('1')); +length(password('1')) +41 +select length(encrypt('test')); +length(encrypt('test')) +13 +select encrypt('test','aa'); +encrypt('test','aa') +aaqPiZY5xR5l. +select old_password(NULL); +old_password(NULL) +NULL +select password(NULL); +password(NULL) +NULL +set global old_passwords=on; +select password(''); +password('') + +select old_password(''); +old_password('') + +select password('idkfa'); +password('idkfa') +*b669c9dac3aa6f2254b03cdef8dfdd6b2d1054ba +select old_password('idkfa'); +old_password('idkfa') +5c078dc54ca0fcca +set old_passwords=on; +select password('idkfa'); +password('idkfa') +5c078dc54ca0fcca +select old_password('idkfa'); +old_password('idkfa') +5c078dc54ca0fcca +set global old_passwords=off; +select password('idkfa'); +password('idkfa') +5c078dc54ca0fcca +select old_password('idkfa'); +old_password('idkfa') +5c078dc54ca0fcca +set old_passwords=off; +select password('idkfa '); +password('idkfa ') +*2dc31d90647b4c1abc9231563d2236e96c9a2db2 +select password('idkfa'); +password('idkfa') +*b669c9dac3aa6f2254b03cdef8dfdd6b2d1054ba +select password(' idkfa'); +password(' idkfa') +*12b099e56bb7fe8d43c78fd834a9d1d11178d045 +select old_password('idkfa'); +old_password('idkfa') +5c078dc54ca0fcca +select old_password(' i d k f a '); +old_password(' i d k f a ') +5c078dc54ca0fcca |