mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 6a9e24d046
			
		
	
	
	6a9e24d046
	
	
	
		
			
			MDEV-19964 S3 replication support Added new configure options: s3_slave_ignore_updates "If the slave has shares same S3 storage as the master" s3_replicate_alter_as_create_select "When converting S3 table to local table, log all rows in binary log" This allows on to configure slaves to have the S3 storage shared or independent from the master. Other thing: Added new session variable '@@sql_if_exists' to force IF_EXIST to DDL's.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			600 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			600 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| create sequence s1;
 | |
| alter table s1 engine=s3;
 | |
| ERROR HY000: Can't create table `database`.`s1` (errno: 138 "Unsupported extension used for table")
 | |
| drop sequence s1;
 | |
| create temporary table t1 (a int);
 | |
| alter table t1 engine=S3;
 | |
| ERROR HY000: Can't create table `database`.`t1` (errno: 131 "Command not supported by the engine")
 | |
| drop temporary table t1;
 | |
| #
 | |
| # CREATE of S3 table
 | |
| #
 | |
| create or replace table t1 (a int, b int, key (a)) engine=S3;
 | |
| ERROR HY000: Can't create table `database`.`t1` (errno: 131 "Command not supported by the engine")
 | |
| select * from t1;
 | |
| ERROR 42S02: Table 'database.t1' doesn't exist
 |