summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-01 19:59:24 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-13 18:12:05 +0100
commit4dd7e11332cab9eb07551062f3ba0f696d9602e3 (patch)
treef2594272ca663e744d96be05c5aea9ed62060e76 /sql/table.h
parentbf8f70a47c0fb606b52ecea94dd450b22cd02098 (diff)
downloadmariadb-git-4dd7e11332cab9eb07551062f3ba0f696d9602e3.tar.gz
cleanup: mark_columns_used_by_index_no_reset in handler::get_auto_increment
use table->mark_columns_used_by_index, don't copy it
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/table.h b/sql/table.h
index 6c29a9767fb..845c94b11c4 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -1307,11 +1307,11 @@ public:
void clear_column_bitmaps(void);
void prepare_for_position(void);
void mark_columns_used_by_index_no_reset(uint index, MY_BITMAP *map);
- void mark_columns_used_by_index_in_bitmap(uint index, MY_BITMAP *map);
- void mark_columns_used_by_index(uint index)
- { mark_columns_used_by_index_in_bitmap(index, &tmp_set); }
+ MY_BITMAP *mark_columns_used_by_index_in_bitmap(uint index, MY_BITMAP *map);
+ MY_BITMAP *mark_columns_used_by_index(uint index)
+ { return mark_columns_used_by_index_in_bitmap(index, &tmp_set); }
void add_read_columns_used_by_index(uint index);
- void restore_column_maps_after_mark_index();
+ void restore_column_maps_after_mark_index(MY_BITMAP *backup);
void mark_auto_increment_column(void);
void mark_columns_needed_for_update(void);
void mark_columns_needed_for_delete(void);