|
|
@ -1029,7 +1029,8 @@ static void php_pgsql_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_typ |
|
|
convert_to_long_ex(field); |
|
|
convert_to_long_ex(field); |
|
|
|
|
|
|
|
|
if (Z_LVAL_PP(field) < 0 || Z_LVAL_PP(field) >= PQnfields(pgsql_result)) { |
|
|
if (Z_LVAL_PP(field) < 0 || Z_LVAL_PP(field) >= PQnfields(pgsql_result)) { |
|
|
php_error(E_WARNING,"Bad field offset specified"); |
|
|
|
|
|
|
|
|
php_error(E_WARNING,"%s() bad field offset specified", |
|
|
|
|
|
get_active_function_name(TSRMLS_C)); |
|
|
RETURN_FALSE; |
|
|
RETURN_FALSE; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|