1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Fix test that all merge tables comes from same database

This commit is contained in:
monty@hundin.mysql.fi
2001-09-03 04:48:07 +03:00
parent 7f8f1bd979
commit 3a3d1e28e5

View File

@@ -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;