Commit b23f1830 authored by unknown's avatar unknown

bad fix of the bad cleanup corrected :)


sql/sql_parse.cc:
  bad fix of the bad cleanup corrected
parent f4110834
...@@ -1627,8 +1627,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, ...@@ -1627,8 +1627,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
break; break;
mysql_log.write(thd,command,packet); mysql_log.write(thd,command,packet);
bzero(&create_info, sizeof(create_info)); bzero(&create_info, sizeof(create_info));
error= mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db), mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db),
&create_info, 0); &create_info, 0);
break; break;
} }
case COM_DROP_DB: // QQ: To be removed case COM_DROP_DB: // QQ: To be removed
...@@ -1651,8 +1651,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, ...@@ -1651,8 +1651,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
break; break;
} }
mysql_log.write(thd,command,db); mysql_log.write(thd,command,db);
error= mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db),
0, 0) ; 0, 0);
break; break;
} }
#ifndef EMBEDDED_LIBRARY #ifndef EMBEDDED_LIBRARY
......
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