~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_function_container.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-05 15:59:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2384.
  • Revision ID: olafvdspek@gmail.com-20110705155949-7cojlehrjxt2ck95
Add const
Remove unused vars

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
plugin::TableFunction *TableFunctionContainer::getFunction(const std::string &path)
32
32
{
33
 
  ToolMap::mapped_type* ptr= find_ptr(table_map, path);
34
 
  return ptr ? *ptr : NULL;
 
33
  return find_ptr2(table_map, path);
35
34
}
36
35
 
37
36
void TableFunctionContainer::getNames(const string &predicate, std::set<std::string> &set_of_names)