~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.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:
32
32
#include "drizzled/cached_directory.h"
33
33
#include "drizzled/plugin/monitored_in_transaction.h"
34
34
 
 
35
#include <drizzled/error_t.h>
 
36
 
35
37
#include <bitset>
36
38
#include <string>
37
39
#include <vector>
313
315
  friend class StorageEngineDoesTableExist;
314
316
  friend class StorageEngineGetSchemaDefinition;
315
317
  friend class StorageEngineGetTableDefinition;
 
318
  friend class DropTableByIdentifier;
316
319
 
317
320
  int renameTable(Session &session, const drizzled::TableIdentifier &from, const drizzled::TableIdentifier &to);
318
321
 
334
337
  static void closeConnection(Session* session);
335
338
  static void dropDatabase(char* path);
336
339
  static bool flushLogs(plugin::StorageEngine *db_type);
337
 
  static int dropTable(Session& session,
338
 
                       const drizzled::TableIdentifier &identifier);
339
 
  static int dropTable(Session& session,
340
 
                       StorageEngine &engine,
341
 
                       const drizzled::TableIdentifier &identifier);
 
340
 
 
341
  static bool dropTable(Session& session,
 
342
                        const drizzled::TableIdentifier &identifier);
 
343
  static bool dropTable(Session& session,
 
344
                        const drizzled::TableIdentifier &identifier,
 
345
                        drizzled::error_t &error);
 
346
 
 
347
  static bool dropTable(Session& session,
 
348
                        StorageEngine &engine,
 
349
                        TableIdentifier::const_reference identifier,
 
350
                        drizzled::error_t &error);
 
351
 
342
352
  static void getIdentifiers(Session &session,
343
353
                             const SchemaIdentifier &schema_identifier,
344
354
                             TableIdentifier::vector &set_of_identifiers);