1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup, less #ifdef's

This commit is contained in:
Sergei Golubchik
2020-06-14 11:46:37 +02:00
parent 7d75e43261
commit d2b852b4ca
7 changed files with 8 additions and 10 deletions

View File

@ -2443,14 +2443,11 @@ int mysql_rm_table_no_locks(THD *thd, TABLE_LIST *tables, bool if_exists,
}
else
{
#ifdef WITH_WSREP
if (WSREP(thd) &&
!wsrep_should_replicate_ddl(thd, table_type->db_type))
if (WSREP(thd) && !wsrep_should_replicate_ddl(thd, table_type->db_type))
{
error= 1;
goto err;
}
#endif
/*
It could happen that table's share in the table definition cache