summaryrefslogtreecommitdiff
path: root/ext/sqlite/php_sqlite.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-04-20 13:31:36 +0000
committerWez Furlong <wez@php.net>2003-04-20 13:31:36 +0000
commitd40a615a8e2d09b66369fabb36f75022904172be (patch)
treeb602f9f927e80fb924bf736210c19145b173606b /ext/sqlite/php_sqlite.h
parentb0d26a11ac6ffe0222206a5635c64704ed8770f2 (diff)
downloadphp-git-d40a615a8e2d09b66369fabb36f75022904172be.tar.gz
Implement sqlite_create_function(), which allows binding of php functions by
name; this is a higher performance alternative to the generic php() SQL function. (saves parsing the additional function call in the SQL and a call to zend_is_callable on each function invocation). Add test for sqlite_create_function(). Fixup proto for sqlite_create_aggregate(). Tweak package file and speling in header file.
Diffstat (limited to 'ext/sqlite/php_sqlite.h')
-rw-r--r--ext/sqlite/php_sqlite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/sqlite/php_sqlite.h b/ext/sqlite/php_sqlite.h
index 8cf157af09..d85ac4bc3e 100644
--- a/ext/sqlite/php_sqlite.h
+++ b/ext/sqlite/php_sqlite.h
@@ -13,7 +13,7 @@
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Wez Furlong <wez@thebrainroom.com> |
- | Tal Peer <tal@php.net |
+ | Tal Peer <tal@php.net> |
+----------------------------------------------------------------------+
$Id$
@@ -67,6 +67,7 @@ PHP_FUNCTION(sqlite_last_error);
PHP_FUNCTION(sqlite_error_string);
PHP_FUNCTION(sqlite_create_aggregate);
+PHP_FUNCTION(sqlite_create_function);
#ifdef ZTS
#define SQLITE_G(v) TSRMG(sqlite_globals_id, zend_sqlite_globals *, v)