drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::statement::CreateSchema Class Reference
Inheritance diagram for drizzled::statement::CreateSchema:
[legend]
Collaboration diagram for drizzled::statement::CreateSchema:
[legend]

Public Member Functions

 CreateSchema (Session *in_session)
bool execute ()
bool validateSchemaOptions ()
Public Member Functions inherited from drizzled::statement::Statement
 Statement (Session *in_session)
void set_command (enum_sql_command)
LEX & lex ()
session::Transactions & transaction ()
virtual bool isTransactional ()
Session & session () const
virtual bool isShow ()

Public Attributes

bool is_if_not_exists
message::Schema schema_message

Private Member Functions

bool check (const identifier::Schema &identifier)

Detailed Description

Definition at line 31 of file create_schema.h.

Constructor & Destructor Documentation

◆ CreateSchema()

drizzled::statement::CreateSchema::CreateSchema ( Session * in_session)
inline

Definition at line 34 of file create_schema.h.

Member Function Documentation

◆ check()

bool drizzled::statement::CreateSchema::check ( const identifier::Schema & identifier)
private

Definition at line 81 of file create_schema.cc.

◆ execute()

bool drizzled::statement::CreateSchema::execute ( )
virtual

Execute the statement.

Returns
true on failure; false on success

Implements drizzled::statement::Statement.

Definition at line 40 of file create_schema.cc.

◆ validateSchemaOptions()

bool drizzled::statement::CreateSchema::validateSchemaOptions ( )

Definition at line 103 of file create_schema.cc.

Member Data Documentation

◆ is_if_not_exists

bool drizzled::statement::CreateSchema::is_if_not_exists

Definition at line 42 of file create_schema.h.

◆ schema_message

message::Schema drizzled::statement::CreateSchema::schema_message

Definition at line 43 of file create_schema.h.


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