~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.h

  • Committer: Brian Aker
  • Date: 2011-01-11 05:13:54 UTC
  • mto: (2075.2.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2076.
  • Revision ID: brian@tangent.org-20110111051354-m8ba2xvtjfldrler
First pass through error correction in SE interface for drop table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 
82
82
  int doRenameTable(drizzled::Session&, const drizzled::TableIdentifier&, const drizzled::TableIdentifier&)
83
83
  {
84
 
    return EPERM;
 
84
    return HA_ERR_NO_SUCH_TABLE;
85
85
  }
86
86
 
87
87
  int doCreateTable(drizzled::Session&,
89
89
                    const drizzled::TableIdentifier&,
90
90
                    drizzled::message::Table&)
91
91
  {
92
 
    return EPERM;
 
92
    return drizzled::ER_TABLE_PERMISSION_DENIED;
93
93
  }
94
94
 
95
95
  int doDropTable(drizzled::Session&, const drizzled::TableIdentifier&)
96
96
  {
97
 
    return 0;
 
97
    return HA_ERR_NO_SUCH_TABLE;
98
98
  }
99
99
 
100
100
  const char **bas_ext() const 
107
107
                          uint64_t *,
108
108
                          uint64_t *)
109
109
  {}
 
110
 
110
111
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
111
112
                             const drizzled::SchemaIdentifier &schema_identifier,
112
113
                             drizzled::TableIdentifier::vector &set_of_identifiers);