helly Sat Dec 27 17:16:14 2003 EDT
Modified files:
/php-src/ext/sqlite sqlite.c
Log:
Correct in order
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.106 php-src/ext/sqlite/sqlite.c:1.107
--- php-src/ext/sqlite/sqlite.c:1.106 Sat Dec 27 17:11:48 2003
+++ php-src/ext/sqlite/sqlite.c Sat Dec 27 17:16:13 2003
@@ -17,7 +17,7 @@
| Marcus Boerger <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
- $Id: sqlite.c,v 1.106 2003/12/27 22:11:48 helly Exp $
+ $Id: sqlite.c,v 1.107 2003/12/27 22:16:13 helly Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -373,7 +373,7 @@
static int php_sqlite_forget_persistent_id_numbers(zend_rsrc_list_entry *rsrc
TSRMLS_DC)
{
- struct php_sqlite_db *db;
+ struct php_sqlite_db *db = (struct php_sqlite_db*)rsrc->ptr;
/* prevent bad mojo if someone tries to use a previously registered function
in the next request */
zend_hash_apply(&db->callbacks, (apply_func_t)php_sqlite_callback_invalidator
TSRMLS_CC);
@@ -382,8 +382,6 @@
return 0;
}
- db = (struct php_sqlite_db*)rsrc->ptr;
-
db->rsrc_id = FAILURE;
/* don't leave pending commits hanging around */
@@ -1073,7 +1071,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.106 2003/12/27 22:11:48 helly Exp $");
+ php_info_print_table_row(2, "PECL Module version", PHP_SQLITE_MODULE_VERSION "
$Id: sqlite.c,v 1.107 2003/12/27 22:16:13 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