mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	 d526f3277e
			
		
	
	d526f3277e
	
	
	
		
			
			Added NDBCLUSTER to table types which does not support generate. Added test case for truncate.
		
			
				
	
	
		
			15 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| DROP TABLE IF EXISTS t2;
 | |
| CREATE TABLE t2 (
 | |
| a bigint unsigned NOT NULL PRIMARY KEY,
 | |
| b int unsigned not null,
 | |
| c int unsigned
 | |
| ) engine=ndbcluster;
 | |
| select count(*) from t2;
 | |
| count(*)
 | |
| 5000
 | |
| truncate table t2;
 | |
| select count(*) from t2;
 | |
| count(*)
 | |
| 0
 | |
| drop table t2;
 |