mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge branch '5.5' into 10.0
This commit is contained in:
commit
309c08c17c
64 changed files with 1244 additions and 273 deletions
|
|
@ -1454,6 +1454,7 @@ int ha_myisam::enable_indexes(uint mode)
|
|||
else if (mode == HA_KEY_SWITCH_NONUNIQ_SAVE)
|
||||
{
|
||||
THD *thd= table->in_use;
|
||||
int was_error= thd->is_error();
|
||||
HA_CHECK ¶m= *(HA_CHECK*) thd->alloc(sizeof(param));
|
||||
const char *save_proc_info=thd->proc_info;
|
||||
|
||||
|
|
@ -1499,7 +1500,7 @@ int ha_myisam::enable_indexes(uint mode)
|
|||
might have been set by the first repair. They can still be seen
|
||||
with SHOW WARNINGS then.
|
||||
*/
|
||||
if (! error)
|
||||
if (! error && ! was_error)
|
||||
thd->clear_error();
|
||||
}
|
||||
info(HA_STATUS_CONST);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue