~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/function.cc

  • Committer: Brian Aker
  • Date: 2010-07-28 22:40:44 UTC
  • mto: This revision was merged to the branch mainline in revision 1671.
  • Revision ID: brian@gaz-20100728224044-j7lfssku6pbqg8wr
Remove the need for tolower in retrieval of table functions.

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)