This commit is contained in:
Zeev Suraski 2001-08-18 16:56:34 +00:00
parent d3aff0f6ee
commit b8624e7e08

View File

@ -849,11 +849,10 @@ PHP_FUNCTION(msql_result)
return_value->value.str.len = (sql_row[field_offset]?strlen(sql_row[field_offset]):0);
return_value->value.str.val = (char *) safe_estrndup(sql_row[field_offset],return_value->value.str.len);
}
return_value->type = IS_STRING;
} else {
ZVAL_FALSE(return_value);
}
return_value->type = IS_STRING;
}
/* }}} */