mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 f0ae3ce9b9
			
		
	
	f0ae3ce9b9
	
	
	
		
			
			Fixed compile-pentium64 scripts Fixed wrong estimate of update_with_key_prefix in sql-bench Merge bk-internal.mysql.com:/home/bk/mysql-5.1 into mysql.com:/home/my/mysql-5.1 Fixed unsafe define of uint4korr() Fixed that --extern works with mysql-test-run.pl Small trivial cleanups This also fixes a bug in counting number of rows that are updated when we have many simultanous queries Move all connection handling and command exectuion main loop from sql_parse.cc to sql_connection.cc Split handle_one_connection() into reusable sub functions. Split create_new_thread() into reusable sub functions. Added thread_scheduler; Preliminary interface code for future thread_handling code. Use 'my_thread_id' for internal thread id's Make thr_alarm_kill() to depend on thread_id instead of thread Make thr_abort_locks_for_thread() depend on thread_id instead of thread In store_globals(), set my_thread_var->id to be thd->thread_id. Use my_thread_var->id as basis for my_thread_name() The above changes makes the connection we have between THD and threads more soft. Added a lot of DBUG_PRINT() and DBUG_ASSERT() functions Fixed compiler warnings Fixed core dumps when running with --debug Removed setting of signal masks (was never used) Made event code call pthread_exit() (portability fix) Fixed that event code doesn't call DBUG_xxx functions before my_thread_init() is called. Made handling of thread_id and thd->variables.pseudo_thread_id uniform. Removed one common 'not freed memory' warning from mysqltest Fixed a couple of usage of not initialized warnings (unlikely cases) Suppress compiler warnings from bdb and (for the moment) warnings from ndb
		
			
				
	
	
		
			155 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
			
		
		
	
	
			155 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
| LIBRARY		LIBMYSQL
 | |
| VERSION		6.0
 | |
| EXPORTS
 | |
| 	_dig_vec_lower
 | |
| 	_dig_vec_upper
 | |
| 	bmove_upp
 | |
| 	delete_dynamic
 | |
| 	free_defaults
 | |
| 	getopt_compare_strings
 | |
| 	getopt_ull_limit_value
 | |
| 	handle_options
 | |
| 	init_dynamic_array
 | |
| 	insert_dynamic
 | |
| 	int2str
 | |
| 	is_prefix
 | |
| 	list_add
 | |
| 	list_delete
 | |
| 	load_defaults
 | |
| 	my_end
 | |
| 	my_getopt_print_errors
 | |
| 	my_init
 | |
| 	my_malloc
 | |
| 	my_memdup
 | |
| 	my_no_flags_free
 | |
| 	my_path
 | |
| 	mysql_get_parameters
 | |
| 	my_print_help
 | |
| 	my_print_variables
 | |
| 	my_realloc
 | |
| 	my_strdup
 | |
| 	mysql_thread_end
 | |
| 	mysql_thread_init
 | |
| 	myodbc_remove_escape
 | |
| 	mysql_affected_rows
 | |
| 	mysql_autocommit
 | |
| 	mysql_stmt_bind_param
 | |
| 	mysql_stmt_bind_result
 | |
| 	mysql_change_user
 | |
| 	mysql_character_set_name
 | |
| 	mysql_close
 | |
| 	mysql_commit
 | |
| 	mysql_data_seek
 | |
| 	mysql_debug
 | |
| 	mysql_dump_debug_info
 | |
| 	mysql_eof
 | |
| 	mysql_errno
 | |
| 	mysql_error
 | |
| 	mysql_escape_string
 | |
| 	mysql_hex_string
 | |
| 	mysql_stmt_execute
 | |
| 	mysql_stmt_fetch
 | |
| 	mysql_stmt_fetch_column
 | |
| 	mysql_fetch_field
 | |
| 	mysql_fetch_field_direct
 | |
| 	mysql_fetch_fields
 | |
| 	mysql_fetch_lengths
 | |
| 	mysql_fetch_row
 | |
| 	mysql_field_count
 | |
