Below is the list of changes that have just been committed into a local
5.0 repository of cbell. When cbell 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://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-02-01 13:11:03-05:00, cbell@mysql_cab_desk. +1 -0
BUG#32205 : Replaying statements from mysqlbinlog fails with a syntax error, replicates
fine
This patch adds code to convert the path for LOAD DATA INFILE
events to a Unix path which is needed for running mysql client
on Windows.
client/mysqlbinlog.cc@stripped, 2008-02-01 13:10:54-05:00, cbell@mysql_cab_desk. +7 -0
BUG#32205 : Replaying statements from mysqlbinlog fails with a syntax error,
replicates fine
This patch adds code to convert the path for LOAD DATA INFILE
events to a Unix path which is needed for running mysql client
on Windows.
The 'd:\x\y\z' path becomes 'd:xyz' when run in the client.
diff -Nrup a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
--- a/client/mysqlbinlog.cc 2007-09-13 10:19:43 -04:00
+++ b/client/mysqlbinlog.cc 2008-02-01 13:10:54 -05:00
@@ -622,6 +622,13 @@ Create_file event for file_id: %u\n",exv
if (fname)
{
+ /*
+ Fix the path so it can be consumed by mysql client (requires Unix path).
+ */
+ int stop= strlen(fname);
+ for (int i= 0; i < stop; i++)
+ if (fname[i] == '\\')
+ fname[i]= '/';
exlq->print(result_file, print_event_info, fname);
my_free(fname, MYF(MY_WME));
}
| Thread |
|---|
| • bk commit into 5.0 tree (cbell:1.2572) BUG#32205 | cbell | 1 Feb |