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
commite8cc09dc8df647f7786a7914cecf449570f2394e (patch)
treeb7dcdd9f750b94c728ed5e3feed722a8809775ad /sql/sql_view.cc
parent26adc3cdc75815533fe47f978d6fa04d8562b643 (diff)
downloadmariadb-git-e8cc09dc8df647f7786a7914cecf449570f2394e.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);