Skip to content

Commit

Permalink
fix MySQLResult's init
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Jun 3, 2021
1 parent a3db357 commit 7e26feb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/protocol/MySQLResult.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 7e26feb

Please sign in to comment.