~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/tableprototester/tableprototester.cc

  • 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:
16
16
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17
17
*/
18
18
 
19
 
#include "config.h"
 
19
#include <config.h>
20
20
 
21
21
#include "tableprototester.h"
22
22
 
70
70
  int doCreateTable(Session&,
71
71
                    Table&,
72
72
                    const drizzled::identifier::Table &identifier,
73
 
                    drizzled::message::Table&);
 
73
                    const drizzled::message::Table&);
74
74
 
75
75
  int doDropTable(Session&, const drizzled::identifier::Table &identifier);
76
76
 
101
101
 
102
102
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
103
103
                             const drizzled::identifier::Schema &schema_identifier,
104
 
                             drizzled::identifier::Table::vector &set_of_identifiers);
 
104
                             drizzled::identifier::table::vector &set_of_identifiers);
105
105
};
106
106
 
107
107
void TableProtoTesterEngine::doGetTableIdentifiers(drizzled::CachedDirectory&,
108
108
                                                   const drizzled::identifier::Schema &schema_identifier,
109
 
                                                   drizzled::identifier::Table::vector &set_of_identifiers)
 
109
                                                   drizzled::identifier::table::vector &set_of_identifiers)
110
110
{
111
111
  if (schema_identifier.compare("test"))
112
112
  {
146
146
int TableProtoTesterEngine::doCreateTable(Session&,
147
147
                                          Table&,
148
148
                                          const drizzled::identifier::Table&,
149
 
                                          drizzled::message::Table&)
 
149
                                          const drizzled::message::Table&)
150
150
{
151
151
  return EEXIST;
152
152
}