• Sergei Golubchik's avatar
    MDEV-23569 temporary tables can overwrite existing files · 62d1e3bf
    Sergei Golubchik authored
    for internal temporary tables: don't use realpath(),
    and let them overwrite whatever orphan temp files might've
    left in the tmpdir (see main.error_simulation test).
    
    for user created temporary tables: we have to use realpath(),
    (see 3a726ab6, remember DATA/INDEX DIRECTORY). don't allow
    them to overwrite existing files.
    
    This bug was reported by RACK911 LABS
    62d1e3bf
temp_table_symlink.result 371 Bytes