~mordred/drizzle/add-constraints-to-kernel-sysvars

« back to all changes in this revision

Viewing changes to drizzled/sql_update.cc

  • Committer: Lee Bieber
  • Date: 2010-12-09 19:40:05 UTC
  • mfrom: (1991.1.2 build)
  • Revision ID: kalebral@gmail.com-20101209194005-hpxailmc9afmvelh
Remove disabling of drizzleslap test
Merge Shrews - fix bug 683147: Large row affecting statements failing mid-transaction may not get undone properly by TransactionServices if part of multi-message Transaction

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
 
468
468
      table->storeRecord();
469
469
      if (fill_record(session, fields, values))
470
 
      {
471
 
        /*
472
 
         * If we updated some rows before this one failed (updated > 0),
473
 
         * then we will need to undo adding those records to the
474
 
         * replication Statement message.
475
 
         */
476
 
        if (updated > 0)
477
 
        {
478
 
          TransactionServices &ts= TransactionServices::singleton();
479
 
          ts.removeStatementRecords(session, updated);
480
 
        }
481
 
 
482
470
        break;
483
 
      }
484
471
 
485
472
      found++;
486
473