List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:September 12 2012 1:33pm
Subject:bzr push into mysql-5.1-telco-7.0-coord branch (jonas.oreland:4962 to 4963)
View as plain text  
 4963 Jonas Oreland	2012-09-12
      add missing file

    added:
      storage/ndb/src/common/debugger/signaldata/TcCommit.cpp
 4962 Jonas Oreland	2012-09-12
      commit for Club

    added:
      mysql-test/suite/ndb/r/ndb_coord.result
      mysql-test/suite/ndb/r/ndb_coord2.result
      mysql-test/suite/ndb/r/ndb_coord3.result
      mysql-test/suite/ndb/r/ndb_coord4.result
      mysql-test/suite/ndb/r/ndb_coord_commit_rollback.result
      mysql-test/suite/ndb/r/ndb_coord_err.result
      mysql-test/suite/ndb/t/ndb_coord.test
      mysql-test/suite/ndb/t/ndb_coord2.test
      mysql-test/suite/ndb/t/ndb_coord3.test
      mysql-test/suite/ndb/t/ndb_coord4.test
      mysql-test/suite/ndb/t/ndb_coord_commit_rollback.test
      mysql-test/suite/ndb/t/ndb_coord_err.test
    modified:
      mysql-test/suite/ndb/r/ndb_basic.result
      mysql-test/suite/ndb/r/ndbinfo.result
      mysql-test/suite/ndb/t/ndbinfo.test
      sql/ha_ndbcluster.cc
      sql/ha_ndbcluster.h
      storage/ndb/include/kernel/signaldata/ScanTab.hpp
      storage/ndb/include/kernel/signaldata/SignalData.hpp
      storage/ndb/include/kernel/signaldata/TcCommit.hpp
      storage/ndb/include/kernel/signaldata/TcKeyConf.hpp
      storage/ndb/include/kernel/signaldata/TcKeyReq.hpp
      storage/ndb/include/kernel/signaldata/TcRollbackRep.hpp
      storage/ndb/include/ndb_version.h.in
      storage/ndb/include/ndbapi/Ndb.hpp
      storage/ndb/include/ndbapi/NdbScanOperation.hpp
      storage/ndb/include/ndbapi/NdbTransaction.hpp
      storage/ndb/include/ndbapi/ndbapi_limits.h
      storage/ndb/src/common/debugger/signaldata/Makefile.am
      storage/ndb/src/common/debugger/signaldata/ScanTab.cpp
      storage/ndb/src/common/debugger/signaldata/SignalDataPrint.cpp
      storage/ndb/src/common/debugger/signaldata/TcKeyConf.cpp
      storage/ndb/src/common/debugger/signaldata/TcKeyReq.cpp
      storage/ndb/src/common/debugger/signaldata/TcRollbackRep.cpp
      storage/ndb/src/kernel/blocks/dbtc/Dbtc.hpp
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
      storage/ndb/src/ndbapi/Ndb.cpp
      storage/ndb/src/ndbapi/NdbApiSignal.cpp
      storage/ndb/src/ndbapi/NdbOperationExec.cpp
      storage/ndb/src/ndbapi/NdbScanOperation.cpp
      storage/ndb/src/ndbapi/NdbTransaction.cpp
      storage/ndb/src/ndbapi/Ndberr.cpp
      storage/ndb/src/ndbapi/ndberror.c
      storage/ndb/test/ndbapi/Makefile.am
      storage/ndb/test/ndbapi/testBasic.cpp
      storage/ndb/test/ndbapi/testNdbApi.cpp
      storage/ndb/test/ndbapi/testScan.cpp
      storage/ndb/test/run-test/daily-basic-tests.txt
=== added file 'storage/ndb/src/common/debugger/signaldata/TcCommit.cpp'
--- a/storage/ndb/src/common/debugger/signaldata/TcCommit.cpp	1970-01-01 00:00:00 +0000
+++ b/storage/ndb/src/common/debugger/signaldata/TcCommit.cpp	2012-09-12 13:32:35 +0000
@@ -0,0 +1,42 @@
+/*
+   Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 of the License.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
+*/
+
+#include <signaldata/TcCommit.hpp>
+
+bool
+printTC_COMMITREQ(FILE * output, const Uint32 * theData, Uint32 len,
+                   Uint16 receiverBlockNo)
+{
+  const TcCommitReq * sig = CAST_CONSTPTR(TcCommitReq, theData);
+  fprintf(output, " apiConnectPtr: H\'%.8x transId(1, 2): (H\'%.8x, H\'%.8x)\n",
+	  sig->apiConnectPtr, sig->transId1, sig->transId2);
+
+  if (len == TcCommitReq::SignalLength)
+  {
+    fprintf(output, " Flags:");
+    Uint32 flags = sig->flags;
+    if (flags & TcCommitReq::COMMIT_OR_LEAVE)
+      fprintf(output, " OrLeave");
+    fprintf(output, "\n");
+
+    return true;
+  }
+
+
+
+  return false;
+}

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-7.0-coord branch (jonas.oreland:4962 to 4963) Jonas Oreland13 Sep