~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2010-06-29 21:22:35 UTC
  • Revision ID: brian@gaz-20100629212235-egrke8446lndm2iz
This adds const to SchemaIdentifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
676
676
}
677
677
 
678
678
 
679
 
void Session::doGetTableNames(SchemaIdentifier &schema_identifier,
 
679
void Session::doGetTableNames(const SchemaIdentifier &schema_identifier,
680
680
                              std::set<std::string>& set_of_names)
681
681
{
682
682
  for (Table *table= temporary_tables ; table ; table= table->getNext())
689
689
}
690
690
 
691
691
void Session::doGetTableNames(CachedDirectory &,
692
 
                              SchemaIdentifier &schema_identifier,
 
692
                              const SchemaIdentifier &schema_identifier,
693
693
                              std::set<std::string> &set_of_names)
694
694
{
695
695
  doGetTableNames(schema_identifier, set_of_names);
696
696
}
697
697
 
698
 
void Session::doGetTableIdentifiers(SchemaIdentifier &schema_identifier,
 
698
void Session::doGetTableIdentifiers(const SchemaIdentifier &schema_identifier,
699
699
                                    TableIdentifiers &set_of_identifiers)
700
700
{
701
701
  for (Table *table= temporary_tables ; table ; table= table->getNext())
710
710
}
711
711
 
712
712
void Session::doGetTableIdentifiers(CachedDirectory &,
713
 
                                    SchemaIdentifier &schema_identifier,
 
713
                                    const SchemaIdentifier &schema_identifier,
714
714
                                    TableIdentifiers &set_of_identifiers)
715
715
{
716
716
  doGetTableIdentifiers(schema_identifier, set_of_identifiers);
4488
4488
and afterwards delete those marked unused.
4489
4489
*/
4490
4490
 
4491
 
void remove_db_from_cache(SchemaIdentifier &schema_identifier)
 
4491
void remove_db_from_cache(const SchemaIdentifier &schema_identifier)
4492
4492
{
4493
4493
  safe_mutex_assert_owner(&LOCK_open);
4494
4494