1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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

This commit is contained in:
sergefp@mysql.com
2005-12-26 19:46:06 +03:00
parent c4911a404a
commit 530cddb6cd

View File

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