/ Check-in [81e6f151]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a couple of compiler issues on Windows due to warning clean up.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 81e6f151d384fa1f1474175b39ad6dfa64f8da0d
User & Date: shaneh 2011-06-20 20:50:49
Context
2011-06-20
20:52
Add ability to pass linker specific options to nmake makefile. check-in: b4f09c93 user: shaneh tags: trunk
20:50
Fix a couple of compiler issues on Windows due to warning clean up. check-in: 81e6f151 user: shaneh tags: trunk
20:48
Add additional error check for disk full on Windows. check-in: 3ee5d1a5 user: shaneh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3.c.

  2676   2676     return rc;
  2677   2677   }
  2678   2678   
  2679   2679   /*
  2680   2680   ** Implementation of xBegin() method. This is a no-op.
  2681   2681   */
  2682   2682   static int fts3BeginMethod(sqlite3_vtab *pVtab){
  2683         -  UNUSED_PARAMETER(pVtab);
  2684   2683     TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
         2684  +  UNUSED_PARAMETER(pVtab);
  2685   2685     assert( p->pSegments==0 );
  2686   2686     assert( p->nPendingData==0 );
  2687   2687     assert( p->inTransaction!=1 );
  2688   2688     TESTONLY( p->inTransaction = 1 );
  2689   2689     TESTONLY( p->mxSavepoint = -1; );
  2690   2690     return SQLITE_OK;
  2691   2691   }
................................................................................
  2692   2692   
  2693   2693   /*
  2694   2694   ** Implementation of xCommit() method. This is a no-op. The contents of
  2695   2695   ** the pending-terms hash-table have already been flushed into the database
  2696   2696   ** by fts3SyncMethod().
  2697   2697   */
  2698   2698   static int fts3CommitMethod(sqlite3_vtab *pVtab){
  2699         -  UNUSED_PARAMETER(pVtab);
  2700   2699     TESTONLY( Fts3Table *p = (Fts3Table*)pVtab );
         2700  +  UNUSED_PARAMETER(pVtab);
  2701   2701     assert( p->nPendingData==0 );
  2702   2702     assert( p->inTransaction!=0 );
  2703   2703     assert( p->pSegments==0 );
  2704   2704     TESTONLY( p->inTransaction = 0 );
  2705   2705     TESTONLY( p->mxSavepoint = -1; );
  2706   2706     return SQLITE_OK;
  2707   2707   }