1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

- 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;
case 1:
php_error_docref1(NULL TSRMLS_CC, key, E_WARNING, "Key already exists");
return SUCCESS;
return FAILURE;
}
}