~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/row/row0vers.c

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
                                /* The view already sees this version: we can
551
551
                                copy it to in_heap and return */
552
552
 
553
 
                                buf = static_cast<byte *>(mem_heap_alloc(in_heap,
554
 
                                                     rec_offs_size(*offsets)));
 
553
                                buf = mem_heap_alloc(in_heap,
 
554
                                                     rec_offs_size(*offsets));
555
555
                                *old_vers = rec_copy(buf, version, *offsets);
556
556
                                rec_offs_make_valid(*old_vers, index,
557
557
                                                    *offsets);
590
590
                        /* The view already sees this version: we can copy
591
591
                        it to in_heap and return */
592
592
 
593
 
                        buf = static_cast<byte *>(mem_heap_alloc(in_heap, rec_offs_size(*offsets)));
 
593
                        buf = mem_heap_alloc(in_heap, rec_offs_size(*offsets));
594
594
                        *old_vers = rec_copy(buf, prev_version, *offsets);
595
595
                        rec_offs_make_valid(*old_vers, index, *offsets);
596
596
                        err = DB_SUCCESS;
702
702
                                                           offset_heap);
703
703
                        }
704
704
 
705
 
                        buf = static_cast<byte *>(mem_heap_alloc(in_heap, rec_offs_size(*offsets)));
 
705
                        buf = mem_heap_alloc(in_heap, rec_offs_size(*offsets));
706
706
                        *old_vers = rec_copy(buf, version, *offsets);
707
707
                        rec_offs_make_valid(*old_vers, index, *offsets);
708
708
                        err = DB_SUCCESS;