~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Monty Taylor
  • Date: 2010-04-01 17:45:30 UTC
  • mto: (1300.5.24 drizzled-as-lib)
  • mto: This revision was merged to the branch mainline in revision 1479.
  • Revision ID: mordred@inaugust.com-20100401174530-9n6jdatgreroas44
Use unordered_map from the upcoming c++0x standard instead of a homemade
hash_map.h. For the one platform we have that doesn't properly support it
(hi, centos5) we make two quick classes just to rename the hash_map there to
the standard unordred_map.
Change the codebase to use unordered_map and unordered_set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "drizzled/cached_directory.h"
34
34
#include "drizzled/plugin/monitored_in_transaction.h"
35
35
 
36
 
#include "drizzled/hash.h"
 
36
#include <drizzled/unordered_map.h>
37
37
 
38
38
#include <bitset>
39
39
#include <string>
124
124
namespace plugin
125
125
{
126
126
 
127
 
typedef hash_map<std::string, StorageEngine *> EngineMap;
 
127
typedef unordered_map<std::string, StorageEngine *> EngineMap;
128
128
typedef std::vector<StorageEngine *> EngineVector;
129
129
 
130
130
typedef std::set<std::string> TableNameList;