Commit c1444fce authored by unknown's avatar unknown

Fix broken --cursor-protocol (all tests).


sql/sql_cursor.cc:
  Fix broken --cursor-protocol (all tests). Initialize a variable
  that was for some reason not initialized.
parent 95909188
......@@ -111,7 +111,8 @@ class Select_materialize: public select_union
select_result *result; /**< the result object of the caller (PS or SP) */
public:
Materialized_cursor *materialized_cursor;
Select_materialize(select_result *result_arg) :result(result_arg) {}
Select_materialize(select_result *result_arg)
:result(result_arg), materialized_cursor(0) {}
virtual bool send_fields(List<Item> &list, uint flags);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment