mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Fixed bug #54242 (dba_insert returns true if key already exists)
This commit is contained in:
parent
03b63d57be
commit
5500c1cc17
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue