~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/function.cc

  • Committer: Stewart Smith
  • Date: 2010-07-29 16:44:36 UTC
  • mfrom: (1638.9.8)
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100729164436-dsrth68ahiuutvpe
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                                   const TableIdentifier &identifier,
51
51
                                   message::Table &table_proto)
52
52
{
53
 
  string tab_name(identifier.getPath());
54
 
  transform(tab_name.begin(), tab_name.end(),
55
 
            tab_name.begin(), ::tolower);
56
 
 
57
 
  drizzled::plugin::TableFunction *function= getFunction(tab_name);
 
53
  drizzled::plugin::TableFunction *function= getFunction(identifier.getPath());
58
54
 
59
55
  if (not function)
60
56
  {
71
67
                               const drizzled::SchemaIdentifier &schema_identifier,
72
68
                               set<string> &set_of_names)
73
69
{
74
 
  string tab_name(schema_identifier.getPath());
75
 
  transform(tab_name.begin(), tab_name.end(),
76
 
            tab_name.begin(), ::tolower);
77
 
  drizzled::plugin::TableFunction::getNames(tab_name, set_of_names);
 
70
  drizzled::plugin::TableFunction::getNames(schema_identifier.getPath(), set_of_names);
78
71
}
79
72
 
80
73
void Function::doGetSchemaIdentifiers(SchemaIdentifiers& schemas)