~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_insert.cc

Merge replication-pairs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1325
1325
  {
1326
1326
    /*
1327
1327
      We must invalidate the table in the query cache before binlog writing
1328
 
      and ha_autocommit_or_rollback.
 
1328
      and autocommitOrRollback.
1329
1329
    */
1330
1330
    if (session->transaction.stmt.hasModifiedNonTransData())
1331
1331
      session->transaction.all.markModifiedNonTransData();
1711
1711
    if (!table->s->tmp_table)
1712
1712
    {
1713
1713
      TransactionServices &transaction_services= TransactionServices::singleton();
1714
 
      transaction_services.ha_autocommit_or_rollback(session, 0);
 
1714
      transaction_services.autocommitOrRollback(session, 0);
1715
1715
      (void) session->endActiveTransaction();
1716
1716
    }
1717
1717