felipe          Mon Mar 23 11:01:07 2009 UTC

  Modified files:              
    /php-src/ext/sqlite sqlite.c 
  Log:
  - Fixed build
  
http://cvs.php.net/viewvc.cgi/php-src/ext/sqlite/sqlite.c?r1=1.224&r2=1.225&diff_format=u
Index: php-src/ext/sqlite/sqlite.c
diff -u php-src/ext/sqlite/sqlite.c:1.224 php-src/ext/sqlite/sqlite.c:1.225
--- php-src/ext/sqlite/sqlite.c:1.224   Sun Mar 22 15:07:31 2009
+++ php-src/ext/sqlite/sqlite.c Mon Mar 23 11:01:07 2009
@@ -17,7 +17,7 @@
    |          Marcus Boerger <he...@php.net>                              |
    +----------------------------------------------------------------------+
 
-   $Id: sqlite.c,v 1.224 2009/03/22 15:07:31 iliaa Exp $
+   $Id: sqlite.c,v 1.225 2009/03/23 11:01:07 felipe Exp $
 */
 
 #ifdef HAVE_CONFIG_H
@@ -1550,7 +1550,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.224 2009/03/22 15:07:31 iliaa Exp 
$");
+       php_info_print_table_row(2, "PECL Module version", 
PHP_SQLITE_MODULE_VERSION " $Id: sqlite.c,v 1.225 2009/03/23 11:01:07 felipe 
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();
@@ -2578,7 +2578,7 @@
                        return;
                }
                RES_FROM_OBJECT_RESTORE_ERH(res, object, &error_handling);
-               if (!class_name) {
+               if (!class_name.v) {
                        ce = zend_standard_class_def;
                } else {
                        ce = zend_u_fetch_class(class_name_type, class_name, 
class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
@@ -2589,7 +2589,7 @@
                        return;
                }
                ZEND_FETCH_RESOURCE(res, struct php_sqlite_result *, &zres, -1, 
"sqlite result", le_sqlite_result);
-               if (!class_name) {
+               if (!class_name.v) {
                        ce = zend_standard_class_def;
                } else {
                        ce = zend_u_fetch_class(class_name_type, class_name, 
class_name_len, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to