mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 ca733d03c8
			
		
	
	
	ca733d03c8
	
	
	
		
			
			update table->pos_in_table_list during prepare, just like it's done in normal execution. otherwise it'll be a dangling pointer
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| create table t1 (i int);
 | |
| handler test.t1 open handler_a;
 | |
| flush status;
 | |
| handler handler_a read first;
 | |
| i
 | |
| show status like 'Com_stmt_prepare%';
 | |
| Variable_name	Value
 | |
| Com_stmt_prepare	OK
 | |
| drop table t1;
 |