Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c471bfb3
Commit
c471bfb3
authored
Sep 18, 2019
by
Varun Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a test to reset to original state
parent
fb3e3a6a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
mysql-test/r/stat_tables.result
mysql-test/r/stat_tables.result
+2
-1
mysql-test/r/stat_tables_innodb.result
mysql-test/r/stat_tables_innodb.result
+2
-1
mysql-test/t/stat_tables.test
mysql-test/t/stat_tables.test
+3
-2
No files found.
mysql-test/r/stat_tables.result
View file @
c471bfb3
...
...
@@ -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;
mysql-test/r/stat_tables_innodb.result
View file @
c471bfb3
...
...
@@ -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;
mysql-test/t/stat_tables.test
View file @
c471bfb3
...
...
@@ -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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment