• unknown's avatar
    Added support for max_allowed_packet in option files read by mysql_option() · 2d898610
    unknown authored
    Extended max_allowed_packet for clients to 1G
    Fixed bug in sending compressed rows >= 16M
    Fix bug in skiping too long packets from clients.
    Added checking of wrong command number sent by client.
    
    
    include/mysql.h:
      Added max_allowed_packet as option parameter.
    include/mysql_com.h:
      Added COM_END to be able to check for wrong commands.
    libmysql/libmysql.c:
      Extended max_allowed_packet for clients to 1G
      Added support for max_allowed_packet in option files read by mysql_option()
    mysys/my_compress.c:
      Debugging output
    sql/net_pkg.cc:
      Fixed wrong handling of blobs >= 16M
    sql/net_serv.cc:
      Changed MAX_THREE_BYTES -> MAX_PACKET_LENGTH
      More DEBUG output and more comments
      Fixed bug in sending compressed rows >= 16M
      Optimized sending of big packets (fewer memcpy and compress data in bigger blocks)
      Fix bug in skiping too long packets from clients.
      (old code didn't always work for big packets)
    sql/sql_class.h:
      Changed type of variable
    sql/sql_parse.cc:
      Added checking of wrong command number sent by client.
      Changed handling of too big packets to make code safer
    tests/big_record.pl:
      E
    2d898610
my_compress.c 2.76 KB