mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
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.
This commit is contained in:
@ -111,7 +111,8 @@ class Select_materialize: public select_union
|
|||||||
select_result *result; /**< the result object of the caller (PS or SP) */
|
select_result *result; /**< the result object of the caller (PS or SP) */
|
||||||
public:
|
public:
|
||||||
Materialized_cursor *materialized_cursor;
|
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);
|
virtual bool send_fields(List<Item> &list, uint flags);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user