cvs: php-src(PHP_5_3) /ext/pdo_firebird firebird_driver.c

From: Date: Sun, 13 Jul 2008 10:55:50 +0000
Subject: cvs: php-src(PHP_5_3) /ext/pdo_firebird firebird_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-51047@lists.php.net to get a copy of this message
tony2001 Sun Jul 13 10:55:50 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/pdo_firebird firebird_driver.c Log: blind fix for a segfault in ext/pdo_firebird/tests/bug_38253.phpt http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_firebird/firebird_driver.c?r1=1.17.2.2.2.4.2.3&r2=1.17.2.2.2.4.2.4&diff_format=u Index: php-src/ext/pdo_firebird/firebird_driver.c diff -u php-src/ext/pdo_firebird/firebird_driver.c:1.17.2.2.2.4.2.3 php-src/ext/pdo_firebird/firebird_driver.c:1.17.2.2.2.4.2.4 --- php-src/ext/pdo_firebird/firebird_driver.c:1.17.2.2.2.4.2.3 Mon Dec 31 07:17:12 2007 +++ php-src/ext/pdo_firebird/firebird_driver.c Sun Jul 13 10:55:50 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: firebird_driver.c,v 1.17.2.2.2.4.2.3 2007/12/31 07:17:12 sebastian Exp $ */ +/* $Id: firebird_driver.c,v 1.17.2.2.2.4.2.4 2008/07/13 10:55:50 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -608,7 +608,7 @@ strcpy(&buf[i++], " "); } add_next_index_string(info, buf, 1); - } else { + } else if (H->last_app_error) { add_next_index_long(info, -999); add_next_index_string(info, const_cast(H->last_app_error),1); }

« previous php.cvs (#51047) next »