List:Commits« Previous MessageNext Message »
From:msvensson Date:December 4 2007 3:44pm
Subject:bk commit into 5.1 tree (msvensson:1.2531)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-04 16:44:42+01:00, msvensson@stripped +1 -0
  Update check for exampledb for 5.1 

  mysql-test/t/exampledb.test@stripped, 2007-12-04 16:44:40+01:00, msvensson@stripped +3 -6
    Update check for exampledb for 5.1 

diff -Nrup a/mysql-test/t/exampledb.test b/mysql-test/t/exampledb.test
--- a/mysql-test/t/exampledb.test	2007-12-04 16:36:48 +01:00
+++ b/mysql-test/t/exampledb.test	2007-12-04 16:44:40 +01:00
@@ -4,16 +4,13 @@
 #
 
 let $have_example=
-    query_get_value(show variables like "have_example_engine", Value, 1);
-if (`select '$have_example' != 'YES'`){
+ `select (support = 'YES' or support = 'DEFAULT')
+    from information_schema.engines where engine = 'example'`;
+if (!$have_example){
   skip Need example engine;
 }
 
 --disable_warnings
-# Clean up if event's test fails
-drop database if exists events_test;
-drop database if exists events_test2;
-
 drop table if exists t1;
 --enable_warnings
 
Thread
bk commit into 5.1 tree (msvensson:1.2531)msvensson4 Dec