diff options
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h index d8b95a3509a..21b3904faa4 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -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: |