Documentation Source Text

Check-in [55000f1b07]
Login

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

Overview
Comment:Ignore the error if two hyperlink keywords differ only in case.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 55000f1b07fa2564eb5a831a3b6cc4e53f4cf043
User & Date: drh 2013-04-22 15:35:11
Context
2013-04-24
22:09
If the website keyword search fails, try again after lowercasing the input text. This avoids problems when users enter "OR" and "NEAR" as search terms rather than operators. check-in: 78cbbe549b user: drh tags: trunk
2013-04-22
15:35
Ignore the error if two hyperlink keywords differ only in case. check-in: 55000f1b07 user: drh tags: trunk
13:52
Add documentation for the SQLITE_ENABLE_SQLLOG compile-time option. check-in: d81b3b01bf user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to wrap.tcl.

   197    197           db eval {DELETE FROM keyword WHERE kw=$kw}
   198    198         } else {
   199    199           puts stderr "WARNING: duplicate keyword \"$kw\" - $glink($kw) and $lurl"
   200    200         }
   201    201       }
   202    202       if {$gurl==""} {
   203    203         set glink($kw) $lurl
   204         -      db eval {INSERT INTO keyword(kw,fragment,indexKw) 
          204  +      db eval {INSERT OR IGNORE INTO keyword(kw,fragment,indexKw) 
   205    205                   VALUES($a,$lurl,$visible)}
   206    206       } else {
   207    207         set glink($kw) $gurl
   208    208         set llink($fn:$kw) $lurl
   209         -      db eval {INSERT INTO keyword(kw,fragment,indexKw) 
          209  +      db eval {INSERT OR IGNORE INTO keyword(kw,fragment,indexKw) 
   210    210                   VALUES($a,$gurl,$visible)}
   211    211       }
   212    212     }
   213    213   }
   214    214   
   215    215   # Start a new fragment in the main file.  Give the new fragment the
   216    216   # indicated name.  Any keywords defined after this point will refer