23 lines
		
	
	
		
			482 B
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			482 B
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# Simple test for the example storage engine
							 | 
						||
| 
								 | 
							
								# Taken fromm the select test
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								-- source include/have_exampledb.inc
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								--disable_warnings
							 | 
						||
| 
								 | 
							
								# Clean up if event's test fails
							 | 
						||
| 
								 | 
							
								drop database if exists events_test;
							 | 
						||
| 
								 | 
							
								drop database if exists events_test2;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								drop table if exists t1;
							 | 
						||
| 
								 | 
							
								--enable_warnings
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								CREATE TABLE t1 (
							 | 
						||
| 
								 | 
							
								  Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
							 | 
						||
| 
								 | 
							
								  Varor_period smallint(4) unsigned DEFAULT '0' NOT NULL
							 | 
						||
| 
								 | 
							
								) ENGINE=example;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								drop table t1;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# End of 4.1 tests
							 |