- Fixed bug #54242 (dba_insert returns true if key already exists)

This commit is contained in:
Felipe Pena 2011-03-13 14:21:58 +00:00
parent 03b63d57be
commit 5500c1cc17

View file

@ -96,7 +96,7 @@ DBA_UPDATE_FUNC(flatfile)
return SUCCESS; return SUCCESS;
case 1: case 1:
php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists"); php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists");
return SUCCESS; return FAILURE;
} }
} }