sqlite library needlessly modified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
i am trying to track my calibre library on multiple computers. in particular, i am using git-annex to track those files from multiple locations, which is generally working great:
http://
the problem i am seeing, however, is that the metadata.db file changes even though i made no change to the library. to reproduce, i just add the metadata.db file to git-annex, start calibre, stop it, and then the file was modified!
here's a diff of the database dump:
--- /home/anarcat/
+++ /home/anarcat/
@@ -3980,8 +3980,8 @@
]
]');
INSERT INTO "preferences" VALUES(
-INSERT INTO "preferences" VALUES(
-INSERT INTO "preferences" VALUES(
+INSERT INTO "preferences" VALUES(
+INSERT INTO "preferences" VALUES(
"column_
"timestamp": "center",
"pubdate": "center",
@@ -4043,7 +4043,7 @@
],
"last_
}');
-INSERT INTO "preferences" VALUES(
+INSERT INTO "preferences" VALUES(
"rating": {
"is_category": true,
"is_csp": false,
i was expecting to see some timestamp inserted, but those look like primary key changes! those changes look completely unnecessary and add needless noise in the synchronisation process here. in fact, if you would host your calibre library on (say) dropbox, you would have needless bandwidth usage (for example). on laptops, this leads to higher power usage as disks will spin up, etc...
this is calibre 2.5.0+dfsg-1 on Debian Jessie.
note that this also happens with the 2.19.0+dfsg-1 release from sid, running in jessie.