1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations

This commit is contained in:
Oleksandr Byelkin
2018-05-22 19:08:39 +02:00
parent 1b981b9edb
commit de745ecf29
298 changed files with 36118 additions and 3473 deletions

View File

@ -758,6 +758,43 @@ public:
};
class st_select_lex;
class Lex_select_lock
{
public:
struct
{
uint defined_lock:1;
uint update_lock:1;
uint defined_timeout:1;
};
ulong timeout;
void empty()
{
defined_lock= update_lock= defined_timeout= FALSE;
timeout= 0;
}
void set_to(st_select_lex *sel);
};
class Lex_select_limit
{
public:
bool explicit_limit;
Item *select_limit, *offset_limit;
void empty()
{
explicit_limit= FALSE;
select_limit= offset_limit= NULL;
}
};
struct st_order;
class Load_data_param
{
protected: