Increase severity level and use a more precise error message.

This commit is contained in:
Marcus Boerger 2004-04-03 14:40:36 +00:00
parent 1c7cfe739d
commit de56cc51a8
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}