• Michael Widenius's avatar
    Fixed lp:970528 "Server crashes in my_strnncollsp_simple on LEFT JOIN with CSV table, TEXT field" · a3bee835
    Michael Widenius authored
    The main problem was a bug in CSV where it provided wrong statistics (it claimed the table was empty when it wasn't)
    I also fixed wrong freeing of blob's in the CSV handler. (Any call to handler::read_first_row() on a CSV table with blobs would fail)
    
    
    
    mysql-test/r/csv.result:
      Added new test case
    mysql-test/r/partition_innodb.result:
      Updated test results after fixing bug with impossible partitions and const tables
    mysql-test/t/csv.test:
      Added new test case
    sql/sql_select.cc:
      Cleaned up code for handling of partitions.
      Fixed also a bug where we didn't threat a table with impossible partitions as a const table.
    storage/csv/ha_tina.cc:
      Allocate blobroot onces.
    a3bee835
csv.test 105 KB