~james-page/ubuntu/precise/mysql-5.5/misc-fixes

« back to all changes in this revision

Viewing changes to storage/innobase/row/row0row.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-11 07:34:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120611073433-l9za2ni4ipp848y3
Tags: 5.5.24-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.24 to fix security issues (LP: #1011371)
  - http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
#ifdef UNIV_BLOB_NULL_DEBUG
245
245
        if (rec_offs_any_null_extern(rec, offsets)) {
246
246
                /* This condition can occur during crash recovery
247
 
                before trx_rollback_active() has completed execution.
248
 
 
249
 
                This condition is possible if the server crashed
250
 
                during an insert or update-by-delete-and-insert before
251
 
                btr_store_big_rec_extern_fields() did mtr_commit() all
252
 
                BLOB pointers to the freshly inserted clustered index
253
 
                record. */
254
 
                ut_a(trx_assert_recovered(
255
 
                             row_get_rec_trx_id(rec, index, offsets)));
 
247
                before trx_rollback_active() has completed execution,
 
248
                or when a concurrently executing
 
249
                row_ins_index_entry_low() has committed the B-tree
 
250
                mini-transaction but has not yet managed to restore
 
251
                the cursor position for writing the big_rec. */
256
252
                ut_a(trx_undo_roll_ptr_is_insert(
257
253
                             row_get_rec_roll_ptr(rec, index, offsets)));
258
254
        }