mirror of https://github.com/MariaDB/server
Browse Source
MEMORY table could be renamed into a non-extistent database. rename() is documented to return ENOENT when the source file does not exist OR when the target directory not exist. Nonexistent source .frm file is ok (table can still exist in the engine), nonexistent target directory is not. Make my_rename to use ENOTDIR for the latter case. Make RENAME TABLE issue an appropriate error ("unknown database" instead of "unknown table")pull/834/merge
4 changed files with 17 additions and 1 deletions
Loading…
Reference in new issue