summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-07 16:11:46 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-07 16:11:46 +0300
commitabfe915ac986c3fe152429719a13f1235d9ed9a6 (patch)
tree715a21f0dff0d7a1148d11e8afa9a44f39c959a3 /client/mysqldump.c
parent2275faa00e62e752d70221fcc6cc5c16bcd04d3a (diff)
downloadmariadb-git-abfe915ac986c3fe152429719a13f1235d9ed9a6.tar.gz
fixed compilation warnings on macosx
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 d755a17b815..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(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(hash_key, end - hash_key))
+ if (include_table((uchar*) hash_key, end - hash_key))
get_view_structure(table, database);
}
if (opt_xml)