• unknown's avatar
    Fixes to make client_test run on 64 bit Sun: a bug in libmysql and · 83698bab
    unknown authored
    test suite fixed.
    
    
    libmysql/libmysql.c:
      - fixed a bug in protocol -> host integer conversions in send_data_str
    tests/client_test.c:
      Fixes to make client_test run on 64 bit Sun:
      - strlen() doesn't accept NULL input
      - Sun is high byte first, so we can't store bind 32-bit variables to 16-bit
      to MYSQL_TYPE_SHORT/TINY
    83698bab
libmysql.c 111 KB