~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/row/row0ins.cc

  • Committer: Monty Taylor
  • Date: 2010-12-26 23:42:28 UTC
  • mto: This revision was merged to the branch mainline in revision 2038.
  • Revision ID: mordred@inaugust.com-20101226234228-80mnll8m2jhsc3pu
Wow. Got rid of most of INNOBASE_SKIP_WARNINGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2110
2110
        mtr_commit(&mtr);
2111
2111
 
2112
2112
        if (UNIV_LIKELY_NULL(big_rec)) {
2113
 
                rec_t*  rec;
 
2113
                rec_t*  exit_rec;
2114
2114
                ulint*  offsets;
2115
2115
                mtr_start(&mtr);
2116
2116
 
2117
2117
                btr_cur_search_to_nth_level(index, 0, entry, PAGE_CUR_LE,
2118
2118
                                            BTR_MODIFY_TREE, &cursor, 0,
2119
2119
                                            __FILE__, __LINE__, &mtr);
2120
 
                rec = btr_cur_get_rec(&cursor);
2121
 
                offsets = rec_get_offsets(rec, index, NULL,
 
2120
                exit_rec = btr_cur_get_rec(&cursor);
 
2121
                offsets = rec_get_offsets(exit_rec, index, NULL,
2122
2122
                                          ULINT_UNDEFINED, &heap);
2123
2123
 
2124
2124
                err = btr_store_big_rec_extern_fields(
2125
2125
                        index, btr_cur_get_block(&cursor),
2126
 
                        rec, offsets, big_rec, &mtr);
 
2126
                        exit_rec, offsets, big_rec, &mtr);
2127
2127
 
2128
2128
                if (modify) {
2129
2129
                        dtuple_big_rec_free(big_rec);