PATH: //proc/thread-self/root/proc/thread-self/root/usr/include/mysql/server/private
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
π aligned.h
β
X
π aria_backup.h
β
X
π assume_aligned.h
β
X
π atomic/
X
π authors.h
β
X
π backup.h
β
X
π bounded_queue.h
β
X
π client_settings.h
β
X
π compat56.h
β
X
π config.h
β
X
π contributors.h
β
X
π create_options.h
β
X
π create_tmp_table.h
β
X
π cset_narrowing.h
β
X
π custom_conf.h
β
X
π datadict.h
β
X
π ddl_log.h
β
X
π debug.h
β
X
π debug_sync.h
β
X
π derived_handler.h
β
X
π derror.h
β
X
π des_key_file.h
β
X
π discover.h
β
X
π dur_prop.h
β
X
π embedded_priv.h
β
X
π event_data_objects.h
β
X
π event_db_repository.h
β
X
π event_parse_data.h
β
X
π event_queue.h
β
X
π event_scheduler.h
β
X
π events.h
β
X
π field.h
β
X
π field_comp.h
β
X
π filesort.h
β
X
π filesort_utils.h
β
X
π ft_global.h
β
X
π gcalc_slicescan.h
β
X
π gcalc_tools.h
β
X
π grant.h
β
X
π group_by_handler.h
β
X
π gstream.h
β
X
π ha_handler_stats.h
β
X
π ha_partition.h
β
X
π ha_sequence.h
β
X
π handle_connections_win.h
β
X
π handler.h
β
X
π hash.h
β
X
π hash_filo.h
β
X
π heap.h
β
X
π hostname.h
β
X
π ilist.h
β
X
π init.h
β
X
π innodb_priv.h
β
X
π item.h
β
X
π item_cmpfunc.h
β
X
π item_create.h
β
X
π item_func.h
β
X
π item_geofunc.h
β
X
π item_jsonfunc.h
β
X
π item_row.h
β
X
π item_strfunc.h
β
X
π item_subselect.h
β
X
π item_sum.h
β
X
π item_timefunc.h
β
X
π item_vers.h
β
X
π item_windowfunc.h
β
X
π item_xmlfunc.h
β
X
π json_table.h
β
X
π key.h
β
X
π keycaches.h
β
X
π lex.h
β
X
π lex_string.h
β
X
π lex_symbol.h
β
X
π lf.h
β
X
π lock.h
β
X
π log.h
β
X
π log_event.h
β
X
π log_event_data_type.h
β
X
π log_event_old.h
β
X
π log_slow.h
β
X
π maria.h
β
X
π mariadb.h
β
X
π mdl.h
β
X
π mem_root_array.h
β
X
π message.h
β
X
π multi_range_read.h
β
X
π my_alarm.h
β
X
π my_apc.h
β
X
π my_atomic.h
β
X
π my_atomic_wrapper.h
β
X
π my_base.h
β
X
π my_bit.h
β
X
π my_bitmap.h
β
X
π my_check_opt.h
β
X
π my_compare.h
β
X
π my_counter.h
β
X
π my_cpu.h
β
X
π my_crypt.h
β
X
π my_decimal.h
β
X
π my_default.h
β
X
π my_handler_errors.h
β
X
π my_json_writer.h
β
X
π my_libwrap.h
β
X
π my_md5.h
β
X
π my_minidump.h
β
X
π my_nosys.h
β
X
π my_rdtsc.h
β
X
π my_rnd.h
β
X
π my_service_manager.h
β
X
π my_stack_alloc.h
β
X
π my_stacktrace.h
β
X
π my_time.h
β
X
π my_tree.h
β
X
π my_uctype.h
β
X
π my_user.h
β
X
π myisam.h
β
X
π myisamchk.h
β
X
π myisammrg.h
β
X
π myisampack.h
β
X
π mysqld.h
β
X
π mysqld_default_groups.h
β
X
π mysqld_suffix.h
β
X
π mysys_err.h
β
X
π opt_range.h
β
X
π opt_subselect.h
β
X
π opt_trace.h
β
X
π opt_trace_context.h
β
X
π parse_file.h
β
X
π partition_element.h
β
X
π partition_info.h
β
X
π password.h
β
X
π pfs_file_provider.h
β
X
π pfs_idle_provider.h
β
X
π pfs_memory_provider.h
β
X
π pfs_metadata_provider.h
β
X
π pfs_socket_provider.h
β
X
π pfs_stage_provider.h
β
X
π pfs_statement_provider.h
β
X
π pfs_table_provider.h
β
X
π pfs_thread_provider.h
β
X
π pfs_transaction_provider.h
β
X
π privilege.h
β
X
π probes_mysql.h
β
X
π probes_mysql_dtrace.h
β
X
π probes_mysql_nodtrace.h
β
X
π procedure.h
β
X
π protocol.h
β
X
π proxy_protocol.h
β
X
π queues.h
β
X
π records.h
β
X
π repl_failsafe.h
β
X
π replication.h
β
X
π rijndael.h
β
X
π rowid_filter.h
β
X
π rpl_constants.h
β
X
π rpl_filter.h
β
X
π rpl_gtid.h
β
X
π rpl_injector.h
β
X
π rpl_mi.h
β
X
π rpl_parallel.h
β
X
π rpl_record.h
β
X
π rpl_record_old.h
β
X
π rpl_reporting.h
β
X
π rpl_rli.h
β
X
π rpl_tblmap.h
β
X
π rpl_utility.h
β
X
π scheduler.h
β
X
π scope.h
β
X
π select_handler.h
β
X
π semisync.h
β
X
π semisync_master.h
β
X
π semisync_master_ack_receiver.h
β
X
π semisync_slave.h
β
X
π service_versions.h
β
X
π session_tracker.h
β
X
π set_var.h
β
X
π slave.h
β
X
π socketpair.h
β
X
π source_revision.h
β
X
π sp.h
β
X
π sp_cache.h
β
X
π sp_head.h
β
X
π sp_pcontext.h
β
X
π sp_rcontext.h
β
X
π span.h
β
X
π spatial.h
β
X
π sql_acl.h
β
X
π sql_admin.h
β
X
π sql_alloc.h
β
X
π sql_alter.h
β
X
π sql_analyse.h
β
X
π sql_analyze_stmt.h
β
X
π sql_array.h
β
X
π sql_audit.h
β
X
π sql_base.h
β
X
π sql_basic_types.h
β
X
π sql_binlog.h
β
X
π sql_bitmap.h
β
X
π sql_bootstrap.h
β
X
π sql_cache.h
β
X
π sql_callback.h
β
X
π sql_class.h
β
X
π sql_cmd.h
β
X
π sql_connect.h
β
X
π sql_const.h
β
X
π sql_crypt.h
β
X
π sql_cte.h
β
X
π sql_cursor.h
β
X
π sql_db.h
β
X
π sql_debug.h
β
X
π sql_delete.h
β
X
π sql_derived.h
β
X
π sql_digest.h
β
X
π sql_digest_stream.h
β
X
π sql_do.h
β
X
π sql_error.h
β
X
π sql_explain.h
β
X
π sql_expression_cache.h
β
X
π sql_get_diagnostics.h
β
X
π sql_handler.h
β
X
π sql_help.h
β
X
π sql_hset.h
β
X
π sql_i_s.h
β
X
π sql_insert.h
β
X
π sql_join_cache.h
β
X
π sql_lex.h
β
X
π sql_lifo_buffer.h
β
X
π sql_limit.h
β
X
π sql_list.h
β
X
π sql_load.h
β
X
π sql_locale.h
β
X
π sql_manager.h
β
X
π sql_mode.h
β
X
π sql_parse.h
β
X
π sql_partition.h
β
X
π sql_partition_admin.h
β
X
π sql_plist.h
β
X
π sql_plugin.h
β
X
π sql_plugin_compat.h
β
X
π sql_prepare.h
β
X
π sql_priv.h
β
X
π sql_profile.h
β
X
π sql_reload.h
β
X
π sql_rename.h
β
X
π sql_repl.h
β
X
π sql_schema.h
β
X
π sql_select.h
β
X
π sql_sequence.h
β
X
π sql_servers.h
β
X
π sql_show.h
β
X
π sql_signal.h
β
X
π sql_sort.h
β
X
π sql_statistics.h
β
X
π sql_string.h
β
X
π sql_table.h
β
X
π sql_tablespace.h
β
X
π sql_test.h
β
X
π sql_time.h
β
X
π sql_trigger.h
β
X
π sql_truncate.h
β
X
π sql_tvc.h
β
X
π sql_type.h
β
X
π sql_type_fixedbin.h
β
X
π sql_type_fixedbin_storage.h
β
X
π sql_type_geom.h
β
X
π sql_type_int.h
β
X
π sql_type_json.h
β
X
π sql_type_real.h
β
X
π sql_type_string.h
β
X
π sql_udf.h
β
X
π sql_union.h
β
X
π sql_update.h
β
X
π sql_view.h
β
X
π sql_window.h
β
X
π ssl_compat.h
β
X
π strfunc.h
β
X
π structs.h
β
X
π sys_vars_shared.h
β
X
π t_ctype.h
β
X
π table.h
β
X
π table_cache.h
β
X
π thr_alarm.h
β
X
π thr_lock.h
β
X
π thr_malloc.h
β
X
π thr_timer.h
β
X
π thread_cache.h
β
X
π threadpool.h
β
X
π threadpool_generic.h
β
X
π threadpool_winsockets.h
β
X
π transaction.h
β
X
π tzfile.h
β
X
π tztime.h
β
X
π uniques.h
β
X
π unireg.h
β
X
π vers_string.h
β
X
π violite.h
β
X
π waiting_threads.h
β
X
π welcome_copyright_notice.h
β
X
π win_tzname_data.h
β
X
π winservice.h
β
X
π wqueue.h
β
X
π wsrep.h
β
X
π wsrep_applier.h
β
X
π wsrep_binlog.h
β
X
π wsrep_client_service.h
β
X
π wsrep_client_state.h
β
X
π wsrep_condition_variable.h
β
X
π wsrep_high_priority_service.h
β
X
π wsrep_mutex.h
β
X
π wsrep_mysqld.h
β
X
π wsrep_mysqld_c.h
β
X
π wsrep_on.h
β
X
π wsrep_priv.h
β
X
π wsrep_schema.h
β
X
π wsrep_server_service.h
β
X
π wsrep_server_state.h
β
X
π wsrep_sst.h
β
X
π wsrep_storage_service.h
β
X
π wsrep_thd.h
β
X
π wsrep_trans_observer.h
β
X
π wsrep_types.h
β
X
π wsrep_utils.h
β
X
π wsrep_var.h
β
X
π wsrep_xid.h
β
X
π xa.h
β
X
SAVING...
BERHASIL DIUBAH!
EDITING: sql_connect.h
/* Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ #ifndef SQL_CONNECT_INCLUDED #define SQL_CONNECT_INCLUDED #include <my_sys.h> /* pthread_handler_t */ #include "mysql_com.h" /* enum_server_command */ #include "structs.h" #include <mysql/psi/mysql_socket.h> #include <hash.h> #include "violite.h" /* Object to hold connect information to be given to the newly created thread */ struct scheduler_functions; class CONNECT : public ilink { public: MYSQL_SOCKET sock; #ifdef _WIN32 HANDLE pipe; CONNECT(HANDLE pipe_arg): pipe(pipe_arg), vio_type(VIO_TYPE_NAMEDPIPE), scheduler(thread_scheduler), thread_id(0), prior_thr_create_utime(0) { count++; } #endif enum enum_vio_type vio_type; scheduler_functions *scheduler; my_thread_id thread_id; /* Own variables */ ulonglong prior_thr_create_utime; static Atomic_counter<uint32_t> count; CONNECT(MYSQL_SOCKET sock_arg, enum enum_vio_type vio_type_arg, scheduler_functions *scheduler_arg): sock(sock_arg), vio_type(vio_type_arg), scheduler(scheduler_arg), thread_id(0), prior_thr_create_utime(0) { count++; } ~CONNECT() { count--; DBUG_ASSERT(vio_type == VIO_CLOSED); } void close_and_delete(uint err); void close_with_error(uint sql_errno, const char *message, uint close_error); THD *create_thd(THD *thd); }; class THD; typedef struct user_conn USER_CONN; void init_max_user_conn(void); void init_global_user_stats(void); void init_global_table_stats(void); void init_global_index_stats(void); void init_global_client_stats(void); void free_max_user_conn(void); void free_global_user_stats(void); void free_global_table_stats(void); void free_global_index_stats(void); void free_global_client_stats(void); pthread_handler_t handle_one_connection(void *arg); void do_handle_one_connection(CONNECT *connect, bool put_in_cache); bool init_new_connection_handler_thread(); void reset_mqh(LEX_USER *lu, bool get_them); bool check_mqh(THD *thd, uint check_command); void time_out_user_resource_limits(THD *thd, USER_CONN *uc); #ifndef NO_EMBEDDED_ACCESS_CHECKS void decrease_user_connections(USER_CONN *uc); #else #define decrease_user_connections(X) do { } while(0) /* nothing */ #endif bool thd_init_client_charset(THD *thd, uint cs_number); void setup_connection_thread_globals(THD *thd); bool thd_prepare_connection(THD *thd); bool thd_is_connection_alive(THD *thd); int thd_set_peer_addr(THD *thd, sockaddr_storage *addr, const char *ip, uint port, bool check_proxy_networks, uint *host_errors); bool login_connection(THD *thd); void prepare_new_connection_state(THD* thd); void end_connection(THD *thd); void update_global_user_stats(THD* thd, bool create_user, time_t now); int get_or_create_user_conn(THD *thd, const char *user, const char *host, const USER_RESOURCES *mqh); int check_for_max_user_connections(THD *thd, USER_CONN *uc); extern HASH global_user_stats; extern HASH global_client_stats; extern HASH global_table_stats; extern HASH global_index_stats; extern mysql_mutex_t LOCK_global_user_client_stats; extern mysql_mutex_t LOCK_global_table_stats; extern mysql_mutex_t LOCK_global_index_stats; extern mysql_mutex_t LOCK_stats; #endif /* SQL_CONNECT_INCLUDED */
SIMPAN PERUBAHAN