Commit 3862ee76 authored by unknown's avatar unknown
Browse files

WL#2985: fix typo bug when partitioning is not compiled in

parent 5b35c715
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2036,7 +2036,7 @@ make_join_statistics(JOIN *join, TABLE_LIST *tables, COND *conds,
#ifdef WITH_PARTITION_STORAGE_ENGINE
      if ((!table->file->records || table->no_partitions_used) && !embedding)
#else
      if (!table->file->records || && !embedding)
      if (!table->file->records && !embedding)
#endif
      {						// Empty table
        s->dependent= 0;                        // Ignore LEFT JOIN depend.