CUBRID Engine
latest
|
#include <parse_tree.h>
Definition at line 3530 of file parse_tree.h.
unsigned parser_context::abort |
Definition at line 3603 of file parse_tree.h.
Referenced by do_execute_merge(), do_execute_select(), do_execute_session_statement(), do_insert(), do_insert_template(), do_merge(), parser_generate_xasl(), parser_generate_xasl_post(), parser_generate_xasl_pre(), and parser_generate_xasl_proc().
int parser_context::au_save |
Definition at line 3578 of file parse_tree.h.
Referenced by do_delete(), do_execute_do(), do_merge(), do_select_internal(), do_update(), get_select_list_to_update(), insert_local(), mq_get_attribute(), mq_oid(), select_delete_list(), sm_truncate_class(), and update_class().
int parser_context::auto_param_count |
Definition at line 3565 of file parse_tree.h.
Referenced by build_xasl_for_server_delete(), db_check_limit_need_recompile(), db_close_session_local(), db_execute_and_keep_statement_local(), 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_at_server(), do_process_prepare_statement(), do_select_internal(), parser_free_parser(), pt_get_dup_key_oid_var_index(), pt_host_var_db_value(), pt_rewrite_to_auto_param(), and update_at_server().
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 |
Definition at line 3534 of file parse_tree.h.
Referenced by parser_parse_file(), parser_parse_string_with_escapes(), and pt_init_one_statement_parser().
int parser_context::column |
Definition at line 3567 of file parse_tree.h.
Referenced by db_get_parser_line_col(), parser_parse_file(), parser_parse_string_with_escapes(), and pt_init_one_statement_parser().
COMPILE_CONTEXT parser_context::context |
Definition at line 3591 of file parse_tree.h.
Referenced by do_prepare_delete(), do_prepare_insert_internal(), do_prepare_merge(), do_prepare_select(), do_prepare_update(), init_compile_context(), and pt_plan_query().
unsigned int parser_context::custom_print |
Definition at line 3556 of file parse_tree.h.
Referenced by add_query_to_virtual_class(), create_or_drop_index_helper(), do_alter_one_clause_with_template(), do_insert_template(), do_recreate_filter_index_constr(), parser_print_function_index_expr(), parser_print_tree(), parser_print_tree_with_quotes(), pt_append_name(), pt_bind_names(), pt_check_single_valued_node(), pt_check_union_type_compatibility_of_values_query(), pt_get_attr_name(), pt_get_node_title(), pt_get_titles(), pt_node_to_function_index(), pt_node_to_partition_info(), pt_plan_query(), pt_plan_schema(), pt_print_alter_index(), pt_print_alter_one_clause(), pt_print_attr_def(), pt_print_create_entity(), pt_print_create_index(), pt_print_db_value(), pt_print_do(), pt_print_dot(), pt_print_drop(), pt_print_drop_index(), pt_print_expr(), pt_print_function(), pt_print_grant(), pt_print_insert(), pt_print_insert_value(), pt_print_name(), pt_print_node_value(), pt_print_parts(), pt_print_query_spec_no_list(), pt_print_revoke(), pt_print_select(), pt_print_spec(), pt_print_truncate(), pt_print_update(), pt_print_value(), pt_to_pos_descr(), pt_to_pos_descr_groupby(), pt_transform_cnf_post(), pt_undef_names_pre(), qo_term_string(), qo_top_plan_print_json(), and qo_top_plan_print_text().
int parser_context::dbval_cnt |
Definition at line 3566 of file parse_tree.h.
Referenced by parser_generate_do_stmt_xasl(), parser_generate_xasl(), pt_make_regu_hostvar(), and pt_to_merge_xasl().
unsigned parser_context::dont_collect_exec_stats |
Definition at line 3621 of file parse_tree.h.
Referenced by do_execute_select(), do_select_internal(), parser_parse_file(), parser_parse_string_with_escapes(), pt_make_query_show_exec_stats(), pt_make_query_show_exec_stats_all(), and pt_make_query_show_trace().
unsigned parser_context::dont_prt_long_string |
Definition at line 3606 of file parse_tree.h.
Referenced by do_prepare_delete(), do_prepare_insert_internal(), do_prepare_merge(), do_prepare_select(), do_prepare_update(), and pt_print_value().
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().
PT_NODE* parser_context::error_msgs |
Definition at line 3550 of file parse_tree.h.
Referenced by do_insert(), mq_fetch_attributes(), mq_fetch_subqueries(), mq_fetch_subqueries_for_update_local(), mq_is_real_class_of_vclass(), mq_oid(), pt_check_cyclic_reference_in_view_spec(), pt_coerce_range_expr_arguments(), pt_coerce_str_to_time_date_utime_datetime(), pt_eval_expr_type(), pt_get_errors(), pt_invert(), pt_print_host_var(), pt_record_error(), pt_report_to_ersys(), pt_report_to_ersys_with_statement(), pt_reset_error(), qo_check_condition_yields_null(), and uci_static().
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().
FILE* parser_context::file |
Definition at line 3541 of file parse_tree.h.
Referenced by fgetin(), parser_parse_file(), pt_init_one_statement_parser(), smt_change_query_spec(), smt_drop_method_file(), smt_drop_query_spec(), and smt_rename_method_file().
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().
int parser_context::host_var_count |
Definition at line 3564 of file parse_tree.h.
Referenced by build_xasl_for_server_delete(), ci_stmt_add_batch_impl(), ci_stmt_clear_batch_impl(), db_check_limit_need_recompile(), db_close_session_local(), db_execute_and_keep_statement_local(), db_number_of_input_markers(), db_push_values(), 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_at_server(), do_process_prepare_statement(), do_replicate_statement(), do_select_internal(), do_set_user_host_variables(), pt_assignment_compatible(), pt_check_alter_partition(), pt_check_and_replace_hostvar(), pt_check_partitions(), pt_check_with_info(), pt_create_param_for_value(), pt_get_dup_key_oid_var_index(), pt_host_var_db_value(), pt_preset_hostvar(), pt_rewrite_to_auto_param(), pt_set_host_variables(), pt_value_to_db(), stmt_bind_pmeta_handle(), stmt_destroyf(), stmt_exec_internal(), stmt_exec_prepared_batch_internal(), stmt_get_parameter_internal(), stmt_prepare_internal(), stmt_set_parameter_internal(), and update_at_server().
TP_DOMAIN** parser_context::host_var_expected_domains |
Definition at line 3561 of file parse_tree.h.
Referenced by db_check_limit_need_recompile(), db_close_session_local(), do_cast_host_variables_to_expected_domain(), do_get_prepared_statement_info(), do_process_prepare_statement(), parser_free_parser(), pt_assignment_compatible(), pt_preset_hostvar(), and pt_set_host_variables().
DB_VALUE* parser_context::host_variables |
Definition at line 3560 of file parse_tree.h.
Referenced by build_xasl_for_server_delete(), db_check_limit_need_recompile(), db_close_session_local(), db_get_hostvars(), 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_at_server(), do_process_prepare_statement(), do_replicate_statement(), do_select_internal(), parser_free_parser(), pt_host_var_db_value(), pt_make_regu_hostvar(), pt_rewrite_to_auto_param(), pt_set_host_variables(), stmt_get_parameter_internal(), and update_at_server().
int parser_context::id |
Definition at line 3536 of file parse_tree.h.
Referenced by copy_node_in_tree_pre(), parser_allocate_string_buffer(), parser_create_node(), parser_create_node_block(), parser_create_string_block(), parser_free_node(), pt_find_string_block(), pt_free_a_string_block(), pt_free_node_blocks(), pt_free_string_blocks(), pt_get_select_list(), pt_register_parser(), and pt_unregister_parser().
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_auto_commit |
Definition at line 3624 of file parse_tree.h.
Referenced by build_xasl_for_server_delete(), db_set_statement_auto_commit(), do_execute_delete(), do_execute_do(), do_execute_insert(), do_execute_merge(), do_execute_select(), do_execute_session_statement(), do_execute_update(), do_insert_at_server(), do_recompile_and_execute_prepared_statement(), do_select_internal(), and update_at_server().
unsigned parser_context::is_holdable |
Definition at line 3615 of file parse_tree.h.
Referenced by db_session_set_holdable(), db_set_statement_auto_commit(), do_execute_select(), do_execute_session_statement(), do_recompile_and_execute_prepared_statement(), and pt_new_query_result_descriptor().
unsigned parser_context::is_in_and_list |
Definition at line 3611 of file parse_tree.h.
Referenced by db_execute_and_keep_statement_local(), parser_parse_file(), pt_print_and_list(), and pt_print_bytes().
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().
unsigned parser_context::is_xasl_pinned_reference |
Definition at line 3616 of file parse_tree.h.
Referenced by db_session_set_xasl_cache_pinned(), do_execute_delete(), do_execute_insert(), do_execute_merge(), do_execute_select(), do_execute_session_statement(), do_execute_update(), and init_compile_context().
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 |
Definition at line 3573 of file parse_tree.h.
Referenced by db_get_lock_classes(), parser_free_lcks_classes(), and pt_class_pre_fetch().
int parser_context::line |
Definition at line 3567 of file parse_tree.h.
Referenced by db_get_parser_line_col(), parser_parse_file(), parser_parse_string_with_escapes(), and pt_init_one_statement_parser().
DB_VALUE parser_context::local_transaction_id |
Definition at line 3583 of file parse_tree.h.
Referenced by db_execute_and_keep_statement_local(), pt_evaluate_db_value_expr(), pt_exec_trigger_stmt(), and qp_get_server_info().
unsigned parser_context::long_string_skipped |
Definition at line 3607 of file parse_tree.h.
Referenced by do_prepare_delete(), do_prepare_insert_internal(), do_prepare_merge(), do_prepare_select(), do_prepare_update(), and pt_print_value().
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 |
Definition at line 3598 of file parse_tree.h.
Referenced by pt_append_bytes_for(), pt_print_bytes_l(), pt_short_print(), and pt_short_print_l().
PT_INT_FUNCTION parser_context::next_byte |
Definition at line 3533 of file parse_tree.h.
Referenced by parser_parse_file(), parser_parse_string_with_escapes(), and pt_init_one_statement_parser().
PT_INT_FUNCTION parser_context::next_char |
Definition at line 3532 of file parse_tree.h.
Referenced by parser_parse_file(), parser_parse_string_with_escapes(), pt_init_one_statement_parser(), and pt_nextchar().
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().
int parser_context::num_plan_trace |
Definition at line 3595 of file parse_tree.h.
Referenced by do_send_plan_trace_to_session(), parser_free_parser(), parser_parse_file(), parser_parse_string_with_escapes(), qo_top_plan_print_json(), and qo_top_plan_print_text().
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_PLAN_TRACE_INFO parser_context::plan_trace[MAX_NUM_PLAN_TRACE] |
Definition at line 3596 of file parse_tree.h.
Referenced by do_send_plan_trace_to_session(), parser_free_parser(), qo_top_plan_print_json(), and qo_top_plan_print_text().
PT_PRINT_VALUE_FUNC parser_context::print_db_value |
Definition at line 3553 of file parse_tree.h.
Referenced by pt_print_host_var(), qo_scan_fprint(), qo_scan_info(), qo_term_dump(), and qo_term_string().
unsigned parser_context::print_type_ambiguity |
Definition at line 3608 of file parse_tree.h.
Referenced by do_prepare_delete(), do_prepare_insert_internal(), do_prepare_merge(), do_prepare_select(), do_prepare_update(), and pt_print_value().
QUERY_ID parser_context::query_id |
Definition at line 3559 of file parse_tree.h.
Referenced by build_xasl_for_server_delete(), db_execute_and_keep_statement_local(), db_open_local(), delete_list_by_oids(), delete_real_class(), do_execute_delete(), do_execute_do(), do_execute_insert(), do_execute_merge(), do_execute_select(), do_execute_session_statement(), do_execute_statement(), do_execute_update(), do_insert_at_server(), do_merge(), do_select_internal(), get_select_list_to_update(), insert_subquery_results(), pt_end_query(), pt_evaluate_tree_internal(), pt_get_one_tuple_from_list_id(), pt_new_query_result_descriptor(), pt_set_table_to_db(), select_delete_list(), update_at_server(), update_objs_for_list_file(), and update_real_class().
bool parser_context::query_trace |
Definition at line 3594 of file parse_tree.h.
Referenced by do_execute_delete(), do_execute_do(), do_execute_insert(), do_execute_select(), do_execute_session_statement(), do_execute_update(), do_select_internal(), parser_free_parser(), parser_parse_file(), parser_parse_string_with_escapes(), pt_make_query_show_trace(), and pt_plan_query().
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().
unsigned parser_context::return_generated_keys |
Definition at line 3622 of file parse_tree.h.
Referenced by db_session_set_return_generated_keys(), do_execute_insert(), do_insert_at_server(), do_insert_template(), insert_subquery_results(), pt_is_server_insert_with_generated_keys(), and pt_to_insert_xasl().
unsigned parser_context::set_host_var |
Definition at line 3605 of file parse_tree.h.
Referenced by db_check_limit_need_recompile(), db_compile_statement_local(), db_execute_and_keep_statement_local(), db_push_values(), do_cast_host_variables_to_expected_domain(), do_get_prepared_statement_info(), do_recompile_and_execute_prepared_statement(), 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_make_regu_hostvar(), pt_set_host_variables(), and pt_value_to_db().
int parser_context::stack_size |
Definition at line 3543 of file parse_tree.h.
Referenced by pt_push().
int parser_context::stack_top |
Definition at line 3542 of file parse_tree.h.
Referenced by db_parse_one_statement(), parser_parse_file(), parser_parse_string_with_escapes(), pt_init_one_statement_parser(), pt_pop(), pt_push(), and pt_top().
int parser_context::statement_number |
Definition at line 3537 of file parse_tree.h.
Referenced by do_alter_change_col_comment(), do_alter_change_default_cs_coll(), do_alter_change_tbl_comment(), do_alter_clause_change_attribute(), do_alter_one_clause_with_template(), do_execute_merge(), do_execute_update(), do_merge(), do_prepare_delete(), do_prepare_merge(), do_prepare_update(), do_update(), pt_frob_error(), pt_frob_warning(), pt_print_spec(), and validate_attribute_domain().
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().
struct symbol_info* parser_context::symbols |
Definition at line 3572 of file parse_tree.h.
Referenced by pt_append_assignment_references(), pt_attribute_to_regu(), pt_get_mvcc_reev_range_data(), pt_init_pred_expr_context(), pt_make_connect_by_proc(), pt_pop_symbol_info(), pt_push_symbol_info(), pt_to_buildlist_proc(), pt_to_buildschema_proc(), pt_to_buildvalue_proc(), pt_to_class_spec_list(), pt_to_constraint_pred(), pt_to_cte_table_spec_list(), pt_to_fetch_as_scan_proc(), pt_to_func_pred(), pt_to_insert_xasl(), pt_to_json_table_spec_list(), pt_to_odku_info(), pt_to_regu_reserved_name(), pt_to_regu_variable(), pt_to_showstmt_spec_list(), pt_to_subquery_table_spec_list(), pt_to_val_list(), and ptqo_to_list_scan_proc().
DB_VALUE parser_context::sys_datetime |
Definition at line 3580 of file parse_tree.h.
Referenced by db_calculate_current_server_time(), db_execute_and_keep_statement_local(), do_evaluate_default_expr(), fill_in_insert_default_function_arguments(), pt_evaluate_db_value_expr(), pt_evaluate_tree_internal(), pt_exec_trigger_stmt(), and qp_get_server_info().
DB_VALUE parser_context::sys_epochtime |
Definition at line 3581 of file parse_tree.h.
Referenced by db_calculate_current_server_time(), db_execute_and_keep_statement_local(), pt_evaluate_db_value_expr(), pt_exec_trigger_stmt(), and qp_get_server_info().
VIEW_CACHE_INFO* parser_context::view_cache |
Definition at line 3571 of file parse_tree.h.
Referenced by mq_fetch_attributes(), mq_fetch_subqueries(), mq_fetch_subqueries_for_update_local(), mq_free_virtual_query_cache(), mq_virtual_queries(), sm_is_nested_view_recached(), sm_save_nested_view_versions(), and sm_virtual_queries().
PT_NODE* parser_context::warnings |
Definition at line 3551 of file parse_tree.h.
Referenced by pt_get_warnings(), and pt_record_warning().