diff options
author | Zak Greant <zak@php.net> | 2002-05-08 07:38:09 +0000 |
---|---|---|
committer | Zak Greant <zak@php.net> | 2002-05-08 07:38:09 +0000 |
commit | 4128739695ec78b7d4416c1a0cd8134d83cf3506 (patch) | |
tree | ec771588576ce0ebe459bc5397a1dc04109b810a /ext/mysql/php_mysql.c | |
parent | 1a3c8e6289e9de2d24e07b33420b788969b986e9 (diff) | |
download | php-git-4128739695ec78b7d4416c1a0cd8134d83cf3506.tar.gz |
Minor improvement to error message for mysql_data_seek
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 424b70282d..da12b4091a 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1880,7 +1880,7 @@ PHP_FUNCTION(mysql_data_seek) convert_to_long_ex(offset); if (Z_LVAL_PP(offset)<0 || Z_LVAL_PP(offset)>=(int)mysql_num_rows(mysql_result)) { - php_error(E_WARNING, "Offset %d is invalid for MySQL result index %d", Z_LVAL_PP(offset), Z_LVAL_PP(result)); + php_error(E_WARNING, "Offset %d is invalid for MySQL result index %d (or the query data is unbuffered)", Z_LVAL_PP(offset), Z_LVAL_PP(result)); RETURN_FALSE; } mysql_data_seek(mysql_result, Z_LVAL_PP(offset)); |