diff options
| author | Ingo Struewing <ingo.struewing@sun.com> | 2010-04-26 15:44:10 +0200 |
|---|---|---|
| committer | Ingo Struewing <ingo.struewing@sun.com> | 2010-04-26 15:44:10 +0200 |
| commit | 50b9d0862d656b7b7019e5ef3602e2233d330401 (patch) | |
| tree | 8aacf324f654252f1a70657abb13341b6c4ea835 /sql/sql_table.cc | |
| parent | 2049d1afc05ae8164353263f6e9ae7c0cd9b961b (diff) | |
| download | mariadb-git-50b9d0862d656b7b7019e5ef3602e2233d330401.tar.gz | |
Bug#46339 - crash on REPAIR TABLE merge table USE_FRM
REPAIR TABLE ... USE_FRM crashed debug servers.
A wrong assert assumed that this operation would not be executed
for MERGE tables.
Removed the assert.
Diffstat (limited to 'sql/sql_table.cc')
| -rw-r--r-- | sql/sql_table.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index ad72cab664e..78128fae576 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -4384,9 +4384,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. */ |
