~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: pawel
  • Date: 2010-03-29 20:16:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1428.
  • Revision ID: pawel@paw-20100329201608-ndqnc736k47uvy3s
changed function-like defines into functions in some files

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
  {