~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/statement/change_schema.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_CHANGE_SCHEMA_H
22
 
#define DRIZZLED_STATEMENT_CHANGE_SCHEMA_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
36
35
  ChangeSchema(Session *in_session) :
37
36
    Statement(in_session)
38
37
  {
39
 
    getSession()->getLex()->sql_command=SQLCOM_CHANGE_DB;
 
38
    set_command(SQLCOM_CHANGE_DB);
40
39
  }
41
40
 
42
41
  bool execute();
46
45
 
47
46
} /* namespace drizzled */
48
47
 
49
 
#endif /* DRIZZLED_STATEMENT_CHANGE_SCHEMA_H */