~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2011-01-05 16:29:27 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20110105162927-fi2gnmlz35qcagik
Add additional gperf for non-reserved SQL keywords.

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;