aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-06-09 15:14:41 +0000
committerdrh <drh@noemail.net>2017-06-09 15:14:41 +0000
commite9acf4b48eb1723721bd7693f6f04ec4d19bb3db (patch)
tree38a93412969f4356d7e9e63764321405d629a6d5 /src/sqliteInt.h
parent0282c03abc9f84183cbca8112f81234ba142c464 (diff)
parentc097b309aa9d6d51bc5edfb7e62c14f3af1be72c (diff)
downloadsqlite-e9acf4b48eb1723721bd7693f6f04ec4d19bb3db.tar.gz
sqlite-e9acf4b48eb1723721bd7693f6f04ec4d19bb3db.zip
Merge enhancements and fixes from trunk.
FossilOrigin-Name: 3fd050c343256c0748256ef183b46df04d9e0da0f81b841dbd336034402b36ab
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 8c52e02c8..9252c352b 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3402,11 +3402,14 @@ int sqlite3CantopenError(int);
#ifdef SQLITE_DEBUG
int sqlite3NomemError(int);
int sqlite3IoerrnomemError(int);
+ int sqlite3CorruptPgnoError(int,Pgno);
# define SQLITE_NOMEM_BKPT sqlite3NomemError(__LINE__)
# define SQLITE_IOERR_NOMEM_BKPT sqlite3IoerrnomemError(__LINE__)
+# define SQLITE_CORRUPT_PGNO(P) sqlite3CorruptPgnoError(__LINE__,(P))
#else
# define SQLITE_NOMEM_BKPT SQLITE_NOMEM
# define SQLITE_IOERR_NOMEM_BKPT SQLITE_IOERR_NOMEM
+# define SQLITE_CORRUPT_PGNO(P) sqlite3CorruptError(__LINE__)
#endif
/*