mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Increase severity level and use a more precise error message.
This commit is contained in:
parent
1c7cfe739d
commit
de56cc51a8
3 changed files with 3 additions and 3 deletions
|
@ -1810,7 +1810,7 @@ PHP_FUNCTION(sqlite_fetch_all)
|
|||
|
||||
if (res->curr_row >= res->nrows && res->nrows) {
|
||||
if (!res->buffered) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "One or more rowsets were already returned");
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "One or more rowsets were already returned; returning NULL this time");
|
||||
} else {
|
||||
res->curr_row = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue