diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-17 16:26:16 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-03-17 16:26:16 +0200 |
commit | e9e0cf67c07291a4934ddcf28560cd63ade3d23c (patch) | |
tree | b46e3bc2afeeea735a8ae42ad8ccd0de586bc584 /sql/sql_class.h | |
parent | 605b8fd8462b17a5681e33a3691b8d4c7bf862a7 (diff) | |
parent | 6e58d5ab6a42f22f9c705faea83fbc8889d429c3 (diff) | |
download | mariadb-git-bb-11.1-mdev-26137-unsquashed.tar.gz |
Merge 11.1bb-11.1-mdev-26137-unsquashed
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 089b9ce5dbe..3021055d4b6 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -5284,7 +5284,7 @@ private: bool use_temporary_table(TABLE *table, TABLE **out_table); void close_temporary_table(TABLE *table); bool log_events_and_free_tmp_shares(); - void free_tmp_table_share(TMP_TABLE_SHARE *share, bool delete_table); + bool free_tmp_table_share(TMP_TABLE_SHARE *share, bool delete_table); void free_temporary_table(TABLE *table); bool lock_temporary_tables(); void unlock_temporary_tables(); @@ -7133,6 +7133,7 @@ public: enum_duplicates handle_duplicates, bool ignore); ~multi_update(); bool init(THD *thd); + bool init_for_single_table(THD *thd); int prepare(List<Item> &list, SELECT_LEX_UNIT *u); int send_data(List<Item> &items); bool initialize_tables (JOIN *join); @@ -7141,6 +7142,8 @@ public: bool send_eof(); inline ha_rows num_found() const { return found; } inline ha_rows num_updated() const { return updated; } + inline void set_found (ha_rows n) { found= n; } + inline void set_updated (ha_rows n) { updated= n; } virtual void abort_result_set(); void update_used_tables(); void prepare_to_read_rows(); |