summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-03-17 16:26:16 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-03-17 16:26:16 +0200
commite9e0cf67c07291a4934ddcf28560cd63ade3d23c (patch)
treeb46e3bc2afeeea735a8ae42ad8ccd0de586bc584 /sql/sql_class.h
parent605b8fd8462b17a5681e33a3691b8d4c7bf862a7 (diff)
parent6e58d5ab6a42f22f9c705faea83fbc8889d429c3 (diff)
downloadmariadb-git-bb-11.1-mdev-26137-unsquashed.tar.gz
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h5
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();