1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00
The bug caused wrong result sets for union constructs of the form
(SELECT ... ORDER BY order_list1 [LIMIT n]) ORDER BY order_list2.
For such queries order lists were concatenated and limit clause was
completely neglected.
This commit is contained in:
igor@rurik.mysql.com
2006-04-20 22:15:38 -07:00
parent bc1f457194
commit fc7514151f
7 changed files with 127 additions and 22 deletions

View File

@@ -400,6 +400,7 @@ public:
bool check_updateable(char *db, char *table);
void print(String *str);
bool add_fake_select_lex(THD *thd);
ulong init_prepare_fake_select_lex(THD *thd);
int change_result(select_subselect *result, select_subselect *old_result);
inline bool is_prepared() { return prepared; }