~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/archive_engine.h

  • Committer: Lee Bieber
  • Date: 2011-01-10 20:12:43 UTC
  • mfrom: (2069.1.3 build)
  • Revision ID: kalebral@gmail.com-20110110201243-j7xse6v4ptaipc92
Merge Gustaf - Use constrained_check<> classes on kernel sysvars 
Merge Andrew - fix bug 645004: libuuid configure error message needs changing
Merge Stewart - fix bug 698315: innobase tests fail with --repeat=2

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
  along with this program; if not, write to the Free Software
15
15
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
16
16
 
17
 
#include <drizzled/field.h>
18
 
#include <drizzled/field/blob.h>
19
 
#include <plugin/myisam/myisam.h>
20
 
#include <drizzled/table.h>
21
 
#include <drizzled/session.h>
 
17
#include "drizzled/field.h"
 
18
#include "drizzled/field/blob.h"
 
19
#include "plugin/myisam/myisam.h"
 
20
#include "drizzled/table.h"
 
21
#include "drizzled/session.h"
22
22
#include <drizzled/thr_lock.h>
23
23
#include <drizzled/my_hash.h>
24
24
#include <drizzled/cursor.h>
25
 
#include <drizzled/plugin/storage_engine.h>
26
25
 
27
26
#include <fcntl.h>
28
27
#include <inttypes.h>
32
31
#include <zlib.h>
33
32
 
34
33
#include <boost/unordered_map.hpp>
35
 
#include <drizzled/util/string.h>
 
34
#include "drizzled/util/string.h"
36
35
 
37
36
#include "azio.h"
38
 
#include <plugin/archive/ha_archive.h>
 
37
#include "plugin/archive/ha_archive.h"
39
38
 
40
39
 
41
40
 
98
97
 
99
98
  int doCreateTable(drizzled::Session &session,
100
99
                    drizzled::Table &table_arg,
101
 
                    const drizzled::identifier::Table &identifier,
 
100
                    const drizzled::TableIdentifier &identifier,
102
101
                    drizzled::message::Table& proto);
103
102
 
104
103
  int doGetTableDefinition(drizzled::Session& session,
105
 
                           const drizzled::identifier::Table &identifier,
 
104
                           const drizzled::TableIdentifier &identifier,
106
105
                           drizzled::message::Table &table_message);
107
106
 
108
 
  int doDropTable(drizzled::Session&, const drizzled::identifier::Table &identifier);
 
107
  int doDropTable(drizzled::Session&, const drizzled::TableIdentifier &identifier);
109
108
 
110
109
  ArchiveShare *findOpenTable(const std::string table_name);
111
110
  void addOpenTable(const std::string &table_name, ArchiveShare *);
120
119
    return HA_ONLY_WHOLE_INDEX;
121
120
  }
122
121
 
123
 
  bool doDoesTableExist(drizzled::Session&, const drizzled::identifier::Table &identifier);
124
 
  int doRenameTable(drizzled::Session&, const drizzled::identifier::Table &from, const drizzled::identifier::Table &to);
 
122
  bool doDoesTableExist(drizzled::Session&, const drizzled::TableIdentifier &identifier);
 
123
  int doRenameTable(drizzled::Session&, const drizzled::TableIdentifier &from, const drizzled::TableIdentifier &to);
125
124
 
126
125
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
127
 
                             const drizzled::identifier::Schema &schema_identifier,
128
 
                             drizzled::identifier::Table::vector &set_of_identifiers);
 
126
                             const drizzled::SchemaIdentifier &schema_identifier,
 
127
                             drizzled::TableIdentifier::vector &set_of_identifiers);
129
128
};
130
129
 
131
130
#endif /* PLUGIN_ARCHIVE_ARCHIVE_ENGINE_H */