mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Second phase of UNIONS (please do not test it yet) and some other
changes. This is mostly a merge between my repository and central one, so that I can take a test for multi table delete and fix it. sql/mysql_priv.h: Added new functions needed for UNIONS, EXCEPT's etc sql/sql_class.h: A little change in multi_delete class sql/sql_lex.h: Added command for UNION's sql/sql_parse.cc: One new function and SQLCOM_UNION_SELECT. Please do not test UNION's. This is just a start of the work on them sql/sql_yacc.yy: Parsing stuff for the UNION's
This commit is contained in:
@@ -608,7 +608,7 @@ public:
|
||||
bool do_delete;
|
||||
public:
|
||||
multi_delete(TABLE_LIST *dt, thr_lock_type o, uint n)
|
||||
: delete_tables (dt), lock_option(o), deleted(0), num_of_tables(n), error(0)
|
||||
: delete_tables(dt), deleted(0), num_of_tables(n), error(0), lock_option(o)
|
||||
{
|
||||
thd = current_thd; do_delete = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user