diff options
author | unknown <tsmith@ramayana.hindu.god> | 2008-02-05 16:04:07 -0700 |
---|---|---|
committer | unknown <tsmith@ramayana.hindu.god> | 2008-02-05 16:04:07 -0700 |
commit | f328142cdb9f01dab47bb72df3df1ade57ee4ade (patch) | |
tree | 9ab45576cbc8bbff42e4bab3bd57abcd6af3fbb0 /client | |
parent | fb9c0158b2328d326acb9e9af9a2e85a72840afe (diff) | |
parent | 74bd1b0faf78929e0aaa7ba85bbf5a5800f75cba (diff) | |
download | mariadb-git-f328142cdb9f01dab47bb72df3df1ade57ee4ade.tar.gz |
Merge ramayana.hindu.god:/home/tsmith/m/bk/50
into ramayana.hindu.god:/home/tsmith/m/bk/build/50
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)); } |