List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:January 28 2011 11:27am
Subject:bzr commit into mysql-5.1-telco-7.0 branch (jonas:4153) Bug#59723
View as plain text  
#At file:///home/jonas/src/telco-7.0/ based on revid:jonas@stripped

 4153 Jonas Oreland	2011-01-28
      ndb - bug#59723 - ignore 711 in ndbEventOperation->execute()

    modified:
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp
=== modified file 'storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp'
--- a/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2011-01-10 11:22:17 +0000
+++ b/storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp	2011-01-28 11:27:55 +0000
@@ -595,10 +595,19 @@ NdbEventOperationImpl::execute_nolock()
     int res = myDict->beginSchemaTrans();
     if (res != 0)
     {
-      m_error.code= myDict->getNdbError().code;
-      DBUG_RETURN(-1);
+      switch(myDict->getNdbError().code){
+      case 711:
+        // ignore;
+        break;
+      default:
+        m_error.code= myDict->getNdbError().code;
+        DBUG_RETURN(-1);
+      }
+    }
+    else
+    {
+      schemaTrans = true;
     }
-    schemaTrans = true;
   }
 
   if (theFirstPkAttrs[0] == NULL && 


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20110128112755-8iiuck6ewd3krtgo.bundle
Thread
bzr commit into mysql-5.1-telco-7.0 branch (jonas:4153) Bug#59723Jonas Oreland28 Jan