~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-02-28 14:23:26 UTC
  • mto: (2209.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2210.
  • Revision ID: olafvdspek@gmail.com-20110228142326-hi34wg9pfuzdsq9y
Use ptr instead of i

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* i= find_ptr(table_map, path);
34
 
  return i ? *i : NULL;
 
33
  ToolMap::mapped_type* ptr= find_ptr(table_map, path);
 
34
  return ptr ? *ptr : NULL;
35
35
}
36
36
 
37
37
void TableFunctionContainer::getNames(const string &predicate, std::set<std::string> &set_of_names)