mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 04:46:15 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			Text
		
	
	
	
	
	
include/master-slave.inc
 | 
						|
[connection master]
 | 
						|
connection master;
 | 
						|
create table t1 (a int DEFAULT (1+1), b bigint default uuid_short(), u blob default user());
 | 
						|
insert into t1 (a) values(1);
 | 
						|
connection slave;
 | 
						|
connection slave;
 | 
						|
show create table t1;
 | 
						|
Table	Create Table
 | 
						|
t1	CREATE TABLE `t1` (
 | 
						|
  `a` int(11) DEFAULT (1 + 1),
 | 
						|
  `b` bigint(20) DEFAULT uuid_short(),
 | 
						|
  `u` blob DEFAULT user()
 | 
						|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | 
						|
a	uuid	user
 | 
						|
1	1	1
 | 
						|
connection master;
 | 
						|
drop table t1;
 | 
						|
include/rpl_end.inc
 |