svn: /php/php-src/trunk/ext/dba/ dba_inifile.c

From: Date: Sun, 13 Mar 2011 14:57:19 +0000
Subject: svn: /php/php-src/trunk/ext/dba/ dba_inifile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64670@lists.php.net to get a copy of this message
felipe Sun, 13 Mar 2011 14:57:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309174 Log: - Fix infile return on duplicated key (related to bug #54242) Bug: http://bugs.php.net/54242 (Closed) dba_insert returns true if key already exists Changed paths: U php/php-src/trunk/ext/dba/dba_inifile.c Modified: php/php-src/trunk/ext/dba/dba_inifile.c =================================================================== --- php/php-src/trunk/ext/dba/dba_inifile.c 2011-03-13 14:29:24 UTC (rev 309173) +++ php/php-src/trunk/ext/dba/dba_inifile.c 2011-03-13 14:57:19 UTC (rev 309174) @@ -102,7 +102,7 @@ return SUCCESS; case 1: php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists"); - return SUCCESS; + return FAILURE; } }

« previous php.cvs (#64670) next »