• unknown's avatar
    A fix and a test case for Bug#9735. · a16a61d9
    unknown authored
    No separate typecode for MEDIUMTEXT/LONGTEXT is added, as we
    have no sound decision yet what typecodes and for what types are
    sent by the server (aka what constitutes a distinct type in MySQL).
    
    
    
    mysql-test/r/ps_2myisam.result:
      Test results fixed: new longtext/longblob length (2^32)
    mysql-test/r/ps_3innodb.result:
      Test results fixed: new longtext/longblob length (2^32)
    mysql-test/r/ps_4heap.result:
      Test results fixed: new longtext/longblob length (2^32)
    mysql-test/r/ps_5merge.result:
      Test results fixed: new longtext/longblob length (2^32)
    mysql-test/r/ps_6bdb.result:
      Test results fixed: new longtext/longblob length (2^32)
    mysql-test/r/ps_7ndb.result:
      Test results fixed: new longtext/longblob length (2^32)
    sql/field.cc:
      A fix for Bug#9735 "mysql_fetch_fields() acts strange on 
      LONGBLOB/LONGTEXT": fix wrong initialization of field_length
      in case of BLOB fields.
    tests/mysql_client_test.c:
      A test case for Bug#9735  "mysql_fetch_fields() acts strange on 
      LONGBLOB/LONGTEXT"
    a16a61d9
mysql_client_test.c 308 KB