mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
online alter: extract the source to a separate file
Move all the functions dedicated to online alter to a newly created online_alter.cc. With that, make many functions static and simplify the static functions naming. Also, rename binlog_log_row_online_alter -> online_alter_log_row.
This commit is contained in:
parent
830bdfccbd
commit
cb52174693
7 changed files with 577 additions and 538 deletions
|
|
@ -218,8 +218,9 @@ MYSQL_ADD_PLUGIN(partition ha_partition.cc STORAGE_ENGINE DEFAULT STATIC_ONLY
|
|||
RECOMPILE_FOR_EMBEDDED)
|
||||
MYSQL_ADD_PLUGIN(sql_sequence ha_sequence.cc STORAGE_ENGINE MANDATORY STATIC_ONLY
|
||||
RECOMPILE_FOR_EMBEDDED)
|
||||
MYSQL_ADD_PLUGIN(online_alter_log log.cc STORAGE_ENGINE MANDATORY STATIC_ONLY
|
||||
NOT_EMBEDDED)
|
||||
MYSQL_ADD_PLUGIN(online_alter_log online_alter.cc STORAGE_ENGINE MANDATORY
|
||||
STATIC_ONLY NOT_EMBEDDED)
|
||||
|
||||
|
||||
ADD_LIBRARY(sql STATIC ${SQL_SOURCE})
|
||||
MAYBE_DISABLE_IPO(sql)
|
||||
|
|
@ -227,6 +228,7 @@ DTRACE_INSTRUMENT(sql)
|
|||
TARGET_LINK_LIBRARIES(sql
|
||||
mysys mysys_ssl dbug strings vio pcre2-8
|
||||
tpool
|
||||
online_alter_log
|
||||
${LIBWRAP} ${LIBCRYPT} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}
|
||||
${SSL_LIBRARIES}
|
||||
${LIBSYSTEMD})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue