~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Brian Aker
  • Date: 2010-03-31 22:22:16 UTC
  • mfrom: (1377.6.3 bug549858-fix)
  • Revision ID: brian@gaz-20100331222216-sl7qi1f5z6v83127
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
#define Session_SENTRY_MAGIC 0xfeedd1ff
143
143
#define Session_SENTRY_GONE  0xdeadbeef
144
144
 
145
 
#define Session_CHECK_SENTRY(session) assert(session->dbug_sentry == Session_SENTRY_MAGIC)
146
 
 
147
145
struct system_variables
148
146
{
149
147
  system_variables() {};
465
463
 
466
464
private:
467
465
  SecurityContext security_ctx;
 
466
 
 
467
  inline void checkSentry() const
 
468
  {
 
469
    assert(this->dbug_sentry == Session_SENTRY_MAGIC);
 
470
  }
468
471
public:
469
472
  const SecurityContext& getSecurityContext() const
470
473
  {