| 	mysql_field_seek
 | |
| 	mysql_field_tell
 | |
| 	mysql_free_result
 | |
| 	mysql_get_client_info
 | |
| 	mysql_get_host_info
 | |
| 	mysql_get_proto_info
 | |
| 	mysql_get_server_info
 | |
| 	mysql_get_client_version
 | |
| 	mysql_get_ssl_cipher
 | |
| 	mysql_info
 | |
| 	mysql_init
 | |
| 	mysql_insert_id
 | |
| 	mysql_kill
 | |
| 	mysql_set_server_option
 | |
| 	mysql_list_dbs
 | |
| 	mysql_list_fields
 | |
| 	mysql_list_processes
 | |
| 	mysql_list_tables
 | |
| 	mysql_more_results
 | |
| 	mysql_next_result
 | |
| 	mysql_num_fields
 | |
| 	mysql_num_rows
 | |
| 	mysql_odbc_escape_string
 | |
| 	mysql_options
 | |
| 	mysql_stmt_param_count
 | |
| 	mysql_stmt_param_metadata
 | |
| 	mysql_ping
 | |
| 	mysql_stmt_result_metadata
 | |
| 	mysql_query
 | |
| 	mysql_read_query_result
 | |
| 	mysql_real_connect
 | |
| 	mysql_real_escape_string
 | |
| 	mysql_real_query
 | |
| 	mysql_refresh
 | |
| 	mysql_rollback
 | |
| 	mysql_row_seek
 | |
| 	mysql_row_tell
 | |
| 	mysql_select_db
 | |
| 	mysql_stmt_send_long_data
 | |
| 	mysql_send_query
 | |
| 	mysql_shutdown
 | |
| 	mysql_ssl_set
 | |
| 	mysql_stat
 | |
| 	mysql_stmt_affected_rows
 | |
| 	mysql_stmt_close
 | |
| 	mysql_stmt_reset
 | |
| 	mysql_stmt_data_seek
 | |
| 	mysql_stmt_errno
 | |
| 	mysql_stmt_error
 | |
| 	mysql_stmt_free_result
 | |
| 	mysql_stmt_num_rows
 | |
| 	mysql_stmt_row_seek
 | |
| 	mysql_stmt_row_tell
 | |
| 	mysql_stmt_store_result
 | |
| 	mysql_store_result
 | |
| 	mysql_thread_id
 | |
| 	mysql_thread_safe
 | |
| 	mysql_use_result
 | |
| 	mysql_warning_count
 | |
| 	mysql_stmt_sqlstate
 | |
| 	mysql_sqlstate
 | |
| 	mysql_get_server_version
 | |
| 	set_dynamic
 | |
| 	strcend
 | |
| 	strcont
 | |
| 	strdup_root
 | |
| 	strfill
 | |
| 	strinstr
 | |
| 	strmake
 | |
| 	strmov
 | |
| 	strxmov
 | |
| 	mysql_stmt_prepare
 | |
| 	mysql_stmt_init
 | |
| 	mysql_stmt_insert_id
 | |
| 	mysql_stmt_attr_get
 | |
| 	mysql_stmt_attr_set
 | |
| 	mysql_stmt_field_count
 | |
| 	client_errors
 | |
| 	mysql_set_local_infile_default
 | |
| 	mysql_set_local_infile_handler
 | |
| 	mysql_disable_reads_from_master
 | |
| 	mysql_disable_rpl_parse
 | |
| 	mysql_enable_reads_from_master
 | |
| 	mysql_enable_rpl_parse
 | |
| 	mysql_master_query
 | |
| 	mysql_rpl_parse_enabled
 | |
| 	mysql_rpl_probe
 | |
| 	mysql_rpl_query_type
 | |
| 	mysql_slave_query
 | |
| 	mysql_embedded
 | |
| 	mysql_server_init
 | |
| 	mysql_server_end
 | |
| 	mysql_set_character_set
 | |
| 	mysql_get_character_set_info
 | |
| 	get_defaults_options
 | |
| 	modify_defaults_file
 |