helly Thu Jan 8 14:28:56 2004 EDT
Modified files:
/php-src/ext/sqlite sqlite.c
Log:
There's no more interaction with SPL
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.110 php-src/ext/sqlite/sqlite.c:1.111
--- php-src/ext/sqlite/sqlite.c:1.110 Thu Jan 8 03:17:29 2004
+++ php-src/ext/sqlite/sqlite.c Thu Jan 8 14:28:55 2004
@@ -17,7 +17,7 @@
| Marcus Boerger <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: sqlite.c,v 1.110 2004/01/08 08:17:29 andi Exp $
+ $Id: sqlite.c,v 1.111 2004/01/08 19:28:55 helly Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -43,11 +43,6 @@
#include "zend_default_classes.h"
-#ifdef HAVE_SPL
-#include "ext/spl/php_spl.h"
-#include "ext/spl/spl_functions.h"
-#endif
-
#ifndef safe_emalloc
# define safe_emalloc(a,b,c) emalloc((a)*(b)+(c))
#endif
@@ -1059,16 +1054,6 @@
PHP_RINIT_FUNCTION(sqlite)
{
-#if 0 && HAVE_SPL
- if (!sqlite_ce_query->num_interfaces) {
- spl_register_implement(sqlite_ce_query, spl_ce_forward TSRMLS_CC);
- spl_register_implement(sqlite_ce_query, spl_ce_sequence TSRMLS_CC);
- }
- if (!sqlite_ce_ub_query->num_interfaces) {
- spl_register_implement(sqlite_ce_ub_query, spl_ce_forward TSRMLS_CC);
- }
-#endif
-
return SUCCESS;
}
@@ -1076,7 +1061,7 @@
{
php_info_print_table_start();
php_info_print_table_header(2, "SQLite support", "enabled");
- php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION "
$Id: sqlite.c,v 1.110 2004/01/08 08:17:29 andi Exp $");
+ php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION "
$Id: sqlite.c,v 1.111 2004/01/08 19:28:55 helly Exp $");
php_info_print_table_row(2, "SQLite Library", sqlite_libversion());
php_info_print_table_row(2, "SQLite Encoding", sqlite_libencoding());
php_info_print_table_end();
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php