summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 5a929237e3b..ff249b9d251 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -714,6 +714,7 @@ innobase_init(void)
if (mysql_embedded) {
default_path = mysql_real_data_home;
+ fil_path_to_mysql_datadir = mysql_real_data_home;
} else {
/* It's better to use current lib, to keep paths short */
current_dir[0] = FN_CURLIB;