mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	Fixed bug with HEAP tables on windows Fixed bug with HAVING on empty tables Docs/manual.texi: Update of UDF functions mysql-test/mysql-test-run.sh: Added option --user mysql-test/r/bdb.result: Added more test to get better coverage mysql-test/t/bdb.test: Added more test to get better coverage sql/field.cc: Fixes for key packing in BDB sql/field.h: Fixes for key packing in BDB sql/ha_berkeley.cc: Fixed for bugs that was found when getting full code coverage sql/ha_heap.cc: Fixed problem with HEAP tables on windows sql/log.cc: Safety fix sql/sql_select.cc: Fixed bug with HAVING on empty tables sql/table.cc: Fixed problem with HEAP tables on windows
		
			
				
	
	
		
			11 lines
		
	
	
		
			316 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			316 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # test of problems with having (Reported by Mark Rogers)
 | |
| #
 | |
| 
 | |
| drop table if exists t1; 
 | |
| create table t1 (a int);
 | |
| select count(a) as b from t1 where a=0 having b > 0;
 | |
| insert into t1 values (null);
 | |
| select count(a) as b from t1 where a=0 having b > 0;
 | |
| select count(a) as b from t1 where a=0 having b >=0;
 | |
| drop table t1; 
 |