~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Brian Aker
  • Date: 2010-09-10 16:41:50 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100910164150-grktr2kjfgvk4iw2
This add a couple of utility table functions to be used with testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
939
939
  {
940
940
    cacheable= val;
941
941
  }
 
942
 
 
943
  void reset()
 
944
  {
 
945
    sum_expr_used= false;
 
946
  }
 
947
 
 
948
  void setSumExprUsed()
 
949
  {
 
950
    sum_expr_used= true;
 
951
  }
 
952
 
 
953
  bool isSumExprUsed()
 
954
  {
 
955
    return sum_expr_used;
 
956
  }
942
957
private: 
943
958
  bool cacheable;
 
959
  bool sum_expr_used;
944
960
};
945
961
 
946
962
extern void lex_start(Session *session);