Fossil

Check-in [6c2b5baf]
Login

Check-in [6c2b5baf]

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

Overview
Comment:Fix a harmless compiler warning in the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6c2b5bafb6820af958cf371cb4d94eb2df5e5e73ebd2ad366dedbfec592b4bf0
User & Date: drh 2020-10-20 23:40:13
Context
2020-10-22
17:35
Assorted minor fixes and tweaks to the check-in names doc ... (check-in: 68a78b89 user: wyoung tags: trunk)
2020-10-20
23:40
Fix a harmless compiler warning in the previous check-in. ... (check-in: 6c2b5baf user: drh tags: trunk)
23:37
The /file page for a file that is not part of the latest checkin tries to substitute the most recent checking that added the file. ... (check-in: 5cf5ad84 user: drh tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/info.c.

2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
        "   AND event.objid=mlink.mid"
        "   AND blob.rid=mlink.mid"
        " ORDER BY event.mtime DESC",
        zName
      );
      if( db_step(&q)==SQLITE_ROW ){
        rid = db_column_int(&q, 0);
        zCIUuid = zCI = fossil_strdup(db_column_text(&q, 1));
        url_add_parameter(&url, "ci", zCI);
      }
      db_finalize(&q);
      if( rid==0 ){     
        style_header("No such file");
        @ File '%h(zName)' does not exist in this repository.
      }







|







2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
        "   AND event.objid=mlink.mid"
        "   AND blob.rid=mlink.mid"
        " ORDER BY event.mtime DESC",
        zName
      );
      if( db_step(&q)==SQLITE_ROW ){
        rid = db_column_int(&q, 0);
        zCI = zCIUuid = fossil_strdup(db_column_text(&q, 1));
        url_add_parameter(&url, "ci", zCI);
      }
      db_finalize(&q);
      if( rid==0 ){     
        style_header("No such file");
        @ File '%h(zName)' does not exist in this repository.
      }