diff options
author | Michael Widenius <monty@mariadb.org> | 2017-04-16 17:14:41 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2017-04-18 12:23:40 +0300 |
commit | d82ac8eaafd89a6a74436747b660ef02c69eaac3 (patch) | |
tree | b166cd3450d894407d4e269d1ea1c834d75c67dc /sql/item_sum.h | |
parent | 00946f43310f528003251c7f3934966eff2a8089 (diff) | |
download | mariadb-git-d82ac8eaafd89a6a74436747b660ef02c69eaac3.tar.gz |
Change "static int" to enum in classes
This was done when static int where used as bit fields or enums
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index ee1c10f9fbe..98b027de41d 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -1153,7 +1153,7 @@ public: } protected: - static const int NUM_BIT_COUNTERS= 64; + enum bit_counters { NUM_BIT_COUNTERS= 64 }; ulonglong reset_bits,bits; /* Marks whether the function is to be computed as a window function. |