mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	Fix problem with MyISAM and rows of length 65517-65520 Docs/manual.texi: Changelog include/raid.h: Ensure that libmysqlclient doesn't use raid libmysql/Makefile.am: Ensure that libmysqlclient doesn't use raid libmysql_r/Makefile.am: Ensure that libmysqlclient doesn't use raid myisam/mi_check.c: Fix problem with rows of length 65517-65520 myisam/mi_dynrec.c: Fix problem with rows of length 65517-65520 mysql-test/r/myisam.result: Test for myisam tables with problematic row lengths mysql-test/t/myisam.test: Test for myisam tables with problematic row lengths sql/log_event.cc: Portability fix strings/ctype-euc_kr.c: Portability fix strings/ctype-sjis.c: Portability fix
		
			
				
	
	
		
			20 lines
		
	
	
		
			387 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			387 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Test possible problem with rows that are about 65535 bytes long
 | |
| #
 | |
| 
 | |
| create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));
 | |
| 
 | |
| let $1=100;
 | |
| while ($1)
 | |
| {
 | |
|   eval insert into t1 (b) values(repeat(char(65+$1),65540-$1));
 | |
|   dec $1;
 | |
| }
 | |
| check table t1;
 | |
| repair table t1;
 | |
| delete from t1 where (a & 1);
 | |
| check table t1;
 | |
| repair table t1;
 | |
| check table t1;
 | |
| drop table t1;
 |