mirror of
https://github.com/MariaDB/server.git
synced 2025-12-06 05:42:06 +03:00
Merge 10.2 into 10.3
This commit is contained in:
@@ -4981,7 +4981,7 @@ public:
|
||||
unit= u;
|
||||
return 0;
|
||||
}
|
||||
virtual int prepare2(void) { return 0; }
|
||||
virtual int prepare2(JOIN *join) { return 0; }
|
||||
/*
|
||||
Because of peculiarities of prepared statements protocol
|
||||
we need to know number of columns in the result set (if
|
||||
@@ -4990,7 +4990,7 @@ public:
|
||||
virtual uint field_count(List<Item> &fields) const
|
||||
{ return fields.elements; }
|
||||
virtual bool send_result_set_metadata(List<Item> &list, uint flags)=0;
|
||||
virtual bool initialize_tables (JOIN *join=0) { return 0; }
|
||||
virtual bool initialize_tables (JOIN *join) { return 0; }
|
||||
virtual bool send_eof()=0;
|
||||
/**
|
||||
Check if this query returns a result set and therefore is allowed in
|
||||
@@ -5225,7 +5225,7 @@ class select_insert :public select_result_interceptor {
|
||||
enum_duplicates duplic, bool ignore);
|
||||
~select_insert();
|
||||
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
||||
virtual int prepare2(void);
|
||||
virtual int prepare2(JOIN *join);
|
||||
virtual int send_data(List<Item> &items);
|
||||
virtual void store_values(List<Item> &values);
|
||||
virtual bool can_rollback_data() { return 0; }
|
||||
@@ -5277,7 +5277,7 @@ public:
|
||||
// Needed for access from local class MY_HOOKS in prepare(), since thd is proteted.
|
||||
const THD *get_thd(void) { return thd; }
|
||||
const HA_CREATE_INFO *get_create_info() { return create_info; };
|
||||
int prepare2(void) { return 0; }
|
||||
int prepare2(JOIN *join) { return 0; }
|
||||
|
||||
private:
|
||||
TABLE *create_table_from_items(THD *thd,
|
||||
@@ -5542,7 +5542,7 @@ public:
|
||||
bool postponed_prepare(List<Item> &types);
|
||||
bool send_result_set_metadata(List<Item> &list, uint flags);
|
||||
int send_data(List<Item> &items);
|
||||
bool initialize_tables (JOIN *join= NULL);
|
||||
bool initialize_tables (JOIN *join);
|
||||
bool send_eof();
|
||||
bool flush() { return false; }
|
||||
bool check_simple_select() const
|
||||
@@ -5961,6 +5961,7 @@ public:
|
||||
int prepare(List<Item> &list, SELECT_LEX_UNIT *u);
|
||||
int send_data(List<Item> &items);
|
||||
bool initialize_tables (JOIN *join);
|
||||
int prepare2(JOIN *join);
|
||||
int do_updates();
|
||||
bool send_eof();
|
||||
inline ha_rows num_found() const { return found; }
|
||||
|
||||
Reference in New Issue
Block a user