mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-24 07:13:33 +03:00 
			
		
		
		
	Fixed bug in ORDER BY on a small column (Bug #2147) Fixed error from pthread_mutex_destroy() when one had wrong errmsg file client/mysqltest.c: Added handling of error on query send (Needed for init_connection.test) mysql-test/mysql-test-run.sh: Added tracing of mysqldump and mysqlbinlog mysql-test/r/init_connect.result: Updated tests mysql-test/r/order_by.result: Added test for bug filesort bug mysql-test/t/init_connect-master.opt: Added proper quoting (for Solaris and OSF) mysql-test/t/init_connect.test: Portability fix mysql-test/t/order_by.test: Added test for bug #2147 (bug in filesort) sql/filesort.cc: Fixed bug in filesort (Bug #2147) sql/item.h: Clear 'fixed' on cleanup (For prepared statements) sql/item_func.cc: Protect mutex destroy. (Fixed error from pthread_mutex_destroy() when one had wrong errmsg file) sql/log_event.cc: Portability fix sql/sql_class.h: Fixed compiler warning sql/sql_prepare.cc: Portability fix. (Some compilers doesn't support jump over variables declared in for())
		
			
				
	
	
		
			25 lines
		
	
	
		
			431 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			431 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| select hex(@a);
 | |
| hex(@a)
 | |
| NULL
 | |
| select hex(@a);
 | |
| hex(@a)
 | |
| 610063
 | |
| set global init_connect="set @a=2;set @b=3";
 | |
| select @a, @b;
 | |
| @a	@b
 | |
| 2	3
 | |
| set GLOBAL init_connect=DEFAULT;
 | |
| select @a;
 | |
| @a
 | |
| NULL
 | |
| set global init_connect="create table t1(a char(10));\
 | |
| insert into t1 values ('\0');insert into t1 values('abc')";
 | |
| select hex(a) from t1;
 | |
| hex(a)
 | |
| 00
 | |
| 616263
 | |
| set GLOBAL init_connect="adsfsdfsdfs";
 | |
| select @a;
 | |
| Got one of the listed errors
 | |
| drop table t1;
 |