mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
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
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
select length(encrypt('foo', 'ff')) <> 0;
|
||||
length(encrypt('foo', 'ff')) <> 0
|
||||
1
|
||||
select password('test'),length(encrypt('test')),encrypt('test','aa');
|
||||
password('test') length(encrypt('test')) encrypt('test','aa')
|
||||
378b243e220ca493 13 aaqPiZY5xR5l.
|
||||
select old_password('test'), password('test');
|
||||
old_password('test') password('test')
|
||||
378b243e220ca493 378b243e220ca493
|
||||
select length(encrypt('test')), encrypt('test','aa');
|
||||
length(encrypt('test')) encrypt('test','aa')
|
||||
13 aaqPiZY5xR5l.
|
||||
|
||||
Reference in New Issue
Block a user