mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Fix for Bug#31173: mysqlslap.exe crashes if called without any parameters .bzrignore: Fixed .bzrignore rules. Many were simply not ignoring what they were meant to. client/mysqlslap.c: Fixed bug for Bug#31173: mysqlslap.exe crashes if called without any parameters The original patch could cause memory leaks and odd problems depending on how connection was made. This code ensures that all mysql_options() are set for each mysql_real_connect(). (This patch by Monty) mysys/my_thr_init.c: Fixed multiply-initialized critical section on Windows, due to code incorrectly checking the wrong field in an attempt to prevent multiple-initialization. sql-common/client.c: Don't use shared memory if it's not set (for example after failed mysql_real_connect). Ensure that mysql_close() resets all resources so that it's safe to call it twice. (Patch by monty, related to Bug#31173: mysqlslap.exe crashes if called without any parameters) sql/CMakeLists.txt: Added page fault counters for SHOW PROFILE on Windows. sql/mysqld.cc: Fixed attempt to set a NULL event. The code now only sets the event if appropriate (i.e. shared memory is being used) sql/sql_profile.cc: Added page fault counters for SHOW PROFILE on Windows. sql/sql_profile.h: Added page fault counters for SHOW PROFILE on Windows. sql/udf_example.def: Some cleanup functions were not exported from udf_example.dll, causing them to never be executed, and as a result multiple-initialization of kernel objects occurred and resources were not being freed correctly. storage/maria/ma_close.c: Condition variable share->key_del_cond was never being destroyed, while its containing heap block was being freed in maria_close(), leaking kernel resources.
		
			
				
	
	
		
			30 lines
		
	
	
		
			458 B
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			458 B
		
	
	
	
		
			Modula-2
		
	
	
	
	
	
LIBRARY		udf_example
 | 
						|
VERSION		1.0
 | 
						|
EXPORTS
 | 
						|
  lookup
 | 
						|
  lookup_init
 | 
						|
  lookup_deinit
 | 
						|
  reverse_lookup
 | 
						|
  reverse_lookup_init
 | 
						|
  reverse_lookup_deinit
 | 
						|
  metaphon_init
 | 
						|
  metaphon_deinit
 | 
						|
  metaphon
 | 
						|
  myfunc_double_init
 | 
						|
  myfunc_double
 | 
						|
  myfunc_int_init
 | 
						|
  myfunc_int
 | 
						|
  sequence_init
 | 
						|
  sequence_deinit
 | 
						|
  sequence
 | 
						|
  avgcost_init
 | 
						|
  avgcost_deinit
 | 
						|
  avgcost_reset
 | 
						|
  avgcost_add
 | 
						|
  avgcost_clear
 | 
						|
  avgcost
 | 
						|
  is_const
 | 
						|
  is_const_init
 | 
						|
  check_const_len
 | 
						|
  check_const_len_init
 |