/ Check-in [02448a9f]
Login

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

Overview
Comment:Fix harmless compiler warning in FTS5.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 02448a9fccd4532daa667e4ba6ff1dbb7f68008a
User & Date: mistachkin 2015-08-18 16:32:45
Context
2015-08-19
02:32
Initial implementation of eponymous virtual table instances. check-in: c1f43a77 user: drh tags: table-valued-functions
2015-08-18
19:09
Add test file spellfix2.test, which should have been checked in some time ago. check-in: 85994020 user: dan tags: trunk
16:32
Fix harmless compiler warning in FTS5. check-in: 02448a9f user: mistachkin tags: trunk
2015-08-15
16:32
Minor fix to the display of oversized KeyInfo structures in the P4 operand of Open opcodes in EXPLAIN output. check-in: f65a9b4a user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts5/fts5_expr.c.

  1862   1862     const char **azConfig;          /* Array of arguments for Fts5Config */
  1863   1863     const char *zNearsetCmd = "nearset";
  1864   1864     int nConfig;                    /* Size of azConfig[] */
  1865   1865     Fts5Config *pConfig = 0;
  1866   1866     int iArg = 1;
  1867   1867   
  1868   1868     if( nArg<1 ){
  1869         -    char *zErr = sqlite3_mprintf("wrong number of arguments to function %s",
         1869  +    zErr = sqlite3_mprintf("wrong number of arguments to function %s",
  1870   1870           bTcl ? "fts5_expr_tcl" : "fts5_expr"
  1871   1871       );
  1872   1872       sqlite3_result_error(pCtx, zErr, -1);
  1873   1873       sqlite3_free(zErr);
  1874   1874       return;
  1875   1875     }
  1876   1876