tiny optimisation

This commit is contained in:
Thies C. Arntzen 2000-01-01 16:54:55 +00:00
parent e81d9aaca3
commit 8edf2b88dc

View File

@ -1247,9 +1247,9 @@ PHP_FUNCTION(mysql_result)
}
}
return_value->type = IS_STRING;
if (sql_row[field_offset]) {
return_value->type = IS_STRING;
if (PG(magic_quotes_runtime)) {
return_value->value.str.val = php_addslashes(sql_row[field_offset],sql_row_lengths[field_offset],&return_value->value.str.len,0);
} else {