~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.cc

  • Committer: Monty Taylor
  • Date: 2010-06-03 20:05:15 UTC
  • Revision ID: mordred@inaugust.com-20100603200515-b93k33wb6apxe21b
Fixed solaris build issue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4210
4210
      table->found_next_number_field);
4211
4211
 
4212
4212
    uint64_t current_autoinc;
4213
 
    ulint error= innobase_get_autoinc(&current_autoinc);
4214
 
    if (error == DB_SUCCESS
 
4213
    ulint autoinc_error= innobase_get_autoinc(&current_autoinc);
 
4214
    if (autoinc_error == DB_SUCCESS
4215
4215
        && auto_inc <= col_max_value && auto_inc != 0
4216
4216
        && auto_inc >= current_autoinc)
4217
4217
    {