projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b218a75
)
Fix incorrect order of fields in SQL statement.
author
Daira Hopwood
<daira@jacaranda.org>
Wed, 19 Aug 2015 14:33:52 +0000
(15:33 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Thu, 1 Oct 2015 00:19:47 +0000
(
01:19
+0100)
My kingdom for a better SQL DSL.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/backupdb.py
patch
|
blob
|
history
diff --git
a/src/allmydata/backupdb.py
b/src/allmydata/backupdb.py
index 20c0d950162ae54818a41b16772ea3fa1a8f0339..f575c66fea53e3cc43e6ae89b14232d48284c71b 100644
(file)
--- 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()