mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixing a test to reset to original state
This commit is contained in:
@ -797,9 +797,10 @@ col1
|
||||
2004-01-01
|
||||
2004-02-29
|
||||
0000-10-31
|
||||
drop table t1;
|
||||
set @@sql_mode= @save_sql_mode;
|
||||
set use_stat_tables=@save_use_stat_tables;
|
||||
set @@histogram_size= @save_histogram_size;
|
||||
set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
||||
drop table t1;
|
||||
# please keep this at the last
|
||||
set @@global.histogram_size=@save_histogram_size;
|
||||
|
@ -824,11 +824,12 @@ col1
|
||||
2004-01-01
|
||||
2004-02-29
|
||||
0000-10-31
|
||||
drop table t1;
|
||||
set @@sql_mode= @save_sql_mode;
|
||||
set use_stat_tables=@save_use_stat_tables;
|
||||
set @@histogram_size= @save_histogram_size;
|
||||
set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
||||
drop table t1;
|
||||
# please keep this at the last
|
||||
set @@global.histogram_size=@save_histogram_size;
|
||||
set optimizer_switch=@save_optimizer_switch_for_stat_tables_test;
|
||||
SET SESSION STORAGE_ENGINE=DEFAULT;
|
||||
|
@ -540,10 +540,11 @@ analyze table t1;
|
||||
update mysql.column_stats set min_value='2004-0-31123' where db_name='test' and table_name='t1';
|
||||
select min_value from mysql.column_stats where db_name='test' and table_name='t1';
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
set @@sql_mode= @save_sql_mode;
|
||||
set use_stat_tables=@save_use_stat_tables;
|
||||
set @@histogram_size= @save_histogram_size;
|
||||
set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
|
||||
drop table t1;
|
||||
|
||||
--echo # please keep this at the last
|
||||
set @@global.histogram_size=@save_histogram_size;
|
||||
|
Reference in New Issue
Block a user