~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

  • Committer: Brian Aker
  • Date: 2009-10-27 09:10:21 UTC
  • mto: (1183.1.23 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@114.2.46.10.in-addr.arpa.noptr.antlabs.com-20091027091021-31lms4lujk9wwoaz
Extended definition interface (filename building should now be moved
"closer" to the engine).

Note: Innodb has a bug in it requiring that a / be in the "tablename" passed
to it.

YEs... lame.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  int doDropTable(Session*, const string table_name); 
60
60
 
61
61
  int doGetTableDefinition(const char* path,
62
 
                                  drizzled::message::Table *table_proto);
 
62
                           const char *db,
 
63
                           const char *table_name,
 
64
                           const bool is_tmp,
 
65
                           drizzled::message::Table *table_proto);
63
66
 
64
67
  void doGetTableNames(CachedDirectory &directory, string&, set<string>& set_of_names)
65
68
  {
173
176
}
174
177
 
175
178
int BlackholeEngine::doGetTableDefinition(const char* path,
176
 
                                                 drizzled::message::Table *table_proto)
 
179
                                          const char *,
 
180
                                          const char *,
 
181
                                          const bool,
 
182
                                          drizzled::message::Table *table_proto)
177
183
{
178
184
  string new_path;
179
185