Diff
Not logged in

Differences From:

File src/name.c part of check-in [e63a9fd9d0] - Fixed many uninitialized variable warnings and some potential bug found via -Wall -Werror on gcc. by jnc on 2007-09-25 21:21:35. Also file src/name.c part of check-in [92291035fe] - Merged the compiler warning fixes into mainstream by jnc on 2007-09-25 21:28:30. Also file src/name.c part of check-in [d0305b305a] - Merged mainline into my branch to get the newest application. by aku on 2007-12-05 08:07:46. [view]

To:

File src/name.c part of check-in [41cf3e7c1d] - Remove string_xform.c from the makefile. Require a "sym-" prefix on tags used to name baselines or branches. The prefix is omitted when the tag is used for this purpose; it is only there to avoid ambiguity with other built-in tag names. by drh on 2008-02-06 03:05:42. [view]

@@ -51,9 +51,9 @@
 
     db_prepare(&q,
       "SELECT (SELECT uuid FROM blob WHERE rid=objid)"
       "  FROM tagxref JOIN event ON rid=objid"
-      " WHERE tagid=(SELECT tagid FROM tag WHERE tagname=%B)"
+      " WHERE tagid=(SELECT tagid FROM tag WHERE tagname='sym-'||%B)"
       "   AND tagtype>0"
       "   AND value IS NULL"
       " ORDER BY event.mtime DESC",
       pName