Skip to content

Commit

Permalink
Using mysql raw mode so that slashes are not escaped in output. This …
Browse files Browse the repository at this point in the history
…is a fix for bug #18414

git-svn-id: file:///home/git-svn-mirror/pushmi-svn-mirror/trunk@50570 dd0e9695-b195-4be7-bd10-2dea1a65a6b6
  • Loading branch information
tomasz committed May 13, 2009
1 parent a8e51d5 commit 2c610a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/worker.py
Expand Up @@ -100,7 +100,7 @@ def saveTable(self, table, outfile):

def saveSql(self, query, outfile):
"""Pass some SQL commands to the server for this DB and save output to a file."""
command = "echo %s | mysql -h %s -u %s %s %s | gzip" % shellEscape((
command = "echo %s | mysql -h %s -u %s %s %s -r | gzip" % shellEscape((
query,
self.dbServer,
self.config.dbUser,
Expand Down

0 comments on commit 2c610a0

Please sign in to comment.