#At file:///home/marty/MySQL/mysql-5.1-telco-6.2/
2811 Martin Skold 2009-02-04
Bug#39268 No transaction hints used to update SYSTAB_0 for
autoincrement and PK-less table: Using table id as hint when starting
transaction
modified:
storage/ndb/src/ndbapi/Ndb.cpp
=== modified file 'storage/ndb/src/ndbapi/Ndb.cpp'
--- a/storage/ndb/src/ndbapi/Ndb.cpp 2008-10-24 11:00:37 +0000
+++ b/storage/ndb/src/ndbapi/Ndb.cpp 2009-02-04 13:53:40 +0000
@@ -1408,7 +1408,10 @@ Ndb::opTupleIdOnNdb(const NdbTableImpl*
if (initAutoIncrement() == -1)
goto error_handler;
- tConnection = this->startTransaction();
+ // Start transaction with table id as hint
+ tConnection = this->startTransaction(table,
+ (const char *) &aTableId,
+ sizeof(Uint32));
if (tConnection == NULL)
goto error_handler;
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-6.2 branch (martin.skold:2811) | Martin Skold | 4 Feb |