1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Added test for PTHREAD_YIELD

Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
This commit is contained in:
monty@donna.mysql.fi
2001-04-18 23:47:11 +03:00
parent 5a5e2be98a
commit bc6fd0acaa
14 changed files with 152 additions and 54 deletions

View File

@@ -528,9 +528,7 @@ mysql_select(THD *thd,TABLE_LIST *tables,List<Item> &fields,COND *conds,
if (order &&
(join.const_tables == join.tables ||
test_if_skip_sort_order(&join.join_tab[join.const_tables], order,
(having || group ||
join.const_tables != join.tables - 1) ?
HA_POS_ERROR : thd->select_limit)))
(group ? HA_POS_ERROR : thd->select_limit))))
order=0;
select_describe(&join,need_tmp,
(order != 0 &&