Loading sql/sql_parse.cc +4 −6 Original line number Diff line number Diff line Loading @@ -1627,9 +1627,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, break; mysql_log.write(thd,command,packet); bzero(&create_info, sizeof(create_info)); if (mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db), &create_info, 0) < 0) error= TRUE; error= mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db), &create_info, 0); break; } case COM_DROP_DB: // QQ: To be removed Loading @@ -1652,9 +1651,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, break; } mysql_log.write(thd,command,db); if (mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), 0, 0) < 0) error= TRUE; error= mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), 0, 0) ; break; } #ifndef EMBEDDED_LIBRARY Loading Loading
sql/sql_parse.cc +4 −6 Original line number Diff line number Diff line Loading @@ -1627,9 +1627,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, break; mysql_log.write(thd,command,packet); bzero(&create_info, sizeof(create_info)); if (mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db), &create_info, 0) < 0) error= TRUE; error= mysql_create_db(thd, (lower_case_table_names == 2 ? alias : db), &create_info, 0); break; } case COM_DROP_DB: // QQ: To be removed Loading @@ -1652,9 +1651,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, break; } mysql_log.write(thd,command,db); if (mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), 0, 0) < 0) error= TRUE; error= mysql_rm_db(thd, (lower_case_table_names == 2 ? alias : db), 0, 0) ; break; } #ifndef EMBEDDED_LIBRARY Loading