summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2001-07-11 14:06:41 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2001-07-11 14:06:41 +0300
commit0eb9347a98df443fb2de8e3a4972cb291dc779dd (patch)
tree64b5d1b68f30a052559f5c1991aa20359e5d0f23 /sql/sql_class.h
parentcdfc04fb0819109ba3f7b78e87191b9b8311b9bf (diff)
downloadmariadb-git-0eb9347a98df443fb2de8e3a4972cb291dc779dd.tar.gz
UNION stuff mainly.
sql/sql_class.h: Made some temporary changes for UNION's. Still waiting for Monty's comments on this. sql/sql_delete.cc: Added a comment as Monty suggested sql/sql_parse.cc: Some speedups for UNIONs sql/sql_unions.cc: First attempts at running UNION's. Removed header temporarily because of some bug in my pre-processor.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 14055a1444c..be1f251ed6e 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -421,7 +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 initialize_tables (JOIN *join=0) {}
virtual void send_error(uint errcode,const char *err)=0;
virtual bool send_eof()=0;
virtual void abort() {}
@@ -475,14 +475,13 @@ public:
bool send_eof();
};
class select_insert :public select_result {
- protected:
+ public:
TABLE *table;
List<Item> *fields;
uint save_time_stamp;
ulonglong last_insert_id;
COPY_INFO info;
-public:
select_insert(TABLE *table_par,List<Item> *fields_par,enum_duplicates duplic)
:table(table_par),fields(fields_par), save_time_stamp(0),last_insert_id(0)
{