~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.cc

  • Committer: Lee Bieber
  • Date: 2010-12-02 15:34:20 UTC
  • mfrom: (1966.2.5 catalogs)
  • Revision ID: kalebral@gmail.com-20101202153420-mevn7q7h3xlbb1s4
Merge Brian - shared pointer style cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
  mutex.unlock();
100
100
}
101
101
 
102
 
void Schema::doGetSchemaIdentifiers(SchemaIdentifiers &set_of_names)
 
102
void Schema::doGetSchemaIdentifiers(SchemaIdentifier::vector &set_of_names)
103
103
{
104
104
  mutex.lock_shared();
105
105
  {
113
113
  mutex.unlock_shared();
114
114
}
115
115
 
116
 
bool Schema::doGetSchemaDefinition(const SchemaIdentifier &schema_identifier, message::SchemaPtr &schema_message)
 
116
bool Schema::doGetSchemaDefinition(const SchemaIdentifier &schema_identifier, message::schema::shared_ptr &schema_message)
117
117
{
118
118
  mutex.lock_shared();
119
119
  SchemaCache::iterator iter= schema_cache.find(schema_identifier.getPath());
165
165
 
166
166
bool Schema::doDropSchema(const SchemaIdentifier &schema_identifier)
167
167
{
168
 
  message::SchemaPtr schema_message;
 
168
  message::schema::shared_ptr schema_message;
169
169
 
170
170
  string schema_file(schema_identifier.getPath());
171
171
  schema_file.append(1, FN_LIBCHAR);
361
361
 
362
362
void Schema::doGetTableIdentifiers(drizzled::CachedDirectory&,
363
363
                                   const drizzled::SchemaIdentifier&,
364
 
                                   drizzled::TableIdentifiers&)
 
364
                                   drizzled::TableIdentifier::vector&)
365
365
{
366
366
}