We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b50df7b commit 2a92cf8Copy full SHA for 2a92cf8
storage/innobase/handler/ha_innodb.cc
@@ -3002,8 +3002,9 @@ static bool innodb_copy_stat_flags(dict_table_t *table,
3002
static_assert(HA_OPTION_NO_STATS_PERSISTENT ==
3003
dict_table_t::STATS_PERSISTENT_OFF << 11, "");
3004
uint32_t stat=
3005
- (table_options &
3006
- (HA_OPTION_STATS_PERSISTENT | HA_OPTION_NO_STATS_PERSISTENT)) >> 11;
+ uint32_t(table_options &
+ (HA_OPTION_STATS_PERSISTENT |
3007
+ HA_OPTION_NO_STATS_PERSISTENT)) >> 11;
3008
static_assert(uint32_t{HA_STATS_AUTO_RECALC_ON} << 3 ==
3009
dict_table_t::STATS_AUTO_RECALC_ON, "");
3010
static_assert(uint32_t{HA_STATS_AUTO_RECALC_OFF} << 3 ==
0 commit comments