~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_dictionary/show_table_status.cc

  • Committer: Andrew Hutchings
  • Date: 2011-02-04 12:54:01 UTC
  • mto: (2145.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: andrew@linuxjedi.co.uk-20110204125401-fommnpfuymvec4mx
Make SHOW TABLE STATUS show the an AUTO_INCREMENT value
Basic caveat documentation for SHOW CREATE TABLE and SHOW TABLE STATUS

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
  push(table->getCursor().tableSize());
184
184
 
185
185
  /* Auto_increment 10 */
186
 
  push(table->getCursor().getNextInsertId());
 
186
  table->in_use= &getSession();
 
187
  table->getCursor().info(HA_STATUS_AUTO);
 
188
  push(table->getCursor().getAutoIncrement());
 
189
  table->in_use= NULL;
187
190
}