mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02: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:
parent
f06b0d9f3c
commit
5db7246f78
9 changed files with 45 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue