From 8ec4020e2534e7b26721bb07c89d77eb11482c77 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 14 Oct 2006 17:09:06 +0200 Subject: Use char as datatype for the byte that are read with my_fgetc, fixes problem with mysqltest.test on Solaris and Mac. write_file produced nice files with all zeroes. client/mysqltest.c: Use char as datatype for the byte that are read with my_fgetc mysql-test/mysql-test-run.pl: Fix typo, add missing $ --- client/mysqltest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/mysqltest.c b/client/mysqltest.c index 7029e0af3e1..efb5f1915f4 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -1810,7 +1810,7 @@ void my_ungetc(int c) void read_until_delimiter(DYNAMIC_STRING *ds, DYNAMIC_STRING *ds_delimiter) { - int c; + char c; DBUG_ENTER("read_until_delimiter"); DBUG_PRINT("enter", ("delimiter: %s, length: %d", ds_delimiter->str, ds_delimiter->length)); -- cgit v1.2.1