~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-07-29 02:28:38 UTC
  • mfrom: (1669.3.10 rollup)
  • Revision ID: brian@gaz-20100729022838-7x19p93dq8l36ejb
Rollup of patch from Brian. Includes malloc -> new for Table, and
modifications to make boost::unordered use for strings a version which
does the automagic for case.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include "drizzled/named_savepoint.h"
38
38
#include "drizzled/transaction_context.h"
39
39
 
 
40
#include "drizzled/my_hash.h"
 
41
 
40
42
#include <netdb.h>
41
43
#include <map>
42
44
#include <string>
51
53
 
52
54
#include <drizzled/plugin/authorization.h>
53
55
 
 
56
#include <boost/unordered_map.hpp>
 
57
 
54
58
#define MIN_HANDSHAKE_SIZE      6
55
59
 
56
60
namespace drizzled
1410
1414
  Table *table_cache_insert_placeholder(const char *db_name, const char *table_name);
1411
1415
  bool lock_table_name_if_not_cached(TableIdentifier &identifier, Table **table);
1412
1416
 
1413
 
  typedef unordered_map<std::string, message::Table> TableMessageCache;
 
1417
  typedef boost::unordered_map<std::string, message::Table> TableMessageCache;
1414
1418
  TableMessageCache table_message_cache;
1415
1419
 
1416
1420
  bool storeTableMessage(const TableIdentifier &identifier, message::Table &table_message);