Skip to content

Commit 201e28f

Browse files
committed
cleanup: redundant condition
1 parent 9f4b745 commit 201e28f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sql/wsrep_mysqld.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,12 +1453,11 @@ bool wsrep_check_mode_after_open_table (THD *thd,
14531453
Following code will kick-start the TOI but this has to be done
14541454
only once per statement.
14551455
1456-
Note: kick-start will take-care of creating isolation key for
1456+
Note: kick-start will take care of creating isolation key for
14571457
all tables involved in the list (provided all of them are MYISAM
14581458
or Aria tables).
14591459
*/
1460-
if ((tbl && tbl->s->table_category != TABLE_CATEGORY_STATISTICS) ||
1461-
(!tbl && !is_stat_table(tables->db, tables->alias)))
1460+
if (tbl->s->table_category != TABLE_CATEGORY_STATISTICS)
14621461
{
14631462
if (tbl->s->primary_key == MAX_KEY &&
14641463
wsrep_check_mode(WSREP_MODE_REQUIRED_PRIMARY_KEY))

0 commit comments

Comments
 (0)