Commit c409ea6e authored by unknown's avatar unknown

Fixed --datadir for embedded server

parent 9769c900
...@@ -3966,6 +3966,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), ...@@ -3966,6 +3966,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break; break;
case 'h': case 'h':
strmake(mysql_real_data_home,argument, sizeof(mysql_real_data_home)-1); strmake(mysql_real_data_home,argument, sizeof(mysql_real_data_home)-1);
/* Correct pointer set by my_getopt (for embedded library) */
mysql_data_home= mysql_real_data_home;
break; break;
case 'L': case 'L':
strmake(language, argument, sizeof(language)-1); strmake(language, argument, sizeof(language)-1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment