1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug#46339 - crash on REPAIR TABLE merge table USE_FRM

Merge from saved bundle.
This commit is contained in:
Ingo Struewing
2010-09-21 16:37:18 +02:00
3 changed files with 119 additions and 3 deletions

View File

@ -4416,9 +4416,6 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
pthread_mutex_unlock(&LOCK_open);
}
/* A MERGE table must not come here. */
DBUG_ASSERT(!table->child_l);
/*
REPAIR TABLE ... USE_FRM for temporary tables makes little sense.
*/