From 3862ee76fd784f0ddca5b3ce255b8ca8478b85f9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 26 Dec 2005 19:46:06 +0300 Subject: [PATCH] WL#2985: fix typo bug when partitioning is not compiled in --- sql/sql_select.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index a99f9da4ff6..d5a38b13a0e 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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.