/ 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 Unified Diffs Ignore Whitespace Patch

Changes to ext/fts1/fts1.c.

2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
  sqlite3_overload_function(db, "offsets", -1);
  return sqlite3_create_module(db, "fts1", &fulltextModule, 0);
}

#if !SQLITE_CORE
int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg,
                           const sqlite3_api_routines *pApi){
  int rc;
  SQLITE_EXTENSION_INIT2(pApi)
  rc = sqlite3Fts1Init(db);
  if( rc ) return rc;
}
#endif

#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1) */







<

|
<




2923
2924
2925
2926
2927
2928
2929

2930
2931

2932
2933
2934
2935
  sqlite3_overload_function(db, "offsets", -1);
  return sqlite3_create_module(db, "fts1", &fulltextModule, 0);
}

#if !SQLITE_CORE
int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg,
                           const sqlite3_api_routines *pApi){

  SQLITE_EXTENSION_INIT2(pApi)
  return sqlite3Fts1Init(db);

}
#endif

#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS1) */