mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -31,3 +31,16 @@ drop table t1;
|
||||
explain select 1;
|
||||
Comment
|
||||
No tables used
|
||||
create table t1 (a int not null);
|
||||
explain select count(*) from t1;
|
||||
Comment
|
||||
Select tables optimized away
|
||||
insert into t1 values(1);
|
||||
explain select count(*) from t1;
|
||||
Comment
|
||||
Select tables optimized away
|
||||
insert into t1 values(1);
|
||||
explain select count(*) from t1;
|
||||
Comment
|
||||
Select tables optimized away
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user