CUBRID Engine  latest
parser_context Struct Reference

#include <parse_tree.h>

Collaboration diagram for parser_context:
Collaboration graph

Public Attributes

PT_INT_FUNCTION next_char
 
PT_INT_FUNCTION next_byte
 
PT_CASECMP_FUN casecmp
 
int id
 
int statement_number
 
const char * original_buffer
 
const char * buffer
 
FILE * file
 
int stack_top
 
int stack_size
 
PT_NODE ** node_stack
 
PT_NODEorphans
 
char * error_buffer
 
PT_NODE ** statements
 
PT_NODEerror_msgs
 
PT_NODEwarnings
 
PT_PRINT_VALUE_FUNC print_db_value
 
jmp_buf jmp_env
 
unsigned int custom_print
 
int jmp_env_active
 
QUERY_ID query_id
 
DB_VALUEhost_variables
 
TP_DOMAIN ** host_var_expected_domains
 
EXECUTION_STATE_VALUES execution_values
 
int host_var_count
 
int auto_param_count
 
int dbval_cnt
 
int line
 
int column
 
void * etc
 
VIEW_CACHE_INFOview_cache
 
struct symbol_infosymbols
 
char ** lcks_classes
 
size_t input_buffer_length
 
size_t input_buffer_position
 
int au_save
 
DB_VALUE sys_datetime
 
DB_VALUE sys_epochtime
 
DB_VALUE local_transaction_id
 
int num_lcks_classes
 
PT_INCLUDE_OID_TYPE oid_included
 
long int lrand
 
double drand
 
COMPILE_CONTEXT context
 
struct xasl_nodeparent_proc_xasl
 
bool query_trace
 
int num_plan_trace
 
PT_PLAN_TRACE_INFO plan_trace [MAX_NUM_PLAN_TRACE]
 
int max_print_len
 
struct {
   unsigned   has_internal_error:1
 
   unsigned   abort:1
 
   unsigned   set_host_var:1
 
   unsigned   dont_prt_long_string:1
 
   unsigned   long_string_skipped:1
 
   unsigned   print_type_ambiguity:1
 
   unsigned   strings_have_no_escapes:1
 
   unsigned   is_in_and_list:1
 
   unsigned   is_holdable:1
 
   unsigned   is_xasl_pinned_reference:1
 
   unsigned   recompile_xasl_pinned:1
 
   unsigned   dont_collect_exec_stats:1
 
   unsigned   return_generated_keys:1
 
   unsigned   is_system_generated_stmt:1
 
