MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sql_cmd_discard_import_tablespace Class Reference

#include <sql_alter.h>

Inheritance diagram for Sql_cmd_discard_import_tablespace:
Collaboration diagram for Sql_cmd_discard_import_tablespace:

Public Types

enum  enum_tablespace_op_type { DISCARD_TABLESPACE, IMPORT_TABLESPACE }

Public Member Functions

 Sql_cmd_discard_import_tablespace (enum_tablespace_op_type tablespace_op_arg)
bool execute (THD *thd)

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)
- Protected Member Functions inherited from Sql_cmd_common_alter_table
 Sql_cmd_common_alter_table ()
virtual enum_sql_command sql_command_code () const
 Return the command code for this statement.

Detailed Description

Sql_cmd_alter_table_tablespace represents ALTER TABLE IMPORT/DISCARD TABLESPACE statements.

Definition at line 410 of file sql_alter.h.

Member Function Documentation

bool Sql_cmd_discard_import_tablespace::execute ( THD *  thd)
virtual

Execute this SQL statement.

Parameters
thdthe current thread.
Return values
falseon success.
trueon error

Implements Sql_cmd.

Definition at line 319 of file sql_alter.cc.

Here is the call graph for this function:


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