/ Check-in [bb2e1871]
Login

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

Overview
Comment:Fixed a build problem in sqlite3_extension_init(). (CVS 3430)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bb2e1871cb10b470f96c793bb137c043ef30e1da
User & Date: adamd 2006-09-18 21:14:40
Context
2006-09-21
02:03
Implementation of the snippet() function for FTS1. Includes a few simple test cases but more testing is needed. (CVS 3431) check-in: c7ee60d0 user: drh tags: trunk
2006-09-18
21:14
Fixed a build problem in sqlite3_extension_init(). (CVS 3430) check-in: bb2e1871 user: adamd tags: trunk
20:24
Convert all names to lower case before sending them to the xFindFunction method of a virtual table. In FTS1, use strcmp instead of strcasecmp. Ticket #1981. (CVS 3429) check-in: cd4e1de8 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts1/fts1.c.

  2923   2923     sqlite3_overload_function(db, "offsets", -1);
  2924   2924     return sqlite3_create_module(db, "fts1", &fulltextModule, 0);
  2925   2925   }
  2926   2926   
  2927   2927   #if !SQLITE_CORE
  2928   2928   int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg,
  2929   2929                              const sqlite3_api_routines *pApi){
  2930         -  int rc;
  2931   2930     SQLITE_EXTENSION_INIT2(pApi)
  2932         -  rc = sqlite3Fts1Init(db);
  2933         -  if( rc ) return rc;
         2931  +  return sqlite3Fts1Init(db);
  2934   2932   }
  2935   2933   #endif
  2936   2934   
  2937   2935   #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1) */