summaryrefslogtreecommitdiff
path: root/sql/sql_profile.cc
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2012-06-29 13:36:01 +0200
committerJon Olav Hauglid <jon.hauglid@oracle.com>2012-06-29 13:36:01 +0200
commit050048462c8209a5e5d75587147d343f683cc7df (patch)
treee59402376e17ec2bcafbd8ff085307b066cdf7c4 /sql/sql_profile.cc
parent47c1ce35e2ce9b9e756be17ab3a1ce309eea12c8 (diff)
parent435866976746d342847ad2a7a13be77cd77c556b (diff)
downloadmariadb-git-050048462c8209a5e5d75587147d343f683cc7df.tar.gz
Bug#14238406 NEW COMPILATION WARNINGS WITH GCC 4.7 (-WERROR=NARROWING)
Manual merge from mysql-5.1 to mysql-5.5
Diffstat (limited to 'sql/sql_profile.cc')
-rw-r--r--sql/sql_profile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_profile.cc b/sql/sql_profile.cc
index cd06408045e..70bec36b03d 100644
--- a/sql/sql_profile.cc
+++ b/sql/sql_profile.cc
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -83,8 +83,8 @@ ST_FIELD_INFO query_profile_statistics_info[]=
int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table)
{
- int profile_options = thd->lex->profile_options;
- int fields_include_condition_truth_values[]= {
+ uint profile_options = thd->lex->profile_options;
+ uint fields_include_condition_truth_values[]= {
FALSE, /* Query_id */
FALSE, /* Seq */
TRUE, /* Status */