mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge from mysql-5.1 to mysql-5.5.
This commit is contained in:
commit
31a6bcbee4
1 changed files with 4 additions and 0 deletions
|
@ -708,6 +708,10 @@ ha_innobase::add_index(
|
|||
|
||||
ut_a(indexed_table == prebuilt->table);
|
||||
|
||||
if (indexed_table->tablespace_discarded) {
|
||||
DBUG_RETURN(-1);
|
||||
}
|
||||
|
||||
/* Check that index keys are sensible */
|
||||
error = innobase_check_index_keys(key_info, num_of_keys, prebuilt->table);
|
||||
|
||||
|
|
Loading…
Reference in a new issue