|
16 | 16 | /* Defining what to log to slow log */
|
17 | 17 |
|
18 | 18 | #define LOG_SLOW_VERBOSITY_INIT 0
|
19 |
| -#define LOG_SLOW_VERBOSITY_INNODB 1 << 0 |
20 |
| -#define LOG_SLOW_VERBOSITY_QUERY_PLAN 1 << 1 |
21 |
| -#define LOG_SLOW_VERBOSITY_EXPLAIN 1 << 2 |
| 19 | +#define LOG_SLOW_VERBOSITY_INNODB (1 << 0) |
| 20 | +#define LOG_SLOW_VERBOSITY_QUERY_PLAN (1 << 1) |
| 21 | +#define LOG_SLOW_VERBOSITY_EXPLAIN (1 << 2) |
22 | 22 |
|
23 | 23 | #define QPLAN_INIT QPLAN_QC_NO
|
24 | 24 |
|
25 |
| -#define QPLAN_ADMIN 1 << 0 |
26 |
| -#define QPLAN_FILESORT 1 << 1 |
27 |
| -#define QPLAN_FILESORT_DISK 1 << 2 |
28 |
| -#define QPLAN_FULL_JOIN 1 << 3 |
29 |
| -#define QPLAN_FULL_SCAN 1 << 4 |
30 |
| -#define QPLAN_QC 1 << 5 |
31 |
| -#define QPLAN_QC_NO 1 << 6 |
32 |
| -#define QPLAN_TMP_DISK 1 << 7 |
33 |
| -#define QPLAN_TMP_TABLE 1 << 8 |
34 |
| -#define QPLAN_FILESORT_PRIORITY_QUEUE 1 << 9 |
| 25 | +#define QPLAN_ADMIN (1 << 0) |
| 26 | +#define QPLAN_FILESORT (1 << 1) |
| 27 | +#define QPLAN_FILESORT_DISK (1 << 2) |
| 28 | +#define QPLAN_FULL_JOIN (1 << 3) |
| 29 | +#define QPLAN_FULL_SCAN (1 << 4) |
| 30 | +#define QPLAN_QC (1 << 5) |
| 31 | +#define QPLAN_QC_NO (1 << 6) |
| 32 | +#define QPLAN_TMP_DISK (1 << 7) |
| 33 | +#define QPLAN_TMP_TABLE (1 << 8) |
| 34 | +#define QPLAN_FILESORT_PRIORITY_QUEUE (1 << 9) |
35 | 35 |
|
36 | 36 | /* ... */
|
37 |
| -#define QPLAN_MAX ((ulong) 1) << 31 /* reserved as placeholder */ |
| 37 | +#define QPLAN_MAX (((ulong) 1) << 31) /* reserved as placeholder */ |
38 | 38 |
|
0 commit comments