mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-5438 A view can mask a table that supports discovery
This commit is contained in:
@ -908,7 +908,7 @@ loop_out:
|
||||
fn_format(path_buff, file.str, dir.str, "", MY_UNPACK_FILENAME);
|
||||
path.length= strlen(path_buff);
|
||||
|
||||
if (!access(path.str, F_OK))
|
||||
if (ha_table_exists(thd, view->db, view->table_name, NULL))
|
||||
{
|
||||
if (mode == VIEW_CREATE_NEW)
|
||||
{
|
||||
|
Reference in New Issue
Block a user