A fix for a long standing bug in LOAD DATA .. LOCAL ..'
sql/sql_load.cc: A fix for a long standing bug in LOAD DATA .. LOCAL ..' When the error occurs, a link is broken instead of simply returning the error message and maintaining the same connection.
This commit is contained in:
parent
7b6fc58fff
commit
1e23a0efef
@ -291,6 +291,9 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
|
||||
{
|
||||
if (transactional_table)
|
||||
ha_autocommit_or_rollback(thd,error);
|
||||
if (read_file_from_client)
|
||||
while (!read_info.next_line())
|
||||
;
|
||||
if (mysql_bin_log.is_open())
|
||||
{
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user