cvs: pecl /pdo pdo.c

From: Date: Tue, 21 Feb 2006 00:55:38 +0000
Subject: cvs: pecl /pdo pdo.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-5234@lists.php.net to get a copy of this message
helly Tue Feb 21 00:55:38 2006 UTC Modified files: /pecl/pdo pdo.c Log: - Simplify by remove redundant checks http://cvs.php.net/viewcvs.cgi/pecl/pdo/pdo.c?r1=1.71&r2=1.72&diff_format=u Index: pecl/pdo/pdo.c diff -u pecl/pdo/pdo.c:1.71 pecl/pdo/pdo.c:1.72 --- pecl/pdo/pdo.c:1.71 Mon Feb 13 10:23:57 2006 +++ pecl/pdo/pdo.c Tue Feb 21 00:55:38 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pdo.c,v 1.71 2006/02/13 10:23:57 dmitry Exp $ */ +/* $Id: pdo.c,v 1.72 2006/02/21 00:55:38 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -67,7 +67,7 @@ PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC) { -#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) && ((PHP_MAJOR_VERSION > 5) || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 1)) +#if can_handle_soft_dependency_on_SPL && defined(HAVE_SPL) if (!root) { if (!spl_ce_RuntimeException) { zend_class_entry **pce;

« previous php.pecl.cvs (#5234) next »