~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.h

Merged up with latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
747
747
  char *length;
748
748
  /* This is the decimal precision in DECIMAL(S,P) notation */
749
749
  char *dec;
750
 
  /* The text in a CHANGE COLUMN clause in ALTER TABLE */
751
 
  char *change;
752
750
  
753
751
  /**
754
752
   * This is used kind of like the "ident" member variable below, as 
762
760
  file_exchange *exchange;
763
761
  select_result *result;
764
762
 
765
 
  /* An item representing the DEFAULT clause in CREATE/ALTER TABLE */
766
 
  Item *default_value;
767
 
  /* An item representing the ON UPDATE clause in CREATE/ALTER TABLE */
768
 
  Item *on_update_value;
769
 
  /* Not really sure what exactly goes in here... Comment text at beginning of statement? */
770
 
  LEX_STRING comment;
771
 
 
772
763
  /**
773
764
   * This is current used to store the name of a named key cache
774
765
   * or a named savepoint.  It should probably be refactored out into
813
804
  CreateField *last_field;
814
805
  Item_sum *in_sum_func;
815
806
  drizzled::plugin::Function *udf;
816
 
  HA_CHECK_OPT check_opt;                       // check/repair options
817
 
  HA_CREATE_INFO create_info;
818
 
  drizzled::message::Table *create_table_proto;
819
 
  drizzled::plugin::StorageEngine *show_engine;
820
 
  KEY_CREATE_INFO key_create_info;
821
807
  uint32_t type;
822
808
  /*
823
809
    This variable is used in post-parse stage to declare that sum-functions,
841
827
 
842
828
  thr_lock_type lock_option;
843
829
  enum enum_duplicates duplicates;
844
 
  enum enum_tx_isolation tx_isolation;
845
 
  enum enum_ha_read_modes ha_read_mode;
846
830
  union {
847
831
    enum ha_rkey_function ha_rkey_mode;
848
832
    enum xa_option_words xa_opt;
849
833
  };
850
834
  enum enum_var_type option_type;
851
835
 
852
 
  enum column_format_type column_format;
853
 
  enum Foreign_key::fk_match_opt fk_match_option;
854
 
  enum Foreign_key::fk_option fk_update_opt;
855
 
  enum Foreign_key::fk_option fk_delete_opt;
856
836
  /* Options used in START TRANSACTION statement */
857
837
  uint32_t start_transaction_opt;
 
838
 
858
839
  int nest_level;
859
840
  uint8_t describe;
860
841
  /*
863
844
  */
864
845
  uint8_t derived_tables;
865
846
 
866
 
  /* True if "IF EXISTS" used in DROP statement */
867
 
  bool drop_if_exists;
868
 
  /* True if "TEMPORARY" used in DROP/CREATE statement */
869
 
  bool drop_temporary;
870
 
  bool one_shot_set;
871
 
 
872
847
  /* Only true when FULL symbol is found (e.g. SHOW FULL PROCESSLIST) */
873
848
  bool verbose;
874
849
  
875
 
  /* Was the CHAIN option using in COMMIT/ROLLBACK? */
876
 
  bool tx_chain;
877
 
  /* Was the RELEASE option used in COMMIT/ROLLBACK? */
878
 
  bool tx_release;
879
850
  /* Was the IGNORE symbol found in statement */
880
851
  bool ignore;
881
 
  AlterInfo alter_info;
882
 
 
883
 
  /*
884
 
    Pointers to part of LOAD DATA statement that should be rewritten
885
 
    during replication ("LOCAL 'filename' REPLACE INTO" part).
886
 
  */
887
 
  const char *fname_start;
888
 
  const char *fname_end;
889
852
 
890
853
  /**
891
854
    During name resolution search only in the table list given by