• unknown's avatar
    Bug#25141 Crash Server on Partitioning command · c48f292b
    unknown authored
    - The function build_table_filename() builds up a string unconditionally 
    using the forward slash as a path separator. Later, when the string is 
    searched for FN_LIBCHAR by the set_up_table_before_create() function, a 
    null pointer is returned that is finally used by strlen in the 
    append_file_to_dir() function which causes the crash.
    
    
    mysql-test/r/partition.result:
      Bug#25141 Crash Server on Partitioning command
      - Updated results
    mysql-test/t/partition.test:
      Bug#25141 Crash Server on Partitioning command
      - Enable test on Windows.
      - Move failing Windows tests to partition_not_winodws test
    sql/sql_table.cc:
      Bug#25141 Crash Server on Partitioning command
      - Use OS specific path separator when building table_filename
    mysql-test/r/partition_not_windows.result:
      Bug#25141 Crash Server on Partitioning command
      - Non-Windows results.
    mysql-test/r/partition_windows.result:
      Bug#25141 Crash Server on Partitioning command
      - Windows specific tests
    mysql-test/t/partition_not_windows.test:
      Bug#25141 Crash Server on Partitioning command
      - Non-Windows specific partition tests
    mysql-test/t/partition_windows.test:
      Bug#25141 Crash Server on Partitioning command
      - Windows specific partition tests.
    c48f292b
partition_windows.test 873 Bytes