|author||Peter Seebach <firstname.lastname@example.org>||2014-10-03 18:38:28 +0000|
|committer||Peter Seebach <email@example.com>||2014-10-03 17:34:36 -0500|
Possibly fix strange corruptions
Trying to track down problems which sometimes result in files showing up as nameless files, producing clashes later. Looks like there were two issues; one is we were creating links for files that we'd already found by inode. The other is that rename was sending bogus LINK messages in some cases. Also simplified the find_file_dev path to extract the path as part of the initial operation, since there wasn't any case where that wasn't being done immediately afterwards.
Diffstat (limited to 'ChangeLog.txt')
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 48a3261..edb85b1 100644
@@ -1,6 +1,13 @@
* (seebs) in fact, suppress a lot of sanity checks entirely for
+ * (seebs) merge get_file_path functionality into find_file_dev,
+ since you never call find_file_dev unless you want to do that.
+ * (seebs) If a file is in the database by inode but not path,
+ don't try to create a new link for it.
+ * (seebs) when renaming, the link of the "old" file name should be
+ contingent on whether *it* was in the database, not whether
+ the *new* name was in the database. Whoops.
* (seebs) use sqlite3_bind_int64 for inodes.