Comment 4 for bug 1016991

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

This doesn't affect 5.1 though.

It is defined correctly there (as in the patch above)

#define SLOG_UG_NONE (1UL << 0)
#define SLOG_UG_LOG_SLOW_FILTER (1UL << 1)
#define SLOG_UG_LOG_SLOW_RATE_LIMIT (1UL << 2)
#define SLOG_UG_LOG_SLOW_VERBOSITY (1UL << 3)
#define SLOG_UG_LONG_QUERY_TIME (1UL << 4)
#define SLOG_UG_MIN_EXAMINED_ROW_LIMIT (1UL << 5)
#define SLOG_UG_ALL SLOG_UG_LOG_SLOW_FILTER | SLOG_UG_LOG_SLOW_RATE_LIMIT | SLOG_UG_LOG_SLOW_VERBOSITY | SLOG_UG_LONG_QUERY_TIME | SLOG_UG_MIN_EXAMINED_ROW_LIMIT

Each of the SLOG* are enum in 5.5 and (0..) instead of (1UL << 0, ...).