summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-16 15:37:38 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-16 15:37:38 +0300
commitbf6e255d8c71de9a5536756682d60a5e7c4ff3b0 (patch)
tree8355983a13f35920e48a43d2d8a2b35a2eee92d7 /sql/sql_show.cc
parent1b7754a53376253a29b80adbee5548bb9801ef20 (diff)
downloadmariadb-git-bf6e255d8c71de9a5536756682d60a5e7c4ff3b0.tar.gz
Bug #45287: phase 2 : 5.0 64 bit compilation warnings
Fixed various compilation warnings when compiling on a 64 bit windows.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 8387c087836..fdd31cf3eeb 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -287,7 +287,7 @@ find_files(THD *thd, List<char> *files, const char *db,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
uint col_access=thd->col_access;
#endif
- uint wild_length= 0;
+ size_t wild_length= 0;
TABLE_LIST table_list;
DBUG_ENTER("find_files");
@@ -3738,7 +3738,7 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
if (item->decimals > 0)
item->max_length+= 1;
item->set_name(fields_info->field_name,
- strlen(fields_info->field_name), cs);
+ (uint) strlen(fields_info->field_name), cs);
break;
case MYSQL_TYPE_STRING:
default: