r50570 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50569‎ | r50570 | r50571 >
Date:22:35, 13 May 2009
Author:tomasz
Status:deferred
Tags:
Comment:
Using mysql raw mode so that slashes are not escaped in output. This is a fix for bug #18414
Modified paths:
  • /trunk/backup/worker.py (modified) (history)

Diff [purge]

Index: trunk/backup/worker.py
@@ -100,7 +100,7 @@
101101
102102 def saveSql(self, query, outfile):
103103 """Pass some SQL commands to the server for this DB and save output to a file."""
104 - command = "echo %s | mysql -h %s -u %s %s %s | gzip" % shellEscape((
 104+ command = "echo %s | mysql -h %s -u %s %s %s -r | gzip" % shellEscape((
105105 query,
106106 self.dbServer,
107107 self.config.dbUser,

Status & tagging log