fix MySQLResult's init

This commit is contained in:
XieHan
2021-06-03 21:37:53 +08:00
parent a3db3575ab
commit 7e26feb813

View File

@@ -131,6 +131,7 @@ void MySQLResultCursor::init(const MySQLResponse *resp)
this->field_count = 0;
this->fields = NULL;
this->parser = resp->get_parser();
this->status = MYSQL_STATUS_NOT_INIT;
if (!list_empty(&this->parser->result_set_list))
{