~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Lee Bieber
  • Date: 2011-01-28 02:32:26 UTC
  • mfrom: (2114.4.10 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2124.
  • Revision ID: kalebral@gmail.com-20110128023226-11i88kemmdygtz0d
Merge Brian - more parser rework

Show diffs side-by-side

added added

removed removed

Lines of Context:
623
623
   */
624
624
  bool isViewable(identifier::User::const_reference) const;
625
625
 
 
626
private:
626
627
  /**
627
628
    Used in error messages to tell user in what part of MySQL we found an
628
629
    error. E. g. when where= "having clause", if fix_fields() fails, user
629
630
    will know that the error was in having clause.
630
631
  */
631
 
  const char *where;
 
632
  const char *_where;
 
633
 
 
634
public:
 
635
  const char *where()
 
636
  {
 
637
    return _where;
 
638
  }
 
639
 
 
640
  void setWhere(const char *arg)
 
641
  {
 
642
    _where= arg;
 
643
  }
632
644
 
633
645
  /*
634
646
    One thread can hold up to one named user-level lock. This variable
636
648
    chapter 'Miscellaneous functions', for functions GET_LOCK, RELEASE_LOCK.
637
649
  */
638
650
  uint32_t dbug_sentry; /**< watch for memory corruption */
 
651
 
639
652
private:
640
653
  boost::thread::id boost_thread_id;
641
654
  boost_thread_shared_ptr _thread;