Fossil SCM

Fix to the fix to the mtime race condition that was supposed to be fixed by the prior check-in.

drh 2010-12-13 23:50 trunk
Commit fa5302c28d3b944dc6321a066ab4699666754e75
1 file changed +1 -1
+1 -1
--- src/merge.c
+++ src/merge.c
@@ -355,11 +355,11 @@
355355
}
356356
if( rc>=0 ){
357357
if( !nochangeFlag ){
358358
blob_write_to_file(&r, zFullPath);
359359
}
360
- db_multi_exec("UPDATE vfile SET mtime=0 WHERE id=%d", ridv);
360
+ db_multi_exec("UPDATE vfile SET mtime=0 WHERE id=%d", idv);
361361
if( rc>0 ){
362362
printf("***** %d merge conflicts in %s\n", rc, zName);
363363
nConflict++;
364364
}
365365
}else{
366366
--- src/merge.c
+++ src/merge.c
@@ -355,11 +355,11 @@
355 }
356 if( rc>=0 ){
357 if( !nochangeFlag ){
358 blob_write_to_file(&r, zFullPath);
359 }
360 db_multi_exec("UPDATE vfile SET mtime=0 WHERE id=%d", ridv);
361 if( rc>0 ){
362 printf("***** %d merge conflicts in %s\n", rc, zName);
363 nConflict++;
364 }
365 }else{
366
--- src/merge.c
+++ src/merge.c
@@ -355,11 +355,11 @@
355 }
356 if( rc>=0 ){
357 if( !nochangeFlag ){
358 blob_write_to_file(&r, zFullPath);
359 }
360 db_multi_exec("UPDATE vfile SET mtime=0 WHERE id=%d", idv);
361 if( rc>0 ){
362 printf("***** %d merge conflicts in %s\n", rc, zName);
363 nConflict++;
364 }
365 }else{
366

Keyboard Shortcuts

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