23 lines
		
	
	
		
			686 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			686 B
		
	
	
	
		
			Plaintext
		
	
	
	
DROP TABLE IF EXISTS t0;
 | 
						|
drop database if exists mysqltest;
 | 
						|
Running ndbapi_simple
 | 
						|
Running ndbapi_simple_index
 | 
						|
Running ndbapi_scan
 | 
						|
Running ndbapi_retries
 | 
						|
Running ndbapi_async
 | 
						|
Running ndbapi_async1
 | 
						|
use TEST_DB;
 | 
						|
create table t0(c0 int, c1 int, c2 char(4), c3 char(4), c4 text,
 | 
						|
primary key(c0, c2)) engine ndb charset latin1;
 | 
						|
insert into t0 values (1, 2, 'a', 'b', null);
 | 
						|
insert into t0 values (3, 4, 'c', 'd', null);
 | 
						|
update t0 set c3 = 'e' where c0 = 1 and c2 = 'a';
 | 
						|
update t0 set c3 = 'f';
 | 
						|
update t0 set c3 = 'F';
 | 
						|
update t0 set c2 = 'g' where c0 = 1;
 | 
						|
update t0 set c2 = 'G' where c0 = 1;
 | 
						|
update t0 set c0 = 5, c2 = 'H' where c0 = 3;
 | 
						|
delete from t0;
 | 
						|
drop table t0;
 | 
						|
Running mgmapi_logevent
 |