~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-08 14:46:29 UTC
  • mto: (2275.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2276.
  • Revision ID: olafvdspek@gmail.com-20110408144629-z2bdz3wwnsh03g4w
UseĀ util::string::ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
  */
221
221
public:
222
222
 
223
 
  util::string::const_shared_ptr schema() const
224
 
  {
225
 
    return _schema ? _schema : util::string::const_shared_ptr(new std::string);
226
 
  }
 
223
  util::string::ptr schema() const;
227
224
 
228
225
  /* current cache key */
229
226
  std::string query_cache_key;
772
769
   * slave.
773
770
   */
774
771
  void cleanup_after_query();
775
 
  bool storeGlobals();
 
772
  void storeGlobals();
776
773
  void awake(Session::killed_state_t state_to_set);
777
774
  /**
778
775
   * Pulls thread-specific variables into Session state.
1269
1266
  identifier::user::mptr security_ctx;
1270
1267
  int32_t scoreboard_index;
1271
1268
  plugin::Client *client;
1272
 
  util::string::shared_ptr _schema;
1273
1269
};
1274
1270
 
1275
1271
#define ESCAPE_CHARS "ntrb0ZN" // keep synchronous with READ_INFO::unescape