Commit a9e60bab authored by msvensson@shellback.(none)'s avatar msvensson@shellback.(none)
Browse files

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.
parent d8b9f7cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
+1 −1
Original line number Diff line number Diff line
@@ -1421,7 +1421,7 @@ sub executable_setup () {
  {
    # Skip looking for exe_mysql_client_test as its not built by default
    # in 4.1 for windows.
    exe_mysql_client_test= "unavailable";
    $exe_mysql_client_test= "unavailable";
  }
  else
  {