1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

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 $
This commit is contained in:
unknown
2006-10-14 17:09:06 +02:00
parent b0a4ec859f
commit 8ec4020e25
2 changed files with 2 additions and 2 deletions

View File

@@ -1810,7 +1810,7 @@ void my_ungetc(int c)
void read_until_delimiter(DYNAMIC_STRING *ds, void read_until_delimiter(DYNAMIC_STRING *ds,
DYNAMIC_STRING *ds_delimiter) DYNAMIC_STRING *ds_delimiter)
{ {
int c; char c;
DBUG_ENTER("read_until_delimiter"); DBUG_ENTER("read_until_delimiter");
DBUG_PRINT("enter", ("delimiter: %s, length: %d", DBUG_PRINT("enter", ("delimiter: %s, length: %d",
ds_delimiter->str, ds_delimiter->length)); ds_delimiter->str, ds_delimiter->length));

View File

@@ -1421,7 +1421,7 @@ sub executable_setup () {
{ {
# Skip looking for exe_mysql_client_test as its not built by default # Skip looking for exe_mysql_client_test as its not built by default
# in 4.1 for windows. # in 4.1 for windows.
exe_mysql_client_test= "unavailable"; $exe_mysql_client_test= "unavailable";
} }
else else
{ {