~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/ha_archive.cc

  • Committer: Brian Aker
  • Date: 2010-12-16 04:01:22 UTC
  • mfrom: (1996.2.1 compare)
  • Revision ID: brian@tangent.org-20101216040122-eodh5shwsij35ybe
Merge in uuid tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1031
1031
          field->setReadSet();
1032
1032
 
1033
1033
          uint64_t auto_value=
1034
 
            (uint64_t) field->val_int(getTable()->getInsertRecord() +
1035
 
                                       field->offset(getTable()->getInsertRecord()));
 
1034
            (uint64_t) field->val_int_internal(getTable()->getInsertRecord() +
 
1035
                                               field->offset(getTable()->getInsertRecord()));
1036
1036
          if (share->archive_write.auto_increment < auto_value)
1037
1037
            stats.auto_increment_value=
1038
1038
              (share->archive_write.auto_increment= auto_value) + 1;