List:Internals« Previous MessageNext Message »
From:sinisa Date:July 13 2004 10:55am
Subject:bk commit into 4.0 tree (Sinisa:1.1907)
View as plain text  
Below is the list of changes that have just been committed into a local
4.0 repository of Sinisa. When Sinisa does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.1907 04/07/13 13:54:20 Sinisa@stripped +1 -0
  A fix for a long standing bug in LOAD DATA .. LOCAL ..'

  sql/sql_load.cc
    1.59 04/07/13 13:54:12 Sinisa@stripped +3 -0
    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 is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	Sinisa
# Host:	sinisa.nasamreza.org
# Root:	/mnt/work/mysql-4.0

--- 1.58/sql/sql_load.cc	Mon Feb 16 18:58:19 2004
+++ 1.59/sql/sql_load.cc	Tue Jul 13 13:54:12 2004
@@ -291,6 +291,9 @@
   {
     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())
     {
       /*
Thread
bk commit into 4.0 tree (Sinisa:1.1907)sinisa13 Jul