~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/function.cc

  • Committer: Brian Aker
  • Date: 2010-03-03 23:42:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1321.
  • Revision ID: brian@gaz-20100303234214-wij7pzl4s5f8rx4p
Temporary fix for allowing engines to say "don't do this".

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
  return true;
105
105
}
106
106
 
 
107
bool Function::doCanCreateTable(const drizzled::TableIdentifier &identifier)
 
108
{
 
109
  if (not strcasecmp(identifier.getSchemaName(), "information_schema"))
 
110
  {
 
111
    return false;
 
112
  }
 
113
 
 
114
  if (not strcasecmp(identifier.getSchemaName(), "data_dictionary"))
 
115
  {
 
116
    return false;
 
117
  }
 
118
 
 
119
  return true;
 
120
}
 
121
 
107
122
 
108
123
static drizzled::plugin::StorageEngine *function_plugin= NULL;
109
124