summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_crypt.test
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-07 17:57:07 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-07 17:57:07 +0200
commit5db7246f78d62f07433b3e623e20002536ff20b2 (patch)
tree47bb4c4c761190424e909ac9f98674ad71c80b6d /mysql-test/t/func_crypt.test
parentf06b0d9f3cfeaee8098db22eeecf41f6c072c479 (diff)
downloadmariadb-git-5db7246f78d62f07433b3e623e20002536ff20b2.tar.gz
Fix problem in MIN/MAX optimisation (from last patch)
Don't make OLD_PASSWORD() a reserved word mysql-test/r/explain.result: Test select count(*) mysql-test/r/func_crypt.result: Test old_password() mysql-test/t/explain.test: Test select count(*) mysql-test/t/func_crypt.test: Test old_password() sql/item_create.cc: Don't make OLD_PASSWORD() a reserved word sql/item_create.h: Don't make OLD_PASSWORD() a reserved word sql/lex.h: Don't make OLD_PASSWORD() a reserved word sql/opt_range.cc: Remove blank space sql/opt_sum.cc: Fix problem in MIN/MAX optimisation
Diffstat (limited to 'mysql-test/t/func_crypt.test')
-rw-r--r--mysql-test/t/func_crypt.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/func_crypt.test b/mysql-test/t/func_crypt.test
index 55c0d6d3b9d..f403d96e885 100644
--- a/mysql-test/t/func_crypt.test
+++ b/mysql-test/t/func_crypt.test
@@ -2,4 +2,5 @@
select length(encrypt('foo', 'ff')) <> 0;
--replace_result $1$aa$4OSUA5cjdx0RUQ08opV27/ aaqPiZY5xR5l.
-select password('test'),length(encrypt('test')),encrypt('test','aa');
+select old_password('test'), password('test');
+select length(encrypt('test')), encrypt('test','aa');