Fossil SCM

The MLINK.ISAUX field was being set incorrectly by all versions since the cutover to the new MLINK schema in check-in [65aa10f97c]. Run "fossil rebuild" again after upgrading to this version.

drh 2015-01-27 02:20 trunk
Commit a27fa3d46beb304c04efa5a0d8cd7c6688c9f053
1 file changed +1 -1
+1 -1
--- src/manifest.c
+++ src/manifest.c
@@ -1797,11 +1797,11 @@
17971797
int pid = uuid_to_rid(p->azParent[i], 1);
17981798
db_multi_exec(
17991799
"INSERT OR IGNORE INTO plink(pid, cid, isprim, mtime, baseid)"
18001800
"VALUES(%d, %d, %d, %.17g, %s)",
18011801
pid, rid, i==0, p->rDate, zBaseId/*safe-for-%s*/);
1802
- add_mlink(pid, 0, rid, p, i);
1802
+ add_mlink(pid, 0, rid, p, i==0);
18031803
if( i==0 ) parentid = pid;
18041804
}
18051805
if( p->nParent>1 ){
18061806
/* Remove incorrect MLINK create-file entries that arise when a
18071807
** file is added by merge. */
18081808
--- src/manifest.c
+++ src/manifest.c
@@ -1797,11 +1797,11 @@
1797 int pid = uuid_to_rid(p->azParent[i], 1);
1798 db_multi_exec(
1799 "INSERT OR IGNORE INTO plink(pid, cid, isprim, mtime, baseid)"
1800 "VALUES(%d, %d, %d, %.17g, %s)",
1801 pid, rid, i==0, p->rDate, zBaseId/*safe-for-%s*/);
1802 add_mlink(pid, 0, rid, p, i);
1803 if( i==0 ) parentid = pid;
1804 }
1805 if( p->nParent>1 ){
1806 /* Remove incorrect MLINK create-file entries that arise when a
1807 ** file is added by merge. */
1808
--- src/manifest.c
+++ src/manifest.c
@@ -1797,11 +1797,11 @@
1797 int pid = uuid_to_rid(p->azParent[i], 1);
1798 db_multi_exec(
1799 "INSERT OR IGNORE INTO plink(pid, cid, isprim, mtime, baseid)"
1800 "VALUES(%d, %d, %d, %.17g, %s)",
1801 pid, rid, i==0, p->rDate, zBaseId/*safe-for-%s*/);
1802 add_mlink(pid, 0, rid, p, i==0);
1803 if( i==0 ) parentid = pid;
1804 }
1805 if( p->nParent>1 ){
1806 /* Remove incorrect MLINK create-file entries that arise when a
1807 ** file is added by merge. */
1808

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button