/ Check-in [90ba2b2e]
Login

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

Overview
Comment:Fix the build so that it works with -DSQLITE_TEST_REALLOC_STRESS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | stmt-journal-testing
Files: files | file ages | folders
SHA3-256:90ba2b2e5ce2619e68879eb325b43639159f27eb462b9fb6795534c91200a3d2
User & Date: drh 2018-05-28 17:43:28
Context
2018-05-28
18:25
When compiling with SQLITE_DEBUG, add run-time checks to ensure that no statement aborts unless either there have been no writes or else there is a statement journal. check-in: ce99c772 user: drh tags: trunk
17:43
Fix the build so that it works with -DSQLITE_TEST_REALLOC_STRESS Closed-Leaf check-in: 90ba2b2e user: drh tags: stmt-journal-testing
17:31
When compiling with SQLITE_DEBUG, add run-time checks to ensure that no statement aborts unless either there have been no writes or else there is a statement journal. check-in: 5a4542db user: drh tags: stmt-journal-testing
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbe.h.

   189    189   int sqlite3VdbeAddOp4(Vdbe*,int,int,int,int,const char *zP4,int);
   190    190   int sqlite3VdbeAddOp4Dup8(Vdbe*,int,int,int,int,const u8*,int);
   191    191   int sqlite3VdbeAddOp4Int(Vdbe*,int,int,int,int,int);
   192    192   void sqlite3VdbeEndCoroutine(Vdbe*,int);
   193    193   #if defined(SQLITE_DEBUG) && !defined(SQLITE_TEST_REALLOC_STRESS)
   194    194     void sqlite3VdbeVerifyNoMallocRequired(Vdbe *p, int N);
   195    195     void sqlite3VdbeVerifyNoResultRow(Vdbe *p);
   196         -  void sqlite3VdbeVerifyAbortable(Vdbe *p, int);
   197    196   #else
   198    197   # define sqlite3VdbeVerifyNoMallocRequired(A,B)
   199    198   # define sqlite3VdbeVerifyNoResultRow(A)
          199  +#endif
          200  +#if defined(SQLITE_DEBUG)
          201  +  void sqlite3VdbeVerifyAbortable(Vdbe *p, int);
          202  +#else
   200    203   # define sqlite3VdbeVerifyAbortable(A,B)
   201    204   #endif
   202    205   VdbeOp *sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp,int iLineno);
   203    206   #ifndef SQLITE_OMIT_EXPLAIN
   204    207     void sqlite3VdbeExplain(Parse*,u8,const char*,...);
   205    208     void sqlite3VdbeExplainPop(Parse*);
   206    209     int sqlite3VdbeExplainParent(Parse*);