diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-19 13:35:18 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-19 13:35:18 +0200 |
commit | 00528a04457d33210baceba1a79e82ea126b48bd (patch) | |
tree | dab4b198ef2e8a1473d9bbdc9c0fcd879cc4cd3c /sql/sql_join_cache.h | |
parent | dbe941e06fe51fe0ff30dff5f1ae62960ff4fc61 (diff) | |
parent | 233c09138f10830ec07ca6a5277f18d415806ece (diff) | |
download | mariadb-git-00528a04457d33210baceba1a79e82ea126b48bd.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'sql/sql_join_cache.h')
-rw-r--r-- | sql/sql_join_cache.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sql/sql_join_cache.h b/sql/sql_join_cache.h index 7b8b942180f..d0bf4761f65 100644 --- a/sql/sql_join_cache.h +++ b/sql/sql_join_cache.h @@ -206,7 +206,9 @@ protected: /* This flag indicates that records written into the join buffer contain - a match flag field. The flag must be set by the init method. + a match flag field. The flag must be set by the init method. + Currently any implementation of the virtial init method calls + the function JOIN_CACHE::calc_record_fields() to set this flag. */ bool with_match_flag; /* @@ -646,6 +648,13 @@ public: /* Shall return the value of the match flag for the positioned record */ virtual enum Match_flag get_match_flag_by_pos(uchar *rec_ptr); + /* + Shall return the value of the match flag for the positioned record + from the join buffer attached to the specified table + */ + virtual enum Match_flag + get_match_flag_by_pos_from_join_buffer(uchar *rec_ptr, JOIN_TAB *tab); + /* Shall return the position of the current record */ virtual uchar *get_curr_rec() { return curr_rec_pos; } |