Commit 1e23a0ef authored by unknown's avatar unknown
Browse files

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.
parent 7b6fc58f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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())
    {
      /*