/ Check-in [e9753d9a]
Login

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

Overview
Comment:Update a comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | noMemBkpt
Files: files | file ages | folders
SHA1: e9753d9a2c1269050f886e6cb9bc9cba0a8df6ce
User & Date: mistachkin 2016-02-14 00:14:35
Context
2016-02-15
18:15
Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors. Only effective with compiling with SQLITE_DEBUG. check-in: 9b345476 user: drh tags: trunk
2016-02-14
00:14
Update a comment. Closed-Leaf check-in: e9753d9a user: mistachkin tags: noMemBkpt
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. check-in: 6a9c4a3e user: mistachkin tags: noMemBkpt
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

  3201   3201     }
  3202   3202   #endif
  3203   3203     return db->autoCommit;
  3204   3204   }
  3205   3205   
  3206   3206   /*
  3207   3207   ** The following routines are substitutes for constants SQLITE_CORRUPT,
  3208         -** SQLITE_MISUSE, SQLITE_CANTOPEN, SQLITE_IOERR and possibly other error
         3208  +** SQLITE_MISUSE, SQLITE_CANTOPEN, SQLITE_NOMEM and possibly other error
  3209   3209   ** constants.  They serve two purposes:
  3210   3210   **
  3211   3211   **   1.  Serve as a convenient place to set a breakpoint in a debugger
  3212   3212   **       to detect when version error conditions occurs.
  3213   3213   **
  3214   3214   **   2.  Invoke sqlite3_log() to provide the source code location where
  3215   3215   **       a low-level error is first detected.