~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/ha_innodb.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:
380
380
  doDropSchema(
381
381
  /*===================*/
382
382
        /* out: error number */
383
 
    SchemaIdentifier  &identifier); /* in: database path; inside InnoDB the name
 
383
    const SchemaIdentifier  &identifier); /* in: database path; inside InnoDB the name
384
384
        of the last directory in the path is used as
385
385
        the database name: for example, in 'mysql/data/test'
386
386
        the database name is 'test' */
445
445
                           drizzled::message::Table &table_proto);
446
446
 
447
447
  void doGetTableNames(drizzled::CachedDirectory &directory,
448
 
           drizzled::SchemaIdentifier &schema_identifier,
 
448
                       const drizzled::SchemaIdentifier &schema_identifier,
449
449
                       std::set<std::string> &set_of_names);
450
450
 
451
451
  bool doDoesTableExist(drizzled::Session& session, const TableIdentifier &identifier);
452
452
 
453
453
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
454
 
                             drizzled::SchemaIdentifier &schema_identifier,
 
454
                             const drizzled::SchemaIdentifier &schema_identifier,
455
455
                             drizzled::TableIdentifiers &set_of_identifiers);
456
456
  bool validateCreateTableOption(const std::string &key, const std::string &state);
457
457
  void dropTemporarySchema();
480
480
}
481
481
 
482
482
void InnobaseEngine::doGetTableIdentifiers(drizzled::CachedDirectory &directory,
483
 
                                           drizzled::SchemaIdentifier &schema_identifier,
 
483
                                           const drizzled::SchemaIdentifier &schema_identifier,
484
484
                                           drizzled::TableIdentifiers &set_of_identifiers)
485
485
{
486
486
  CachedDirectory::Entries entries= directory.getEntries();
550
550
  return ENOENT;
551
551
}
552
552
 
553
 
void InnobaseEngine::doGetTableNames(CachedDirectory &directory, SchemaIdentifier&, set<string>& set_of_names)
 
553
void InnobaseEngine::doGetTableNames(CachedDirectory &directory, const SchemaIdentifier&, set<string>& set_of_names)
554
554
{
555
555
  CachedDirectory::Entries entries= directory.getEntries();
556
556
 
5824
5824
bool
5825
5825
InnobaseEngine::doDropSchema(
5826
5826
/*===================*/
5827
 
                             SchemaIdentifier &identifier)
 
5827
                             const SchemaIdentifier &identifier)
5828
5828
    /*!< in: database path; inside InnoDB the name
5829
5829
      of the last directory in the path is used as
5830
5830
      the database name: for example, in 'mysql/data/test'