/ Check-in [02a8e423]
Login

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

Overview
Comment:Fix another test case issue in trace2.test.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fts4-incr-merge
Files: files | file ages | folders
SHA1:02a8e4236cf2c1c74b3c6537be1b5f197175a32e
User & Date: dan 2012-03-23 13:40:59
Context
2012-03-23
14:38
Remove an incorrect assert() statement. Fix a const-related warning. check-in: 96ed4749 user: dan tags: fts4-incr-merge
13:40
Fix another test case issue in trace2.test. check-in: 02a8e423 user: dan tags: fts4-incr-merge
11:09
When an incremental blob cursor is invalidated (occurs when an SQL statement modifies or deletes the row the blob cursor points to) release all page references held by the cursor. Otherwise, the presence of these references may cause other code in btree.c to incorrectly infer that the database is corrupt. check-in: 82c3f2ba user: dan tags: fts4-incr-merge
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/trace2.test.

   127    127     do_trace_test 2.2 {
   128    128       INSERT INTO x1 VALUES('North northwest wind between 8 and 14 mph');
   129    129     } {
   130    130       "INSERT INTO x1 VALUES('North northwest wind between 8 and 14 mph');" 
   131    131       "-- INSERT INTO 'main'.'x1_content' VALUES(?,(?))" 
   132    132       "-- REPLACE INTO 'main'.'x1_docsize' VALUES(?,?)" 
   133    133       "-- SELECT value FROM 'main'.'x1_stat' WHERE id=?" 
   134         -    "-- REPLACE INTO 'main'.'x1_stat' VALUES(0,?)" 
          134  +    "-- REPLACE INTO 'main'.'x1_stat' VALUES(?,?)" 
   135    135       "-- SELECT (SELECT max(idx) FROM 'main'.'x1_segdir' WHERE level = ?) + 1" 
   136    136       "-- SELECT coalesce((SELECT max(blockid) FROM 'main'.'x1_segments') + 1, 1)"
   137    137       "-- REPLACE INTO 'main'.'x1_segdir' VALUES(?,?,?,?,?,?)"
   138    138     }
   139    139   
   140    140     do_trace_test 2.3 {
   141    141       INSERT INTO x1(x1) VALUES('optimize');