diff options
author | unknown <guilhem@mysql.com> | 2004-11-16 00:10:32 +0100 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2004-11-16 00:10:32 +0100 |
commit | 546e2d3192ed0b5745bf22cbc61f9aec44b426a8 (patch) | |
tree | 9cbc6f4e6a23fa8b1b1e27b0b0a2352316f76eeb /client | |
parent | fa68d58087f0439fe9289ea3da830017a2ce5769 (diff) | |
download | mariadb-git-546e2d3192ed0b5745bf22cbc61f9aec44b426a8.tar.gz |
compilation failures fixes. mysqldump now compiles on AIX 4.3.
client/mysqldump.c:
row[i] is char* so some compilers don't want to put it into a unsigned char*. A C++ comment.
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 498a10041a9..cfe93a11024 100644 --- a/client/mysqldump.c +++ b/client/mysqldump.c @@ -1684,7 +1684,7 @@ static void dumpTable(uint numFields, char *table) else if (opt_hex_blob && is_blob) { /* sakaik got the idea to to provide blob's in hex notation. */ - unsigned char *ptr= row[i], *end= ptr+ lengths[i]; + char *ptr= row[i], *end= ptr+ lengths[i]; fputs("0x", md_result_file); for (; ptr < end ; ptr++) fprintf(md_result_file, "%02X", *ptr); @@ -2246,7 +2246,7 @@ int main(int argc, char **argv) } if (opt_master_data && do_show_master_status(sock)) goto err; - if (opt_single_transaction && do_unlock_tables(sock)) // unlock but no commit! + if (opt_single_transaction && do_unlock_tables(sock)) /* unlock but no commit! */ goto err; if (opt_alldbs) |