mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
cleanup
This commit is contained in:
parent
df25018c2a
commit
e52c753ab9
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,6 @@ ENDIF(NOT MAX_INDEXES)
|
|||
IF (${MAX_INDEXES} GREATER 128)
|
||||
MESSAGE(FATAL_ERROR "MAX_INDEXES values greater than 128 is not supported!")
|
||||
ENDIF()
|
||||
MESSAGE(STATUS "Configuring with MAX_INDEXES = ${MAX_INDEXES}")
|
||||
|
||||
IF(UNIX AND NOT APPLE)
|
||||
# Note, that generally one should not change settings depending
|
||||
|
|
|
@ -5934,8 +5934,9 @@ remove_key:
|
|||
alter_info->flags&= ~(Alter_info::ALTER_ADD_INDEX |
|
||||
Alter_info::ADD_FOREIGN_KEY);
|
||||
}
|
||||
else if (key->or_replace())
|
||||
else
|
||||
{
|
||||
DBUG_ASSERT(key->or_replace());
|
||||
Alter_drop::drop_type type= (key->type == Key::FOREIGN_KEY) ?
|
||||
Alter_drop::FOREIGN_KEY : Alter_drop::KEY;
|
||||
Alter_drop *ad= new Alter_drop(type, key->name.str, FALSE);
|
||||
|
|
Loading…
Reference in a new issue