summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2005-03-05 22:06:07 +0200
committerunknown <Sinisa@sinisa.nasamreza.org>2005-03-05 22:06:07 +0200
commit581e6a2b860de383a63fde27d228270d868a4a03 (patch)
treec781aceb7cf0b02bef235a2e633fa5eacd6fc370 /client
parent46a8c5221750f4f0b5baf870d4f131d8f3de2821 (diff)
downloadmariadb-git-581e6a2b860de383a63fde27d228270d868a4a03.tar.gz
A fix for a bug #8830, which occured when binary data from blob was
dumped with --hex-blob and --skip-extended-insert options. BitKeeper/etc/ignore: Added support-files/ndb-config-2-node.ini to the ignore list client/mysqldump.c: A fix for a bug #8830. All that was necessary was to use unsigned char instead of signed char. mysql-test/r/mysqldump.result: A result for test case for bug #8830. mysql-test/t/mysqldump.test: Test case for bug #8830.
Diffstat (limited to 'client')
-rw-r--r--client/mysqldump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 2c0bdf9a7a9..a53dc319b2e 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -1790,7 +1790,7 @@ static void dumpTable(uint numFields, char *table)
char *ptr= row[i], *end= ptr+ lengths[i];
fputs("0x", md_result_file);
for (; ptr < end ; ptr++)
- fprintf(md_result_file, "%02X", *ptr);
+ fprintf(md_result_file, "%02X", *((uchar *)ptr));
}
else
unescape(md_result_file, row[i], lengths[i]);