List:Commits« Previous MessageNext Message »
From:Magnus Svensson Date:August 4 2008 5:29pm
Subject:bzr commit into mysql-5.1-telco-6.4 branch (msvensson:2692)
View as plain text  
#At file:///data/msvensson/mysql/6.4/

 2692 Magnus Svensson	2008-08-04
      Add missing ! to avoid that tables unintentionally are created without logging by test framework
modified:
  storage/ndb/test/src/NDBT_Test.cpp

=== modified file 'storage/ndb/test/src/NDBT_Test.cpp'
--- a/storage/ndb/test/src/NDBT_Test.cpp	2008-07-22 13:25:43 +0000
+++ b/storage/ndb/test/src/NDBT_Test.cpp	2008-08-04 17:29:07 +0000
@@ -1055,7 +1055,7 @@ NDBT_TestSuite::createTables(Ndb_cluster
             << pDict->getNdbError() << endl;
       return NDBT_FAILED;
     }
-    if(NDBT_Tables::createTable(&ndb, tab_name, getLogging()) != 0)
+    if(NDBT_Tables::createTable(&ndb, tab_name, !getLogging()) != 0)
     {
       g_err << "runCreateTables: Failed to create table " << tab_name
             << pDict->getNdbError() << endl;
@@ -1099,7 +1099,7 @@ runCreateTable(NDBT_Context* ctx, NDBT_S
   }
 
   if(NDBT_Tables::createTable(&ndb, tab_name,
-                              ctx->getSuite()->getLogging()) != 0)
+                              !ctx->getSuite()->getLogging()) != 0)
   {
     g_err << "runCreateTable: Failed to create table " << tab_name
           << pDict->getNdbError() << endl;

Thread
bzr commit into mysql-5.1-telco-6.4 branch (msvensson:2692) Magnus Svensson4 Aug