mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
Fix test that all merge tables comes from same database
This commit is contained in:
parent
76ec780f0e
commit
e6088385c5
1 changed files with 1 additions and 1 deletions
|
|
@ -2183,7 +2183,7 @@ static bool check_merge_table_access(THD *thd, char *db,
|
|||
{
|
||||
if (!tmp->db || !tmp->db[0])
|
||||
tmp->db=db;
|
||||
else if (!strcmp(tmp->db,db))
|
||||
else if (strcmp(tmp->db,db))
|
||||
{
|
||||
send_error(&thd->net,ER_UNION_TABLES_IN_DIFFERENT_DIR);
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue