Drizzled Public API Documentation

drizzled::select_union Class Reference

Inheritance diagram for drizzled::select_union:
drizzled::select_result_interceptor drizzled::select_result drizzled::memory::SqlAlloc

List of all members.

Public Member Functions

int prepare (List< Item > &list, Select_Lex_Unit *u)
bool send_data (List< Item > &items)
bool send_eof ()
bool flush ()
void cleanup ()
bool create_result_table (Session *session, List< Item > *column_types, bool is_distinct, uint64_t options, const char *alias)
uint32_t field_count (List< Item > &) const
bool send_fields (List< Item > &)
virtual bool initialize_tables (Join *)
virtual void abort ()
void set_session (Session *session_arg)
void begin_dataset ()
virtual void send_error (drizzled::error_t errcode, const char *err)

Static Public Member Functions

static void * operator new (size_t size)
static void * operator new (size_t size, Root *mem_root)
static void * operator new[] (size_t size)
static void * operator new[] (size_t size, Root *mem_root)
static void operator delete (void *, size_t)
static void operator delete (void *, Root *)
static void operator delete[] (void *, Root *)
static void operator delete[] (void *, size_t)

Public Attributes

Tabletable

Protected Attributes

Sessionsession
Select_Lex_Unit * unit

Private Attributes

Tmp_Table_Param tmp_table_param

Detailed Description

Definition at line 29 of file select_union.h.


Member Function Documentation

void drizzled::select_union::cleanup ( ) [virtual]

Reset and empty the temporary table that stores the materialized query result.

Note:
The cleanup performed here is exactly the same as for the two temp tables of JOIN - exec_tmp_table_[1 | 2].

Reimplemented from drizzled::select_result.

Definition at line 153 of file sql_union.cc.

References drizzled::Table::cursor, and drizzled::Cursor::ha_delete_all_rows().


The documentation for this class was generated from the following files: