diff options
author | Georgi Kodinov <joro@sun.com> | 2009-06-05 19:23:44 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-06-05 19:23:44 +0300 |
commit | c6fdeff0c70eb875680de64a066770159c3d7fb1 (patch) | |
tree | 49374db3acb5e14851a5a5384e8971c36344942a /client | |
parent | 5db8276fe325d2528c04535b6ae425972339c1ca (diff) | |
download | mariadb-git-c6fdeff0c70eb875680de64a066770159c3d7fb1.tar.gz |
Addendum to Bug #45286 : implement reviewer's remarks.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqldump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c index 2fd69a3d8c6..fa6c21ed273 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -3122,7 +3122,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(hash_key,end - hash_key)) { numrows++; dynstr_append_checked(&query, quote_name(table, table_buff, 1)); @@ -3143,7 +3143,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(hash_key, end - hash_key)) get_view_structure(table, database); } if (opt_xml) |