mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
parent
d3aff0f6ee
commit
b8624e7e08
@ -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;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user