• unknown's avatar
    bug #14354 - data directory and index directory not working for partitions · f3754552
    unknown authored
    
    mysql-test/r/partition_mgm_err.result:
      only the single drop table since we have disabled query logging for the create table
    mysql-test/t/partition_mgm_err.test:
      test for bug #14354
      first make sure /tmp/bug14354 is not there, then make the dir
      create a partitioned table with the partition using
      /tmp/bug14354 as it's data dir
      we are disabling query logging since we are using $MYSQL_TEST_DIR
      and we are not certain where the tmp files will be created.
    sql/ha_partition.cc:
      pass partition filename with pathname into 
      set_up_table_before_create.
      
      remove the path from the passed in value and then append the filename
      to the data_file_name or index_file_name if those values were
      specified.
    sql/ha_partition.h:
      added partition_name_with_path to set_up_table_before_create
    sql/mysql_priv.h:
      move append_file_to_dir to mysql_priv.h
    sql/sql_parse.cc:
      moving append_file_to_dir to mysql_priv.h
    sql/sql_partition.cc:
      add_keyword_string was not writing keyword value with quotes
    f3754552
partition_mgm_err.result 4.61 KB