cvs: php-src(PHP_5_0) /ext/sqlite sqlite.c
| From: | Marcus Boerger | Date: | Thu, 26 May 2005 11:56:04 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/sqlite sqlite.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32015@lists.php.net to get a copy of this message | ||
helly Thu May 26 07:56:04 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/sqlite sqlite.c
Log:
- MFH making SQLiteDatabase derivable
http://cvs.php.net/diff.php/php-src/ext/sqlite/sqlite.c?r1=1.146.2.4&r2=1.146.2.5&ty=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.146.2.4 php-src/ext/sqlite/sqlite.c:1.146.2.5
--- php-src/ext/sqlite/sqlite.c:1.146.2.4 Mon Apr 18 22:59:10 2005
+++ php-src/ext/sqlite/sqlite.c Thu May 26 07:56:03 2005
@@ -17,7 +17,7 @@
| Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
- $Id: sqlite.c,v 1.146.2.4 2005/04/19 02:59:10 iliaa Exp $
+ $Id: sqlite.c,v 1.146.2.5 2005/05/26 11:56:03 helly Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -998,6 +998,10 @@
REGISTER_SQLITE_CLASS(Result, query, NULL);
REGISTER_SQLITE_CLASS(Unbuffered, ub_query, NULL);
REGISTER_SQLITE_CLASS(Exception, exception, zend_exception_get_default());
+
+ sqlite_ce_db->ce_flags &= ~ZEND_ACC_FINAL_CLASS;
+ sqlite_ce_db->constructor->common.fn_flags |= ZEND_ACC_FINAL;
+
sqlite_object_handlers_query.get_class_entry = sqlite_get_ce_query;
sqlite_object_handlers_ub_query.get_class_entry = sqlite_get_ce_ub_query;
@@ -1072,7 +1076,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.146.2.4 2005/04/19 02:59:10 iliaa Exp $");
+ php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION " $Id:
sqlite.c,v 1.146.2.5 2005/05/26 11:56:03 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();