summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2021-03-20 15:10:36 +1100
committerDaniel Black <daniel@mariadb.org>2021-03-20 15:11:02 +1100
commit4eeea4e212755408ca963d22faa11c12963c1d0a (patch)
treec36818f0af027d124868356f97431f6630a0a490 /scripts
parent47c8896240593d197b25227e963dd3059f2b3936 (diff)
downloadmariadb-git-4eeea4e212755408ca963d22faa11c12963c1d0a.tar.gz
MDEV-25207 mysql_install_db doesn't create sys schema (fix)
Fix for out-of-tree builds. mysql_sys_schema.sql is a CMAKE_CURRENT_BINARY_DIR file so use the buildpkgdatadir.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_install_db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index f3a1d2e8600..6b0c78ef702 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -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