mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge 10.5 into 10.6
This commit is contained in:
commit
466069b184
32 changed files with 1075 additions and 197 deletions
|
|
@ -1458,11 +1458,6 @@ struct ha_innobase_inplace_ctx : public inplace_alter_handler_ctx
|
|||
}
|
||||
};
|
||||
|
||||
/********************************************************************//**
|
||||
Get the upper limit of the MySQL integral and floating-point type.
|
||||
@return maximum allowed value for the field */
|
||||
ulonglong innobase_get_int_col_max_value(const Field *field);
|
||||
|
||||
/** Determine if fulltext indexes exist in a given table.
|
||||
@param table MySQL table
|
||||
@return number of fulltext indexes */
|
||||
|
|
@ -9844,13 +9839,7 @@ commit_set_autoinc(
|
|||
const dict_col_t* autoinc_col
|
||||
= dict_table_get_nth_col(ctx->old_table,
|
||||
innodb_col_no(ai));
|
||||
dict_index_t* index
|
||||
= dict_table_get_first_index(ctx->old_table);
|
||||
while (index != NULL
|
||||
&& index->fields[0].col != autoinc_col) {
|
||||
index = dict_table_get_next_index(index);
|
||||
}
|
||||
|
||||
auto index = ctx->old_table->get_index(*autoinc_col);
|
||||
ut_ad(index);
|
||||
|
||||
ib_uint64_t max_in_table = index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue