[Commits] Rev 3378: In statistics.test: in file:///home/igor/maria/maria-5.3-mwl248/

Igor Babaev igor at askmonty.org
Thu Jan 5 04:32:21 EET 2012


At file:///home/igor/maria/maria-5.3-mwl248/

------------------------------------------------------------
revno: 3378
revision-id: igor at askmonty.org-20120105023221-zdb7ka0ub2488fbn
parent: igor at askmonty.org-20120105015153-nmgz9hog9nwi060p
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3-mwl248
timestamp: Wed 2012-01-04 18:32:21 -0800
message:
  In statistics.test:
  Saved at the very beginning and restored at the very end
  the value of optimizer_use_stat_tables.
-------------- next part --------------
=== modified file 'mysql-test/r/statistics.result'
--- a/mysql-test/r/statistics.result	2012-01-05 01:51:53 +0000
+++ b/mysql-test/r/statistics.result	2012-01-05 02:32:21 +0000
@@ -1,4 +1,5 @@
 drop table if exists t1,t2;
+set @save_optimizer_use_stat_tables=@@optimizer_use_stat_tables;
 CREATE VIEW table_stat AS
 SELECT * FROM mysql.table_stat;
 CREATE VIEW column_stat AS
@@ -453,3 +454,4 @@
 DROP VIEW test.table_stat;
 DROP VIEW test.column_stat;
 DROP VIEW test.index_stat;
+set optimizer_use_stat_tables=@save_optimizer_use_stat_tables;

=== modified file 'mysql-test/t/statistics.test'
--- a/mysql-test/t/statistics.test	2012-01-05 01:51:53 +0000
+++ b/mysql-test/t/statistics.test	2012-01-05 02:32:21 +0000
@@ -3,6 +3,8 @@
 drop table if exists t1,t2;
 --enable_warnings
 
+set @save_optimizer_use_stat_tables=@@optimizer_use_stat_tables;
+
 CREATE VIEW table_stat AS
 SELECT * FROM mysql.table_stat;
  
@@ -286,5 +288,6 @@
 DROP VIEW test.column_stat;
 DROP VIEW test.index_stat;
 
-   
+set optimizer_use_stat_tables=@save_optimizer_use_stat_tables;
+
     
\ No newline at end of file



More information about the commits mailing list