Fix Windows installers' bootstrapper scripts , after mysql_performance_tables.sql was split off mysql_system_tables.sql
This commit is contained in:
parent
c65f9a1914
commit
5649377b55
@ -31,7 +31,7 @@ ENDIF()
|
||||
|
||||
# Create bootstrapper SQL script
|
||||
FILE(WRITE bootstrap.sql "use mysql;\n" )
|
||||
FOREACH(FILENAME mysql_system_tables.sql mysql_system_tables_data.sql)
|
||||
FOREACH(FILENAME mysql_system_tables.sql mysql_system_tables_data.sql mysql_performance_tables.sql)
|
||||
FILE(STRINGS ${CMAKE_SOURCE_DIR}/scripts/${FILENAME} CONTENTS)
|
||||
FOREACH(STR ${CONTENTS})
|
||||
IF(NOT STR MATCHES "@current_hostname")
|
||||
|
@ -321,11 +321,12 @@ IF(WIN32)
|
||||
ADD_CUSTOM_COMMAND(OUTPUT
|
||||
${my_bootstrap_sql}
|
||||
COMMAND ${CMAKE_COMMAND} -E chdir ${CMAKE_SOURCE_DIR}/scripts
|
||||
cmd /c copy mysql_system_tables.sql+mysql_system_tables_data.sql+fill_help_tables.sql ${native_outfile}
|
||||
cmd /c copy mysql_system_tables.sql+mysql_system_tables_data.sql+fill_help_tables.sql+mysql_performance_tables.sql ${native_outfile}
|
||||
DEPENDS
|
||||
${CMAKE_SOURCE_DIR}/scripts/mysql_system_tables.sql
|
||||
${CMAKE_SOURCE_DIR}/scripts/mysql_system_tables_data.sql
|
||||
${CMAKE_SOURCE_DIR}/scripts/fill_help_tables.sql
|
||||
${CMAKE_SOURCE_DIR}/scripts/mysql_performance_tables.sql
|
||||
)
|
||||
|
||||
ADD_CUSTOM_COMMAND(
|
||||
|
Loading…
x
Reference in New Issue
Block a user