Check-in [f6d507179e]
Not logged in
Overview

SHA1 Hash:f6d507179ef14a961cb161803f26509199e28a8d
Date: 2009-01-21 00:05:35
User: drh
Comment:Fix an SQL syntax error in the commit logic introduced by check-in b6e22e62cf26115617822c7940cec5d0dc687184.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/checkin.c from [58cd8b89db] to [e3023f8a1f].

@@ -354,11 +354,11 @@
 */
 int is_a_leaf(int rid){
   return !db_exists(
     "SELECT 1 FROM plink"
     " WHERE pid=%d"
-      " AND NOT EXIST("
+      " AND NOT EXISTS("
                      "SELECT 1 FROM tagxref"
                      " WHERE tagxref.rid=plink.cid"
                      "   AND tagxref.tagid=%d"
                      "   AND tagxref.tagtype=1"
                ")",