• unknown's avatar
    Bug #11286 yassl incompatible with "load data infile" · 100e92f4
    unknown authored
     - Make sure that mysqltest always uses ssl when connecting to the server.
     - Pass a i32-bit int variable as argument to FIONREAD ioctl.
    
    
    client/mysqltest.c:
      Set the flag CLIENT_REMENBER_OPTIONS so that all connection attempts from mysqltest is done with the same settings.
      Old impl caused mysqltest to loose all it's settings in the second connection attempt, ex ssl settings.
    extra/yassl/src/socket_wrapper.cpp:
      64-bit Solaris requires the variable passed to FIONREAD be a 32-bit value.
      Using "int" unless _WIN32_ is defined.
    sql/sql_parse.cc:
      Update error message when sslaccepts fails. Must have been a copy and paste error.
    vio/viossl.c:
      Minor fixes
      Add timeout to DBUG_PRINT
      use function vio_ssl_fd to get sd from vio
      Remove extra whitespace
    vio/viosslfactories.c:
      Remove DBUG_PRINT("enter" in sslaccept and sslconnect as it tries to print out null strings. That is not suported on all platforms.
    100e92f4
viossl.c 11 KB