Commit 5330e151 authored by marko's avatar marko

ha_innobase::get_auto_increment(): Add a comment that was accidentally

removed in r2137, when merging a change from MySQL AB.
parent ee2625ac
......@@ -7350,6 +7350,11 @@ ha_innobase::get_auto_increment(
trx = prebuilt->trx;
/* Note: We can't rely on *first_value since some MySQL engines,
in particular the partition engine, don't initialize it to 0 when
invoking this method. So we are not sure if it's guaranteed to
be 0 or not. */
/* Called for the first time ? */
if (trx->n_autoinc_rows == 0) {
......
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