mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bzr merge -rtag:mariadb-5.5.40 maria/5.5
This commit is contained in:
@ -2890,15 +2890,10 @@ void handler::get_auto_increment(ulonglong offset, ulonglong increment,
|
||||
if (error)
|
||||
{
|
||||
if (error == HA_ERR_END_OF_FILE || error == HA_ERR_KEY_NOT_FOUND)
|
||||
{
|
||||
/* No entry found, start with 1. */
|
||||
nr= 1;
|
||||
}
|
||||
/* No entry found, that's fine */;
|
||||
else
|
||||
{
|
||||
DBUG_ASSERT(0);
|
||||
nr= ULONGLONG_MAX;
|
||||
}
|
||||
print_error(error, MYF(0));
|
||||
nr= 1;
|
||||
}
|
||||
else
|
||||
nr= ((ulonglong) table->next_number_field->
|
||||
|
Reference in New Issue
Block a user