1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Fix a problem introduced in previous cset

This commit is contained in:
Sergey Petrunya
2011-03-25 17:10:16 +03:00
parent 5a07fcc6c4
commit 5ae088f8c1

View File

@@ -8500,7 +8500,7 @@ make_join_readinfo(JOIN *join, ulonglong options, uint no_jbuf_after)
JOIN_TAB *prev_tab= NULL; JOIN_TAB *prev_tab= NULL;
for (tab= first_linear_tab(join, WITHOUT_CONST_TABLES), i= join->const_tables; for (tab= first_linear_tab(join, WITHOUT_CONST_TABLES), i= join->const_tables;
tab; tab;
tab= next_linear_tab(join, tab, WITH_BUSH_ROOTS)) prev_tab=tab, tab= next_linear_tab(join, tab, WITH_BUSH_ROOTS))
{ {
/* /*
The approximation below for partial join cardinality is not good because The approximation below for partial join cardinality is not good because