mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
cleanup
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user