mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 03:35:34 +02:00
Making multi-table delete BETA !!
mysql-test/t/multi_update.test: Making a test change the order of the tables, so that initalize_tables would be tested properly mysys/my_compress.c: Just changed my e-mail address .... ;o) sql/filesort.cc: Making sure that merge_buffers can not be killed sql/sql_class.h: Added initialize_tables sql/sql_delete.cc: Making final changes for multi table delete, beta version !! sql/sql_select.cc: same as above BitKeeper/etc/ignore: Added locked to the ignore list
This commit is contained in:
parent
f246b61915
commit
b291238171
7 changed files with 46 additions and 9 deletions
|
|
@ -410,6 +410,8 @@ public:
|
|||
** This is used to get result from a select
|
||||
*/
|
||||
|
||||
class JOIN;
|
||||
|
||||
class select_result :public Sql_alloc {
|
||||
protected:
|
||||
THD *thd;
|
||||
|
|
@ -419,6 +421,7 @@ public:
|
|||
virtual int prepare(List<Item> &list) { return 0; }
|
||||
virtual bool send_fields(List<Item> &list,uint flag)=0;
|
||||
virtual bool send_data(List<Item> &items)=0;
|
||||
virtual void initialize_tables (JOIN *join=0) {};
|
||||
virtual void send_error(uint errcode,const char *err)=0;
|
||||
virtual bool send_eof()=0;
|
||||
virtual void abort() {}
|
||||
|
|
@ -621,6 +624,7 @@ public:
|
|||
bool send_fields(List<Item> &list,
|
||||
uint flag) { return 0; }
|
||||
bool send_data(List<Item> &items);
|
||||
void initialize_tables (JOIN *join);
|
||||
void send_error(uint errcode,const char *err);
|
||||
int do_deletes (bool from_send_error);
|
||||
bool send_eof();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue