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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user