summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2006-10-14 17:09:06 +0200
committerunknown <msvensson@shellback.(none)>2006-10-14 17:09:06 +0200
commit8ec4020e2534e7b26721bb07c89d77eb11482c77 (patch)
treeed75235379890e734a6c2f30206aec0400b0e838 /client
parentb0a4ec859faaf985d9e28fa443af9316729843be (diff)
downloadmariadb-git-8ec4020e2534e7b26721bb07c89d77eb11482c77.tar.gz
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 $
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c2
1 files changed, 1 insertions, 1 deletions
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));