-
Committer:
Jay Pipes
-
Date:
2010-03-10 22:47:03 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1336.
-
Revision ID:
jpipes@serialcoder-20100310224703-8v61ieb9wt3t08k7
Manually issue a call to TransactionStorageEngine::startTransaction() inside
TransactionServices::registerResourceForTransaction(). An assert() in the InnoDB
handler was being hit because although startStatement() was properly being
called for an UPDATE ... LIMIT 0, startTransaction() was not called, and because
external_lock() bailed out without committing the transaction, an
assert(conc_state ! TRX_NOT_STARTED) was being hit when a SAVEPOINT A statement
expected the transaction to have been started...