mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed problem with WHERE key=const ORDER BY key DESC
Docs/manual.texi: Changelog myisam/ft_boolean_search.c: Portability fix sql/ha_myisam.cc: Cleanup sql/sql_union.cc: cleanup
This commit is contained in:
@@ -126,8 +126,9 @@ int mysql_union(THD *thd, LEX *lex,select_result *result)
|
||||
}
|
||||
union_result->save_time_stamp=!describe;
|
||||
|
||||
for (sl=lex->select=&lex->select_lex;sl;sl=lex->select=sl->next)
|
||||
for (sl= &lex->select_lex; sl; sl=sl->next)
|
||||
{
|
||||
lex->select=sl;
|
||||
thd->offset_limit=sl->offset_limit;
|
||||
thd->select_limit=sl->select_limit+sl->offset_limit;
|
||||
if (thd->select_limit < sl->select_limit)
|
||||
|
Reference in New Issue
Block a user