From: Daira Hopwood Date: Wed, 19 Aug 2015 14:33:52 +0000 (+0100) Subject: Fix incorrect order of fields in SQL statement. X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/running.html?a=commitdiff_plain;h=8aacd51460aa81d5ab361ad3214c60f693d2154d;p=tahoe-lafs%2Ftahoe-lafs.git Fix incorrect order of fields in SQL statement. My kingdom for a better SQL DSL. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/backupdb.py b/src/allmydata/backupdb.py index 20c0d950..f575c66f 100644 --- a/src/allmydata/backupdb.py +++ b/src/allmydata/backupdb.py @@ -406,5 +406,5 @@ class MagicFolderDB(BackupDB): self.cursor.execute("UPDATE local_files" " SET size=?, mtime=?, ctime=?, fileid=?, version=?" " WHERE path=?", - (size, mtime, ctime, fileid, path, version)) + (size, mtime, ctime, fileid, version, path)) self.connection.commit()