List:Commits« Previous MessageNext Message »
From:magnus.blaudd Date:June 9 2011 12:28pm
Subject:bzr push into mysql-trunk-cluster branch (magnus.blaudd:3322 to 3323)
View as plain text  
 3323 magnus.blaudd@stripped	2011-06-09 [merge]
      Merge 5.5-cluster -> trunk-cluster

    modified:
      client/mysqltest.cc
 3322 magnus.blaudd@stripped	2011-06-08
      ndb
       - update .result file for new error meesage of 'Unknown table' which now
         also includes database name

    modified:
      mysql-test/suite/ndb/r/ndb_multi_row.result
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2011-06-08 13:34:57 +0000
+++ b/client/mysqltest.cc	2011-06-09 09:09:10 +0000
@@ -4201,10 +4201,11 @@ int do_save_master_pos()
     done on the local mysql server
   */
   {
-    ulong have_ndbcluster;
-    if (mysql_query(mysql, query= "select support "
-                                  "from information_schema.engines "
-                                  "where engine='ndbcluster'"))
+    bool have_ndbcluster;
+    if (mysql_query(mysql, query=
+                    "select count(*) from information_schema.engines"
+                    "  where engine = 'ndbcluster' and"
+                    "        support in ('YES', 'DEFAULT')"))
       die("'%s' failed: %d %s", query,
           mysql_errno(mysql), mysql_error(mysql));
     if (!(res= mysql_store_result(mysql)))
@@ -4212,7 +4213,7 @@ int do_save_master_pos()
     if (!(row= mysql_fetch_row(res)))
       die("Query '%s' returned empty result", query);
 
-    have_ndbcluster= strcmp("YES", row[0]) == 0;
+    have_ndbcluster= strcmp(row[0], "1") == 0;
     mysql_free_result(res);
 
     if (have_ndbcluster)

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk-cluster branch (magnus.blaudd:3322 to 3323) magnus.blaudd9 Jun