~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_function_container.cc

  • Committer: Brian Aker
  • Date: 2010-03-17 19:18:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1354.
  • Revision ID: brian@gaz-20100317191840-9ro7fajqp6lhaqjo
Update, we now have all of the ANSI INFORMATION_SCHEMA listed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
}
40
40
 
41
41
void TableFunctionContainer::getNames(const string &predicate,
42
 
                                      std::set<std::string> &set_of_names)
 
42
                                      std::set<std::string> &set_of_names)
43
43
{
44
44
  for (ToolMap::iterator it= table_map.begin();
45
45
       it != table_map.end();
51
51
    {
52
52
      if (not predicate.compare(tool->getSchemaHome()))
53
53
      {
54
 
        set_of_names.insert(tool->getName());
 
54
        set_of_names.insert(tool->getTableLabel());
55
55
      }
56
56
    }
57
57
    else
58
58
    {
59
 
      set_of_names.insert(tool->getName());
 
59
      set_of_names.insert(tool->getTableLabel());
60
60
    }
61
61
  }
62
62
}