~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to plugin/function_engine/function.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-04-17 01:38:47 UTC
  • mfrom: (1237.9.238 bad-staging)
  • Revision ID: osullivan.padraig@gmail.com-20100417013847-ibjioqsfbmf5yg4g
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
  drizzled::plugin::TableFunction *getTool(const char *name_arg);
45
45
 
46
 
  int doCreateTable(drizzled::Session *,
47
 
                    const char *,
 
46
  int doCreateTable(drizzled::Session&,
48
47
                    drizzled::Table&,
 
48
                    drizzled::TableIdentifier &,
49
49
                    drizzled::message::Table&)
50
50
  {
51
51
    return EPERM;
52
52
  }
53
53
 
54
 
  int doDropTable(drizzled::Session&, const std::string&) 
 
54
  int doDropTable(drizzled::Session&, drizzled::TableIdentifier&)
55
55
  { 
56
56
    return EPERM; 
57
57
  }
69
69
    return drizzled::plugin::TableFunction::getFunction(path);
70
70
  }
71
71
 
72
 
  bool doCanCreateTable(const drizzled::TableIdentifier &identifier);
 
72
  bool doCanCreateTable(drizzled::TableIdentifier &identifier);
73
73
 
74
74
 
75
75
  void doGetTableNames(drizzled::CachedDirectory&, 
76
 
                       std::string &db, 
 
76
                       drizzled::SchemaIdentifier &schema_identifier,
77
77
                       std::set<std::string> &set_of_names);
78
78
 
79
79
  int doGetTableDefinition(drizzled::Session &session,
80
 
                           const char *path,
81
 
                           const char *db,
82
 
                           const char *table_name,
83
 
                           const bool is_tmp,
84
 
                           drizzled::message::Table *table_proto);
85
 
 
86
 
  void doGetSchemaNames(std::set<std::string>& set_of_names);
87
 
 
88
 
  bool doGetSchemaDefinition(const std::string &schema_name, drizzled::message::Schema &schema_message);
 
80
                           drizzled::TableIdentifier &identifier,
 
81
                           drizzled::message::Table &table_message);
 
82
 
 
83
  void doGetSchemaIdentifiers(drizzled::SchemaIdentifierList&);
 
84
 
 
85
  bool doDoesTableExist(drizzled::Session& session, drizzled::TableIdentifier &identifier);
 
86
 
 
87
  bool doGetSchemaDefinition(drizzled::SchemaIdentifier &schema, drizzled::message::Schema &schema_message);
 
88
 
 
89
  int doRenameTable(drizzled::Session&, drizzled::TableIdentifier &, drizzled::TableIdentifier &)
 
90
  {
 
91
    return EPERM;
 
92
  }
 
93
 
 
94
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
 
95
                             drizzled::SchemaIdentifier &schema_identifier,
 
96
                             drizzled::TableIdentifiers &set_of_identifiers);
89
97
};
90
98
 
91
99
#endif /* PLUGIN_FUNCTION_ENGINE_FUNCTION_H */