/ Check-in [06d65400]
Login

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

Overview
Comment:Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:06d6540026568ca69410354ca8d85da78970c94b
User & Date: drh 2006-01-23 14:05:18
Context
2006-01-23
15:25
Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001) check-in: a9ec5ee4 user: danielk1977 tags: trunk
14:05
Fix os_common.h so that the code builds without -DSQLITE_MEMDEBUG. (CVS 3000) check-in: 06d65400 user: drh tags: trunk
13:47
Do not automatically rollback at the btree or pager level if a commit fails. (CVS 2999) check-in: 0f6329ef user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_common.h.

   179    179     p = realloc(p, n);
   180    180     return p;
   181    181   }
   182    182   void sqlite3GenericFree(void *p){
   183    183     assert(p);
   184    184     free(p);
   185    185   }
   186         -#if 0   /* Never actually invoked */
   187         -int sqlite3GenericAllocationSize(void *p){
   188         -  assert(0);
   189         -}
   190         -#endif
          186  +/* Never actually used, but needed for the linker */
          187  +int sqlite3GenericAllocationSize(void *p){ return 0; }
   191    188   #endif