System.Data.SQLite

Check-in [6458f27af1]
Login

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

Overview
Comment:Update the included FTS5 extension to the latest trunk code.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6458f27af1098e227905f9eadbefc89a2de35277
User & Date: mistachkin 2015-08-18 22:13:47.604
Context
2015-08-19
18:41
Final updates for release 1.0.98.0. check-in: bb9a436eba user: mistachkin tags: trunk, release, release-1.0.98.0
2015-08-18
22:17
Merge updates from trunk. check-in: 344585ae76 user: mistachkin tags: preRelease
22:13
Update the included FTS5 extension to the latest trunk code. check-in: 6458f27af1 user: mistachkin tags: trunk
22:10
Fix compilation issues for the SQLiteFunction delegate functionality on the .NET Compact Framework. check-in: 250eb1f8b2 user: mistachkin tags: trunk
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to SQLite.Interop/src/ext/fts5.c.
4683
4684
4685
4686
4687
4688
4689
4690

4691
4692
4693
4694
4695
4696
4697
4683
4684
4685
4686
4687
4688
4689

4690
4691
4692
4693
4694
4695
4696
4697







-
+







  const char **azConfig;          /* Array of arguments for Fts5Config */
  const char *zNearsetCmd = "nearset";
  int nConfig;                    /* Size of azConfig[] */
  Fts5Config *pConfig = 0;
  int iArg = 1;

  if( nArg<1 ){
    char *zErr = sqlite3_mprintf("wrong number of arguments to function %s",
    zErr = sqlite3_mprintf("wrong number of arguments to function %s",
        bTcl ? "fts5_expr_tcl" : "fts5_expr"
    );
    sqlite3_result_error(pCtx, zErr, -1);
    sqlite3_free(zErr);
    return;
  }

13255
13256
13257
13258
13259
13260
13261
13262

13263
13264
13265
13266
13267
13268
13269
13255
13256
13257
13258
13259
13260
13261

13262
13263
13264
13265
13266
13267
13268
13269







-
+







*/
static void fts5SourceIdFunc(
  sqlite3_context *pCtx,          /* Function call context */
  int nArg,                       /* Number of args */
  sqlite3_value **apVal           /* Function arguments */
){
  assert( nArg==0 );
  sqlite3_result_text(pCtx, "fts5: 2015-08-15 16:32:50 f65a9b4ab2c6f0b7028e16e2a0f83fd6d58ae1cd", -1, SQLITE_TRANSIENT);
  sqlite3_result_text(pCtx, "fts5: 2015-08-18 19:09:28 8599402092537ab3df8926eb900661c12d738d4c", -1, SQLITE_TRANSIENT);
}

#ifdef _WIN32
__declspec(dllexport)
#endif
int sqlite3_fts5_init(
  sqlite3 *db,