diff options
author | unknown <cbell/Chuck@mysql_cab_desk.> | 2008-02-01 14:01:21 -0500 |
---|---|---|
committer | unknown <cbell/Chuck@mysql_cab_desk.> | 2008-02-01 14:01:21 -0500 |
commit | c078b5c572aa6aad56f59ac5ae9b3cd8d19285df (patch) | |
tree | 938703b85b15e9aecb9f00164c5679d9122fb7e3 /client | |
parent | 0a9fa8265b9cc4a269bc4c71c8f91b078970733b (diff) | |
parent | b0747b45c46ee08ba5e31487bb422b6733271fe2 (diff) | |
download | mariadb-git-c078b5c572aa6aad56f59ac5ae9b3cd8d19285df.tar.gz |
Merge cbell@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl-merge
into mysql_cab_desk.:D:/source/c++/mysql-5.0-rpl-merge
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlbinlog.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 3d06a21c243..0553240894e 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -622,6 +622,13 @@ Create_file event for file_id: %u\n",exv->file_id); 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)); } |