Fossil

Check-in [b31aa7d7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a warning about an unclosed transaction when doing a no-op "fossil checkout".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:b31aa7d7ea01e7a3c29a7262fd3b0e890993c3fc539f8587ef5ca2f875e4e99f
User & Date: drh 2018-06-27 02:22:33
Context
2018-06-27
13:09
Fix typos in the "fossil help uv" page. check-in: 1bc4b0a5 user: drh tags: trunk
02:22
Fix a warning about an unclosed transaction when doing a no-op "fossil checkout". check-in: b31aa7d7 user: drh tags: trunk
2018-06-26
11:54
Fix compiler warnings on windows. Fix the file_directory_size() function so that it works on windows. check-in: 6a7d2ad8 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkout.c.

289
290
291
292
293
294
295

296
297
298
299
300
301
302
      return;
    }
  }else{
    zVers = g.argv[2];
  }
  vid = load_vfile(zVers, forceMissingFlag);
  if( prior==vid ){

    return;
  }
  if( !keepFlag ){
    uncheckout(prior);
  }
  db_multi_exec("DELETE FROM vfile WHERE vid!=%d", vid);
  if( !keepFlag ){







>







289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
      return;
    }
  }else{
    zVers = g.argv[2];
  }
  vid = load_vfile(zVers, forceMissingFlag);
  if( prior==vid ){
    db_end_transaction(0);
    return;
  }
  if( !keepFlag ){
    uncheckout(prior);
  }
  db_multi_exec("DELETE FROM vfile WHERE vid!=%d", vid);
  if( !keepFlag ){