aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-07-23 18:17:32 +0000
committerdrh <drh@noemail.net>2008-07-23 18:17:32 +0000
commit4dc754d96d02536e9c70e225006fd74f40760ce9 (patch)
treed700f06b5fb1995e474ef3305c10ab4aa6c7dca5 /src/sqliteInt.h
parentb25f9d84cd583623a9bba8d398a4a31ccbff3c34 (diff)
downloadsqlite-4dc754d96d02536e9c70e225006fd74f40760ce9.tar.gz
sqlite-4dc754d96d02536e9c70e225006fd74f40760ce9.zip
Read the sqlite3_vtab.zErrMsg after each call to a virtual table
method and transfer any error into the database connection. Fix the fts2.test and fts3.test scripts to that they return silently rather than failing the test sequence if the appropriate FTS implementation is unavailable. (CVS 5463) FossilOrigin-Name: e2c6771d44f1b4fee16ef90e91c3498be2a7d2b1
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index cd976f14e..07d7a3f81 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.742 2008/07/12 14:52:20 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.743 2008/07/23 18:17:32 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -2215,11 +2215,13 @@ int sqlite3AutoLoadExtensions(sqlite3*);
# define sqlite3VtabSync(X,Y) (Y)
# define sqlite3VtabRollback(X)
# define sqlite3VtabCommit(X)
+# define sqlite3VtabTransferError(A,B,C)
#else
void sqlite3VtabClear(Table*);
int sqlite3VtabSync(sqlite3 *db, int rc);
int sqlite3VtabRollback(sqlite3 *db);
int sqlite3VtabCommit(sqlite3 *db);
+ void sqlite3VtabTransferError(sqlite3 *db, int, sqlite3_vtab*);
#endif
void sqlite3VtabMakeWritable(Parse*,Table*);
void sqlite3VtabLock(sqlite3_vtab*);