~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
namespace drizzled {
40
40
 
41
 
class CachedDirectory;
42
 
class TableList;
43
 
class Session;
44
 
class Cursor;
45
41
struct HASH;
46
42
 
47
 
class TableShare;
48
43
typedef bool (stat_print_fn)(Session *session, const char *type, uint32_t type_len,
49
44
                             const char *file, uint32_t file_len,
50
45
                             const char *status, uint32_t status_len);
109
104
static const std::bitset<HTON_BIT_SIZE> HTON_HAS_FOREIGN_KEYS(1 << HTON_BIT_FOREIGN_KEYS);
110
105
 
111
106
 
112
 
class Table;
113
 
class NamedSavepoint;
114
 
 
115
 
namespace plugin
116
 
{
 
107
namespace plugin {
117
108
 
118
109
typedef std::vector<StorageEngine *> EngineVector;
119
110
 
288
279
 
289
280
  virtual void doGetTableIdentifiers(CachedDirectory &directory,
290
281
                                     const drizzled::identifier::Schema &schema_identifier,
291
 
                                     identifier::Table::vector &set_of_identifiers)= 0;
 
282
                                     identifier::table::vector &set_of_identifiers)= 0;
292
283
 
293
284
  virtual bool doDoesTableExist(Session& session, const drizzled::identifier::Table &identifier);
294
285
 
346
337
 
347
338
  static void getIdentifiers(Session &session,
348
339
                             const identifier::Schema &schema_identifier,
349
 
                             identifier::Table::vector &set_of_identifiers);
 
340
                             identifier::table::vector &set_of_identifiers);
350
341
 
351
342
  // Check to see if any SE objects to creation.
352
343
  static bool canCreateTable(const drizzled::identifier::Table &identifier);
353
344
 
354
345
  // @note All schema methods defined here
355
 
  static void getIdentifiers(Session &session, identifier::Schema::vector &schemas);
 
346
  static void getIdentifiers(Session &session, identifier::schema::vector &schemas);
356
347
  static message::schema::shared_ptr getSchemaDefinition(const drizzled::identifier::Table &identifier);
357
348
  static message::schema::shared_ptr getSchemaDefinition(const drizzled::identifier::Schema &identifier);
358
349
  static bool doesSchemaExist(const drizzled::identifier::Schema &identifier);
365
356
 
366
357
  // @note make private/protected
367
358
protected:
368
 
  virtual void doGetSchemaIdentifiers(identifier::Schema::vector&)
 
359
  virtual void doGetSchemaIdentifiers(identifier::schema::vector&)
369
360
  { }
370
361
 
371
362
  virtual drizzled::message::schema::shared_ptr doGetSchemaDefinition(const drizzled::identifier::Schema&)