/ Check-in [3564b07c]
Login

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

Overview
Comment:Minor build fixes. (CVS 3419)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3564b07c40ab4563482a9aa36850757963f44238
User & Date: adamd 2006-09-14 16:57:20
Context
2006-09-14
18:25
Remove file containing real email addresses. Ticket #1978. (CVS 3420) check-in: 373a575f user: drh tags: trunk
16:57
Minor build fixes. (CVS 3419) check-in: 3564b07c user: adamd tags: trunk
13:47
Enhanced I/O error simulation. (CVS 3418) check-in: 86931854 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_common.h.

   106    106          CODE; \
   107    107        }else{ \
   108    108          sqlite3_diskfull_pending--; \
   109    109        } \
   110    110      }
   111    111   #else
   112    112   #define SimulateIOError(A)
   113         -#define SimulateDiskfullError
          113  +#define SimulateDiskfullError(A)
   114    114   #endif
   115    115   
   116    116   /*
   117    117   ** When testing, keep a count of the number of open files.
   118    118   */
   119    119   #ifdef SQLITE_TEST
   120    120   int sqlite3_open_file_count = 0;

Changes to src/vdbeaux.c.

  1579   1579   ** If a MoveTo operation is pending on the given cursor, then do that
  1580   1580   ** MoveTo now.  Return an error code.  If no MoveTo is pending, this
  1581   1581   ** routine does nothing and returns SQLITE_OK.
  1582   1582   */
  1583   1583   int sqlite3VdbeCursorMoveto(Cursor *p){
  1584   1584     if( p->deferredMoveto ){
  1585   1585       int res, rc;
         1586  +#ifdef SQLITE_TEST
  1586   1587       extern int sqlite3_search_count;
         1588  +#endif
  1587   1589       assert( p->isTable );
  1588   1590       if( p->isTable ){
  1589   1591         rc = sqlite3BtreeMoveto(p->pCursor, 0, p->movetoTarget, &res);
  1590   1592       }else{
  1591   1593         rc = sqlite3BtreeMoveto(p->pCursor,(char*)&p->movetoTarget,
  1592   1594                                 sizeof(i64),&res);
  1593   1595       }