Commit c7ae9cc9 authored by marko's avatar marko

branches/zip: ha_innodb.cc: Clean up some comments.

parent e986fb2c
...@@ -5111,8 +5111,8 @@ ha_innobase::change_active_index( ...@@ -5111,8 +5111,8 @@ ha_innobase::change_active_index(
/************************************************************************** /**************************************************************************
Positions an index cursor to the index specified in keynr. Fetches the Positions an index cursor to the index specified in keynr. Fetches the
row if any. */ row if any.
/* ??? This is only used to read whole keys ??? */ ??? This is only used to read whole keys ??? */
UNIV_INTERN UNIV_INTERN
int int
ha_innobase::index_read_idx( ha_innobase::index_read_idx(
...@@ -8636,11 +8636,16 @@ ha_innobase::get_auto_increment( ...@@ -8636,11 +8636,16 @@ ha_innobase::get_auto_increment(
dict_table_autoinc_unlock(prebuilt->table); dict_table_autoinc_unlock(prebuilt->table);
} }
/* See comment in handler.h */ /***********************************************************************
Reset the auto-increment counter to the given value, i.e. the next row
inserted will get the given value. This is called e.g. after TRUNCATE
is emulated by doing a 'DELETE FROM t'. HA_ERR_WRONG_COMMAND is
returned by storage engines that don't support this operation. */
UNIV_INTERN UNIV_INTERN
int int
ha_innobase::reset_auto_increment( ha_innobase::reset_auto_increment(
/*==============================*/ /*==============================*/
/* out: 0 or error code */
ulonglong value) /* in: new value for table autoinc */ ulonglong value) /* in: new value for table autoinc */
{ {
DBUG_ENTER("ha_innobase::reset_auto_increment"); DBUG_ENTER("ha_innobase::reset_auto_increment");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment