Skip to content

Commit e52c753

Browse files
committed
cleanup
1 parent df25018 commit e52c753

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ ENDIF(NOT MAX_INDEXES)
6464
IF (${MAX_INDEXES} GREATER 128)
6565
MESSAGE(FATAL_ERROR "MAX_INDEXES values greater than 128 is not supported!")
6666
ENDIF()
67-
MESSAGE(STATUS "Configuring with MAX_INDEXES = ${MAX_INDEXES}")
6867

6968
IF(UNIX AND NOT APPLE)
7069
# Note, that generally one should not change settings depending

sql/sql_table.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5934,8 +5934,9 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
59345934
alter_info->flags&= ~(Alter_info::ALTER_ADD_INDEX |
59355935
Alter_info::ADD_FOREIGN_KEY);
59365936
}
5937-
else if (key->or_replace())
5937+
else
59385938
{
5939+
DBUG_ASSERT(key->or_replace());
59395940
Alter_drop::drop_type type= (key->type == Key::FOREIGN_KEY) ?
59405941
Alter_drop::FOREIGN_KEY : Alter_drop::KEY;
59415942
Alter_drop *ad= new Alter_drop(type, key->name.str, FALSE);

0 commit comments

Comments
 (0)