Skip to content

Commit

Permalink
MDEV-25207 mysql_install_db doesn't create sys schema (fix)
Browse files Browse the repository at this point in the history
Fix for out-of-tree builds.

mysql_sys_schema.sql is a CMAKE_CURRENT_BINARY_DIR file so
use the buildpkgdatadir.
  • Loading branch information
grooverdan committed Mar 20, 2021
1 parent 47c8896 commit 4eeea4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mysql_install_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ create_system_tables2="$srcpkgdatadir/mysql_performance_tables.sql"
fill_system_tables="$srcpkgdatadir/mysql_system_tables_data.sql"
maria_add_gis_sp="$buildpkgdatadir/maria_add_gis_sp_bootstrap.sql"
mysql_test_db="$srcpkgdatadir/mysql_test_db.sql"
mysql_sys_schema="$srcpkgdatadir/mysql_sys_schema.sql"
mysql_sys_schema="$buildpkgdatadir/mysql_sys_schema.sql"

for f in "$fill_help_tables" "$create_system_tables" "$create_system_tables2" "$fill_system_tables" "$maria_add_gis_sp" "$mysql_test_db" "$mysql_sys_schema"
do
Expand Down

0 comments on commit 4eeea4e

Please sign in to comment.