summaryrefslogtreecommitdiff
path: root/ext/sqlite/php_sqlite.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-04-17 20:08:00 +0000
committerWez Furlong <wez@php.net>2003-04-17 20:08:00 +0000
commitec09b1b88191e6c6547684fb9a93c38b1c11e36f (patch)
tree31845c40acd8610e1c5e0e39fd2aaeb34d0fd1a3 /ext/sqlite/php_sqlite.h
parent02ee8fffa3403f18686ea858292b53fa0a16bec3 (diff)
downloadphp-git-ec09b1b88191e6c6547684fb9a93c38b1c11e36f.tar.gz
Add two new functions:
int sqlite_last_error($db) -- returns error code from last query string sqlite_error_string(int code) -- returns english description of an error code.
Diffstat (limited to 'ext/sqlite/php_sqlite.h')
-rw-r--r--ext/sqlite/php_sqlite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sqlite/php_sqlite.h b/ext/sqlite/php_sqlite.h
index 40f72902a8..fd4b723c80 100644
--- a/ext/sqlite/php_sqlite.h
+++ b/ext/sqlite/php_sqlite.h
@@ -60,6 +60,9 @@ PHP_FUNCTION(sqlite_escape_string);
PHP_FUNCTION(sqlite_busy_timeout);
+PHP_FUNCTION(sqlite_last_error);
+PHP_FUNCTION(sqlite_error_string);
+
#ifdef ZTS
#define SQLITE_G(v) TSRMG(sqlite_globals_id, zend_sqlite_globals *, v)
#else