Commit c32e663d authored by unknown's avatar unknown

fix for compilation failure in non-debug builds


sql/mysqld.cc:
  option -# and --debug, and default_dbug_option, do not exist in non-debug builds
parent 33c25353
......@@ -7444,6 +7444,7 @@ mysqld_get_one_option(int optid,
char *argument)
{
switch(optid) {
#ifndef DBUG_OFF
case '#':
if (!argument)
argument= (char*) default_dbug_option;
......@@ -7458,6 +7459,7 @@ mysqld_get_one_option(int optid,
DBUG_SET_INITIAL(argument);
opt_endinfo=1; /* unireg: memory allocation */
break;
#endif
case 'a':
global_system_variables.sql_mode= fix_sql_mode(MODE_ANSI);
global_system_variables.tx_isolation= ISO_SERIALIZABLE;
......
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