diff options
author | unknown <mkindahl@dl145h.mysql.com> | 2008-02-01 20:28:30 +0100 |
---|---|---|
committer | unknown <mkindahl@dl145h.mysql.com> | 2008-02-01 20:28:30 +0100 |
commit | 10aaf68bfe38756b8adb3656f24a1f0830815744 (patch) | |
tree | dcd8846a9fe0d645988248c2039172fa84cad9d1 /client/mysqlbinlog.cc | |
parent | f72adc70e9f50c6abc6f5e7618c95e45557a545d (diff) | |
parent | c078b5c572aa6aad56f59ac5ae9b3cd8d19285df (diff) | |
download | mariadb-git-10aaf68bfe38756b8adb3656f24a1f0830815744.tar.gz |
Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.0-rpl-merge
into dl145h.mysql.com:/data0/mkindahl/mysql-5.1-rpl-merge
client/mysqlbinlog.cc:
Auto merged
Diffstat (limited to 'client/mysqlbinlog.cc')
-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 a2110bee339..8b79266d749 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -675,6 +675,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)); } |