From 62d29ea8d3cbb9ac65762b6ac1fa29c6ad290f3c Mon Sep 17 00:00:00 2001 From: "cmiller@zippy.cornsilk.net" <> Date: Fri, 14 Dec 2007 08:57:37 -0500 Subject: Correct complaints of reviewers and clean up test. --- sql/sql_profile.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'sql/sql_profile.h') diff --git a/sql/sql_profile.h b/sql/sql_profile.h index 2483cb3cb6a..b5537487d26 100644 --- a/sql/sql_profile.h +++ b/sql/sql_profile.h @@ -42,16 +42,16 @@ int fill_query_profile_statistics_info(THD *thd, TABLE_LIST *tables, Item *cond) int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table); -#define PROFILE_NONE 0 -#define PROFILE_CPU (1<<0) -#define PROFILE_MEMORY (1<<1) -#define PROFILE_BLOCK_IO (1<<2) -#define PROFILE_CONTEXT (1<<3) -#define PROFILE_PAGE_FAULTS (1<<4) -#define PROFILE_IPC (1<<5) -#define PROFILE_SWAPS (1<<6) -#define PROFILE_SOURCE (1<<16) -#define PROFILE_ALL (~0) +#define PROFILE_NONE (uint)0 +#define PROFILE_CPU (uint)(1<<0) +#define PROFILE_MEMORY (uint)(1<<1) +#define PROFILE_BLOCK_IO (uint)(1<<2) +#define PROFILE_CONTEXT (uint)(1<<3) +#define PROFILE_PAGE_FAULTS (uint)(1<<4) +#define PROFILE_IPC (uint)(1<<5) +#define PROFILE_SWAPS (uint)(1<<6) +#define PROFILE_SOURCE (uint)(1<<16) +#define PROFILE_ALL (uint)(~0) #if defined(ENABLED_PROFILING) && defined(COMMUNITY_SERVER) -- cgit v1.2.1