There are some operations that may increase the value of last_table_id, such as create table , flush tables or frequent add/remove table_share from table_def_cache if the value of table_definition_cache is not big enough.
After longtime running , last_table_id would become extremely large. if last_table_id is larger than 2^32 (max value of uint), this bug will be triggered.
There are some operations that may increase the value of last_table_id, such as create table , flush tables or frequent add/remove table_share from table_def_cache if the value of table_definitio n_cache is not big enough.
After longtime running , last_table_id would become extremely large. if last_table_id is larger than 2^32 (max value of uint), this bug will be triggered.