/ Check-in [6c871ac1]
Login

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

Overview
Comment:Remove an unnecessary assignment from vdbeapi.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6c871ac1fa3c79baa0053dc49ab106cb3db4cfa0
User & Date: dan 2011-06-27 19:37:23
Context
2011-06-28
07:15
Changes to allow FTS to be compiled as a loadable module again. check-in: 29e69f38 user: dan tags: trunk
2011-06-27
19:37
Remove an unnecessary assignment from vdbeapi.c. check-in: 6c871ac1 user: dan tags: trunk
16:55
Add a case to permutations.test to run the veryquick test suite using sqlite3_prepare() instead of sqlite3_prepare_v2(). This helps to test the fix for bug [25ee812710]. check-in: d9f7993b user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbeapi.c.

   484    484     }
   485    485     db = v->db;
   486    486     sqlite3_mutex_enter(db->mutex);
   487    487     while( (rc = sqlite3Step(v))==SQLITE_SCHEMA
   488    488            && cnt++ < SQLITE_MAX_SCHEMA_RETRY
   489    489            && (rc2 = rc = sqlite3Reprepare(v))==SQLITE_OK ){
   490    490       sqlite3_reset(pStmt);
   491         -    v->expired = 0;
          491  +    assert( v->expired==0 );
   492    492     }
   493    493     if( rc2!=SQLITE_OK && ALWAYS(v->isPrepareV2) && ALWAYS(db->pErr) ){
   494    494       /* This case occurs after failing to recompile an sql statement. 
   495    495       ** The error message from the SQL compiler has already been loaded 
   496    496       ** into the database handle. This block copies the error message 
   497    497       ** from the database handle into the statement and sets the statement
   498    498       ** program counter to 0 to ensure that when the statement is