Fossil

Check-in [cf6bb078]
Login

Check-in [cf6bb078]

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

Overview
Comment:Resolved whatis command's tags reporting to leave out cancelled tags, as reported in forum post c0be2ea60a.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cf6bb0781f8049a3ee443c2d6fb8816ee39ee14918a9f00fdde9ce78d36739b3
User & Date: stephan 2021-04-24 00:03:06
Context
2021-04-24
00:54
More work on merge with renames. Added a test case for the changes in check-in [cb4f38ee6733dccc]. Fix test 6 in merge_renames.test. ... (check-in: 33e518b1 user: drh tags: trunk)
00:03
Resolved whatis command's tags reporting to leave out cancelled tags, as reported in forum post c0be2ea60a. ... (check-in: cf6bb078 user: stephan tags: trunk)
2021-04-22
01:40
Merge from 'brlist-timeline' which enables easy selection of several branches on the /brlist page. A special hyperlink in the submenu of /brlist page interactively tracks which branches are checked and points to the /timeline view of just these selected branches. ... (check-in: 5df47469 user: george tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/name.c.

769
770
771
772
773
774
775

776
777
778
779
780
781
782
  db_finalize(&q);

  /* Report any symbolic tags on this artifact */
  db_prepare(&q,
    "SELECT substr(tagname,5)"
    "  FROM tag JOIN tagxref ON tag.tagid=tagxref.tagid"
    " WHERE tagxref.rid=%d"

    "   AND tagname GLOB 'sym-*'"
    " ORDER BY 1",
    rid
  );
  cnt = 0;
  while( db_step(&q)==SQLITE_ROW ){
    const char *zPrefix = cnt++ ? ", " : "tags:       ";







>







769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
  db_finalize(&q);

  /* Report any symbolic tags on this artifact */
  db_prepare(&q,
    "SELECT substr(tagname,5)"
    "  FROM tag JOIN tagxref ON tag.tagid=tagxref.tagid"
    " WHERE tagxref.rid=%d"
    "   AND tagxref.tagtype<>0"
    "   AND tagname GLOB 'sym-*'"
    " ORDER BY 1",
    rid
  );
  cnt = 0;
  while( db_step(&q)==SQLITE_ROW ){
    const char *zPrefix = cnt++ ? ", " : "tags:       ";