summaryrefslogtreecommitdiff
path: root/sql/sql_view.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
commit7d6ec8526694f959b614c0cdb3677b76dcdada7c (patch)
treeb7dcdd9f750b94c728ed5e3feed722a8809775ad /sql/sql_view.cc
parenta3ed79293357f909b96efe3f8514144f3bb829ed (diff)
downloadmariadb-git-7d6ec8526694f959b614c0cdb3677b76dcdada7c.tar.gz
fixed compilation warnings. addendum to the fix for bug 29125
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r--sql/sql_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc
index 96448f7e5c2..65157ae4255 100644
--- a/sql/sql_view.cc
+++ b/sql/sql_view.cc
@@ -61,7 +61,8 @@ static void make_unique_view_field_name(Item *target,
char *name= (target->orig_name ?
target->orig_name :
target->name);
- size_t name_len, attempt;
+ size_t name_len;
+ uint attempt;
char buff[NAME_LEN+1];
List_iterator_fast<Item> itc(item_list);