Commit 74eb0b10 authored by unknown's avatar unknown

Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0

into eagle.mysql.r18.ru:/home/vva/work/LOADDATA_BUG/mysql-4.0


sql/log_event.cc:
  Auto merged
parents 797d9de9 60d620ae
...@@ -1921,13 +1921,13 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli, ...@@ -1921,13 +1921,13 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
close_thread_tables(thd); close_thread_tables(thd);
if (thd->query_error) if (thd->query_error)
{ {
int sql_error = thd->net.last_errno; int sql_error= thd->net.last_errno;
if (!sql_error) if (!sql_error)
sql_error = ER_UNKNOWN_ERROR; sql_error= ER_UNKNOWN_ERROR;
slave_print_error(rli,sql_error, slave_print_error(rli,sql_error,
"Slave: Error '%s' running load data infile ", "Error '%s' running load data infile",
ER_SAFE(sql_error)); sql_error ? thd->net.last_error :
ER_SAFE(ER_UNKNOWN_ERROR));
free_root(&thd->mem_root,0); free_root(&thd->mem_root,0);
return 1; return 1;
} }
...@@ -1935,7 +1935,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli, ...@@ -1935,7 +1935,7 @@ int Load_log_event::exec_event(NET* net, struct st_relay_log_info* rli,
if (thd->fatal_error) if (thd->fatal_error)
{ {
sql_print_error("Slave: Fatal error running LOAD DATA INFILE "); sql_print_error("Fatal error running LOAD DATA INFILE ");
return 1; return 1;
} }
......
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