mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 a9a362d3fd
			
		
	
	
	a9a362d3fd
	
	
	
		
			
			Aria supports virtual columns, but does not support indexes on virtual columns. Let's issue an appropriate error in this case.
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			151 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			151 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --source include/have_maria.inc
 | |
| --error ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN
 | |
| create table t1 (a int, b int as (a+1), c int, index(b)) engine=aria;
 |