diff options
author | unknown <msvensson@shellback.(none)> | 2006-10-14 17:09:06 +0200 |
---|---|---|
committer | unknown <msvensson@shellback.(none)> | 2006-10-14 17:09:06 +0200 |
commit | 8ec4020e2534e7b26721bb07c89d77eb11482c77 (patch) | |
tree | ed75235379890e734a6c2f30206aec0400b0e838 /client | |
parent | b0a4ec859faaf985d9e28fa443af9316729843be (diff) | |
download | mariadb-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.c | 2 |
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)); |