From 01be65f304352d44e372f27190d29d5379b98d64 Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Wed, 19 Aug 2015 15:33:52 +0100
Subject: [PATCH] Fix incorrect order of fields in SQL statement. My kingdom
 for a better SQL DSL.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---
 src/allmydata/backupdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()
-- 
2.45.2