~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.cc

  • Committer: Brian Aker
  • Date: 2010-03-01 22:24:10 UTC
  • mto: (1309.2.12 build)
  • mto: This revision was merged to the branch mainline in revision 1317.
  • Revision ID: brian@gaz-20100301222410-w509prhp73pg6z4n
Update the code so use a faster index lookup method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
      pair<SchemaCache::iterator, bool> ret=
139
139
        schema_cache.insert(make_pair(schema_message.name(), schema_message));
140
140
 
141
 
      cerr << "Caching " << schema_message.name() << "\n";
142
 
 
143
141
      if (ret.second == false)
144
142
      {
145
143
        abort(); // If this has happened, something really bad is going down.