Documentation Source Text
Check-in [55000f]
Not logged in

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: 78cbbe user: drh tags: trunk
2013-04-22
15:35
Ignore the error if two hyperlink keywords differ only in case. check-in: 55000f user: drh tags: trunk
13:52
Add documentation for the SQLITE_ENABLE_SQLLOG compile-time option. check-in: d81b3b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to wrap.tcl.

197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
        db eval {DELETE FROM keyword WHERE kw=$kw}
      } else {
        puts stderr "WARNING: duplicate keyword \"$kw\" - $glink($kw) and $lurl"
      }
    }
    if {$gurl==""} {
      set glink($kw) $lurl
      db eval {INSERT INTO keyword(kw,fragment,indexKw) 
                VALUES($a,$lurl,$visible)}
    } else {
      set glink($kw) $gurl
      set llink($fn:$kw) $lurl
      db eval {INSERT INTO keyword(kw,fragment,indexKw) 
                VALUES($a,$gurl,$visible)}
    }
  }
}

# Start a new fragment in the main file.  Give the new fragment the
# indicated name.  Any keywords defined after this point will refer







|




|







197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
        db eval {DELETE FROM keyword WHERE kw=$kw}
      } else {
        puts stderr "WARNING: duplicate keyword \"$kw\" - $glink($kw) and $lurl"
      }
    }
    if {$gurl==""} {
      set glink($kw) $lurl
      db eval {INSERT OR IGNORE INTO keyword(kw,fragment,indexKw) 
                VALUES($a,$lurl,$visible)}
    } else {
      set glink($kw) $gurl
      set llink($fn:$kw) $lurl
      db eval {INSERT OR IGNORE INTO keyword(kw,fragment,indexKw) 
                VALUES($a,$gurl,$visible)}
    }
  }
}

# Start a new fragment in the main file.  Give the new fragment the
# indicated name.  Any keywords defined after this point will refer