TransactionalStorageEngine::doCommit(session, all) "all" isn't true - need to check session autocommit settings

Bug #682563 reported by Stewart Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Stewart Smith
7.0
Fix Released
Medium
Stewart Smith

Bug Description

int
InnobaseEngine::doCommit(
/*============*/
  Session* session, /*!< in: MySQL thread handle of the user for whom
      the transaction should be committed */
  bool all) /*!< in: TRUE - commit transaction
        FALSE - the current SQL statement ended */
{
.....

  if (all
    || (!session_test_options(session, OPTION_NOT_AUTOCOMMIT | OPTION_BEGIN))) {

instead of just being able to use the parameter.

Related branches

Stewart Smith (stewart)
Changed in drizzle:
status: Confirmed → In Progress
milestone: none → 2011-01-17
Stewart Smith (stewart)
Changed in drizzle:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.