~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-04 08:13:04 UTC
  • mfrom: (2384 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110804081304-rlejjpvoos17bjdf
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
  virtual TableList* get_table_list();
261
261
  virtual List<Item>* get_item_list();
262
262
  virtual TableList *add_table_to_list(Session *session, Table_ident *table,
263
 
                                       LEX_STRING *alias,
 
263
                                       lex_string_t *alias,
264
264
                                       const std::bitset<NUM_OF_TABLE_OPTIONS>& table_options,
265
265
                                       thr_lock_type flags= TL_UNLOCK,
266
266
                                       List<Index_hint> *hints= 0,
267
 
                                       LEX_STRING *option= 0);
 
267
                                       lex_string_t *option= 0);
268
268
  virtual void set_lock_for_tables(thr_lock_type)
269
269
  {}
270
270
 
583
583
  void add_order_to_list(Session *session, Item *item, bool asc);
584
584
  TableList* add_table_to_list(Session *session,
585
585
                               Table_ident *table,
586
 
                               LEX_STRING *alias,
 
586
                               lex_string_t *alias,
587
587
                               const std::bitset<NUM_OF_TABLE_OPTIONS>& table_options,
588
588
                               thr_lock_type flags= TL_UNLOCK,
589
589
                               List<Index_hint> *hints= 0,
590
 
                               LEX_STRING *option= 0);
 
590
                               lex_string_t *option= 0);
591
591
  TableList* get_table_list();
592
592
  void init_nested_join(Session&);
593
593
  TableList *end_nested_join(Session *session);
681
681
, XA_FOR_MIGRATE
682
682
};
683
683
 
684
 
extern const LEX_STRING null_lex_str;
685
 
 
686
684
/*
687
685
  Class representing list of all tables used by statement.
688
686
  It also contains information about stored functions used by statement
793
791
   * is used differently depending on the Command (SELECT on a derived
794
792
   * table vs CREATE)
795
793
   */
796
 
  LEX_STRING name;
 
794
  lex_string_t name;
797
795
  /* The string literal used in a LIKE expression */
798
796
  String *wild;
799
797
  file_exchange *exchange;
805
803
   * the eventual Command class built for the Keycache and Savepoint
806
804
   * commands.
807
805
   */
808
 
  LEX_STRING ident;
 
806
  lex_string_t ident;
809
807
 
810
808
  unsigned char* yacc_yyss, *yacc_yyvs;
811
809
  /* The owning Session of this LEX */