aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2016-02-13 23:43:46 +0000
committermistachkin <mistachkin@noemail.net>2016-02-13 23:43:46 +0000
commitfad3039c51e1c500d489568b6e726353fa82fb1e (patch)
tree801352436c8975e7da7ba1a7c16bbba48072cdcf /src/sqliteInt.h
parente75a9eb9bbf2e2934e292b475088f447191f9cf4 (diff)
downloadsqlite-fad3039c51e1c500d489568b6e726353fa82fb1e.tar.gz
sqlite-fad3039c51e1c500d489568b6e726353fa82fb1e.zip
Enhance ability to debug out-of-memory errors.
FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index f04aebe79..abb827ced 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3166,9 +3166,13 @@ struct TreeView {
int sqlite3CorruptError(int);
int sqlite3MisuseError(int);
int sqlite3CantopenError(int);
+int sqlite3NomemError(int);
+int sqlite3IoerrnomemError(int);
#define SQLITE_CORRUPT_BKPT sqlite3CorruptError(__LINE__)
#define SQLITE_MISUSE_BKPT sqlite3MisuseError(__LINE__)
#define SQLITE_CANTOPEN_BKPT sqlite3CantopenError(__LINE__)
+#define SQLITE_NOMEM_BKPT sqlite3NomemError(__LINE__)
+#define SQLITE_IOERR_NOMEM_BKPT sqlite3IoerrnomemError(__LINE__)
/*
** FTS3 and FTS4 both require virtual table support