From d40a615a8e2d09b66369fabb36f75022904172be Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 20 Apr 2003 13:31:36 +0000 Subject: 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. --- ext/sqlite/php_sqlite.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/sqlite/php_sqlite.h') 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 | - | Tal Peer | +----------------------------------------------------------------------+ $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) -- cgit v1.2.1