/ Check-in [8caa9f95]
Login

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

Overview
Comment:Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8caa9f95b8a36e34510cf46d518bd63bd8fa0a32
User & Date: drh 2006-01-23 13:28:54
Context
2006-01-23
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
13:28
Fix to sqlite3AllocMalloc() when it is a no-op macro. (CVS 2998) check-in: 8caa9f95 user: drh tags: trunk
13:22
Do not name variables "operator" because some compilers do not realize that "operator" is not a reserved word in ANSI-C. Ticket #1625. (CVS 2997) check-in: 1f42a338 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h.

     7      7   **    May you do good and not evil.
     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** Internal interface definitions for SQLite.
    13     13   **
    14         -** @(#) $Id: sqliteInt.h,v 1.477 2006/01/23 13:00:38 drh Exp $
           14  +** @(#) $Id: sqliteInt.h,v 1.478 2006/01/23 13:28:54 drh Exp $
    15     15   */
    16     16   #ifndef _SQLITEINT_H_
    17     17   #define _SQLITEINT_H_
    18     18   
    19     19   /*
    20     20   ** Extra interface definitions for those who need them
    21     21   */
................................................................................
  1755   1755   #endif
  1756   1756   
  1757   1757   #ifdef SQLITE_MEMDEBUG
  1758   1758     void sqlite3MallocDisallow(void);
  1759   1759     void sqlite3MallocAllow(void);
  1760   1760     int sqlite3TestMallocFail(void);
  1761   1761   #else
  1762         -  #define sqlite3TestMallocFail(void) 0
  1763         -  #define sqlite3MallocDisallow(void)
  1764         -  #define sqlite3MallocAllow(void)
         1762  +  #define sqlite3TestMallocFail() 0
         1763  +  #define sqlite3MallocDisallow()
         1764  +  #define sqlite3MallocAllow()
  1765   1765   #endif
  1766   1766   
  1767   1767   #ifdef SQLITE_SSE
  1768   1768   #include "sseInt.h"
  1769   1769   #endif
  1770   1770   
  1771   1771   #endif