diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-06 15:05:59 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-06 15:05:59 +0400 |
commit | 5a644e177f152af6904160259b5e0afac2307747 (patch) | |
tree | 825a60c592fa430cc78f38c866434674e768be35 /sql/item_row.h | |
parent | 9a360e97a29d928f232ff724b450bd9e04cbe6e5 (diff) | |
download | mariadb-git-5a644e177f152af6904160259b5e0afac2307747.tar.gz |
Adding "const" qualifier to Item::cols(), and to the "Item *cmp" parameter to Type_handler::make_const_item_for_comparison()
Diffstat (limited to 'sql/item_row.h')
-rw-r--r-- | sql/item_row.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_row.h b/sql/item_row.h index 5084f042473..16232d4ac4c 100644 --- a/sql/item_row.h +++ b/sql/item_row.h @@ -114,7 +114,7 @@ public: Item *transform(THD *thd, Item_transformer transformer, uchar *arg); bool eval_not_null_tables(void *opt_arg); - uint cols() { return arg_count; } + uint cols() const { return arg_count; } Item* element_index(uint i) { return args[i]; } Item** addr(uint i) { return args + i; } bool check_cols(uint c); |