summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-06-05 16:44:38 +0300
committerGeorgi Kodinov <joro@sun.com>2009-06-05 16:44:38 +0300
commitc396b398d73bd28ea59910006f425c14a4f0dc27 (patch)
tree01577b82dc42b9d95cdcf0feb0465e24c1f561a6 /client/mysqldump.c
parentc8203b988fc9097ab04fe51dac054ffcb6f570e6 (diff)
downloadmariadb-git-c396b398d73bd28ea59910006f425c14a4f0dc27.tar.gz
Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX
Merged the 5.0 fix to 5.1 and fixed the 5.1 specific warnings.
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index f7b894803bd..6b2c2a06834 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -4110,7 +4110,7 @@ static my_bool dump_all_views_in_db(char *database)
for (numrows= 0 ; (table= getTableName(1)); )
{
char *end= strmov(afterdot, table);
- if (include_table((byte*) hash_key,end - hash_key))
+ if (include_table((uchar*) hash_key,end - hash_key))
{
numrows++;
dynstr_append_checked(&query, quote_name(table, table_buff, 1));
@@ -4131,7 +4131,7 @@ static my_bool dump_all_views_in_db(char *database)
while ((table= getTableName(0)))
{
char *end= strmov(afterdot, table);
- if (include_table((byte*) hash_key, end - hash_key))
+ if (include_table((uchar*) hash_key, end - hash_key))
get_view_structure(table, database);
}
if (opt_xml)