Merge 10.0 into 10.1

This commit is contained in:
Marko Mäkelä 2017-12-18 20:05:50 +02:00
commit 09c5bbf471
13 changed files with 147 additions and 213 deletions

View file

@ -8297,7 +8297,7 @@ no_commit:
table->next_number_field);
/* Get the value that MySQL attempted to store in the table.*/
auto_inc = table->next_number_field->val_int();
auto_inc = table->next_number_field->val_uint();
switch (error) {
case DB_DUPLICATE_KEY:
@ -8891,7 +8891,7 @@ ha_innobase::update_row(
ulonglong auto_inc;
ulonglong col_max_value;
auto_inc = table->next_number_field->val_int();
auto_inc = table->next_number_field->val_uint();
/* We need the upper limit of the col type to check for
whether we update the table autoinc counter or not. */