   unsigned   is_auto_commit:1
 
flag
 

Detailed Description

Definition at line 3530 of file parse_tree.h.

Member Data Documentation

const char* parser_context::buffer

Definition at line 3540 of file parse_tree.h.

Referenced by buffgetin(), and parser_parse_string_with_escapes().

PT_CASECMP_FUN parser_context::casecmp
int parser_context::column
int parser_context::dbval_cnt
unsigned parser_context::dont_prt_long_string
double parser_context::drand

Definition at line 3589 of file parse_tree.h.

Referenced by pt_evaluate_db_value_expr().

char* parser_context::error_buffer

Definition at line 3547 of file parse_tree.h.

Referenced by parser_free_parser(), pt_frob_error(), and pt_frob_warning().

void* parser_context::etc

Definition at line 3569 of file parse_tree.h.

Referenced by pt_to_pred_expr_local_with_arg(), and pt_to_regu_variable().

EXECUTION_STATE_VALUES parser_context::execution_values

Definition at line 3562 of file parse_tree.h.

Referenced by do_run_update_query_for_class(), and update_execution_values().

struct { ... } parser_context::flag

Referenced by build_xasl_for_server_delete(), db_check_limit_need_recompile(), db_compile_statement_local(), db_execute_and_keep_statement_local(), db_push_values(), db_session_set_holdable(), db_session_set_return_generated_keys(), db_session_set_xasl_cache_pinned(), db_set_statement_auto_commit(), db_set_system_generated_statement(), do_cast_host_variables_to_expected_domain(), do_execute_delete(), do_execute_do(), do_execute_insert(), do_execute_merge(), do_execute_select(), do_execute_session_statement(), do_execute_update(), do_get_prepared_statement_info(), do_insert(), do_insert_at_server(), do_insert_template(), do_merge(), do_prepare_delete(), do_prepare_insert_internal(), do_prepare_merge(), do_prepare_select(), do_prepare_update(), do_recompile_and_execute_prepared_statement(), do_select_internal(), init_compile_context(), insert_subquery_results(), parser_generate_xasl(), parser_generate_xasl_post(), parser_generate_xasl_pre(), parser_generate_xasl_proc(), parser_parse_file(), parser_parse_string_with_escapes(), pt_check_and_replace_hostvar(), pt_check_ordby_num_for_multi_range_opt(), pt_coerce_value_internal(), pt_eval_type(), pt_get_query_limit_from_limit(), pt_host_var_db_value(), pt_internal_error(), pt_is_server_insert_with_generated_keys(), pt_make_query_show_exec_stats(), pt_make_query_show_exec_stats_all(), pt_make_query_show_trace(), pt_make_regu_hostvar(), pt_new_query_result_descriptor(), pt_print_and_list(), pt_print_bytes(), pt_print_value(), pt_set_host_variables(), pt_to_insert_xasl(), pt_value_to_db(), and update_at_server().

unsigned parser_context::has_internal_error

Definition at line 3602 of file parse_tree.h.

Referenced by pt_internal_error().

size_t parser_context::input_buffer_length

Definition at line 3575 of file parse_tree.h.

Referenced by buffgetin(), and parser_parse_string_with_escapes().

size_t parser_context::input_buffer_position

Definition at line 3576 of file parse_tree.h.

Referenced by buffgetin(), and parser_parse_string_with_escapes().

unsigned parser_context::is_in_and_list
unsigned parser_context::is_system_generated_stmt

Definition at line 3623 of file parse_tree.h.

Referenced by db_compile_statement_local(), and db_set_system_generated_statement().

jmp_buf parser_context::jmp_env

Definition at line 3555 of file parse_tree.h.

int parser_context::jmp_env_active

Definition at line 3557 of file parse_tree.h.

Referenced by parser_create_node_block(), and parser_create_string_block().

char** parser_context::lcks_classes
int parser_context::line
DB_VALUE parser_context::local_transaction_id
unsigned parser_context::long_string_skipped
long int parser_context::lrand

Definition at line 3588 of file parse_tree.h.

Referenced by pt_evaluate_db_value_expr().

int parser_context::max_print_len
PT_INT_FUNCTION parser_context::next_byte
PT_NODE** parser_context::node_stack

Definition at line 3544 of file parse_tree.h.

Referenced by db_parse_one_statement(), pt_pop(), pt_push(), and pt_top().

int parser_context::num_lcks_classes

Definition at line 3585 of file parse_tree.h.

Referenced by parser_free_lcks_classes(), and pt_class_pre_fetch().

PT_INCLUDE_OID_TYPE parser_context::oid_included

Definition at line 3586 of file parse_tree.h.

Referenced by mq_virtual_queries(), pt_check_single_valued_node(), and pt_reset_error().

const char* parser_context::original_buffer

Definition at line 3539 of file parse_tree.h.

Referenced by parser_parse_string_with_escapes(), and pt_frob_error().

PT_NODE* parser_context::orphans

Definition at line 3545 of file parse_tree.h.

Referenced by pt_free_orphans(), pt_register_orphan(), and pt_register_orphan_db_value().

struct xasl_node* parser_context::parent_proc_xasl

Definition at line 3592 of file parse_tree.h.

Referenced by pt_to_buildlist_proc(), pt_to_buildvalue_proc(), and pt_to_regu_variable().

PT_PRINT_VALUE_FUNC parser_context::print_db_value
unsigned parser_context::print_type_ambiguity
unsigned parser_context::recompile_xasl_pinned

Definition at line 3620 of file parse_tree.h.

Referenced by db_session_set_xasl_cache_pinned(), and init_compile_context().

int parser_context::stack_size

Definition at line 3543 of file parse_tree.h.

Referenced by pt_push().

PT_NODE** parser_context::statements

Definition at line 3549 of file parse_tree.h.

Referenced by db_parse_one_statement(), and pt_print_spec().

unsigned parser_context::strings_have_no_escapes

Definition at line 3610 of file parse_tree.h.

Referenced by parser_parse_file(), and parser_parse_string_with_escapes().

PT_NODE* parser_context::warnings

Definition at line 3551 of file parse_tree.h.

Referenced by pt_get_warnings(), and pt_record_warning().


The documentation for this struct was generated from the following file: