mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 88aff4bf85
			
		
	
	88aff4bf85
	
	
	
		
			
			Speed up column-completion in 'mysql' Don't use ISAM if HAVE_ISAM is not defined A lot of fixes for the embedded version. All libraries are now included in libmysqld.a Changed arguments to convert_dirname() to make it more general. Renamed files in the 'merge' directory to all use a common prefix. Don't compile both assembler and C functions on x86
		
			
				
	
	
		
			33 lines
		
	
	
		
			763 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			763 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # This test doesn't work with the embedded version as this code
 | |
| # assumes that one query is running while we are doing queries on
 | |
| # a second connection.
 | |
| # This would work if mysqltest run would be threaded and handle each
 | |
| # connection in a separate thread.
 | |
| #
 | |
| -- source include/not_embedded.inc
 | |
| 
 | |
| connect (con1,localhost,root,,);
 | |
| connect (con2,localhost,root,,);
 | |
| 
 | |
| flush status;
 | |
| show status like 'Table_lock%';
 | |
| connection con1;
 | |
| SET SQL_LOG_BIN=0;
 | |
| drop table if exists t1;
 | |
| create table t1(n int) type=myisam;
 | |
| insert into t1 values(1);
 | |
| connection con2;
 | |
| lock tables t1 read;
 | |
| unlock tables;
 | |
| lock tables t1 read;
 | |
| connection con1;
 | |
| --send
 | |
| update t1 set n = 3;
 | |
| connection con2;
 | |
| sleep 0.5;
 | |
| unlock tables;
 | |
| connection con1;
 | |
| reap;
 | |
| show status like 'Table_lock%';
 | |
| drop table t1;
 |