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

From: Date: Sun, 13 Mar 2011 14:21:58 +0000
Subject: svn: /php/php-src/trunk/ext/dba/ dba_flatfile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-64669@lists.php.net to get a copy of this message
felipe Sun, 13 Mar 2011 14:21:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309172 Log: - Fixed bug #54242 (dba_insert returns true if key already exists) Bug: http://bugs.php.net/54242 (Open) dba_insert returns true if key already exists Changed paths: U php/php-src/trunk/ext/dba/dba_flatfile.c Modified: php/php-src/trunk/ext/dba/dba_flatfile.c =================================================================== --- php/php-src/trunk/ext/dba/dba_flatfile.c 2011-03-13 14:19:31 UTC (rev 309171) +++ php/php-src/trunk/ext/dba/dba_flatfile.c 2011-03-13 14:21:58 UTC (rev 309172) @@ -96,7 +96,7 @@ return SUCCESS; case 1: php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists"); - return SUCCESS; + return FAILURE; } }

« previous php.cvs (#64669) next »