mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
many bug fixes
sql/log.cc: Fix for a bug in query logging ... sql/mysqld.cc: Fix for a bug with max_allowed_packt sql/sql_select.cc: Fix for a bug which is caused when a single table is scanned by entire index and WHERE clause is so broad that JOIN type is JT_ALL.
This commit is contained in:
@ -2328,7 +2328,8 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
|
||||
|
||||
if ((tab->keys & ~ tab->const_keys && i > 0) ||
|
||||
tab->const_keys && i == join->const_tables &&
|
||||
join->thd->select_limit < join->best_positions[i].records_read)
|
||||
join->thd->select_limit < join->best_positions[i].records_read &&
|
||||
join->tables > 1)
|
||||
{
|
||||
/* Join with outer join condition */
|
||||
COND *orig_cond=sel->cond;
|
||||
|
Reference in New Issue
Block a user