• unknown's avatar
    Fixed parsing of column names and foreign key constraints in Innobase to... · f120273d
    unknown authored
    Fixed parsing of column names and foreign key constraints in Innobase to handle quoted identifiers and identifiers with space. (Bug #1725)
    Fix optimizer tuning bug when first used key part was a constant. (Bug #1679)
    
    
    innobase/dict/dict0dict.c:
      Fixed parsing of column names and foreign key constraints to handle quoted identifiers and identifiers with space. (Bug #1725)
    mysql-test/r/innodb.result:
      Test of innodb internal parsing
    mysql-test/t/innodb.test:
      Test of innodb internal parsing
    sql/sql_class.cc:
      Safety fix for select into outfile and select into dumpfile. Before calling send_error() could cause end_io_cache() to be called several times.
    sql/sql_class.h:
      Add path to dumpfile so that we can delete the generated file if something goes wrong.
    sql/sql_select.cc:
      Fix optimizer tuning bug when first used key part was a constant.
      Previously all keys that had this key part first was regarded as equal, even if the query used more key parts for some of the keys.
      Now we use the range optimizer results to just limit the number of estimated rows if not all key parts where constants.
      (Bug #1679)
    f120273d
innodb.test 26.4 KB