mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Moved .progress files into the log directory Moved 'cluster' database tables into the MySQL database, to not have 'cluster' beeing a reserved database name Fixed bug where mysqld got a core dump when trying to use a table created by MySQL 3.23 Fixed some compiler warnings Fixed small memory leak in libmysql Note that this doesn't changeset doesn't include the new mysqldump.c code required to run some tests. This will be added when I merge 5.0 to 5.1
		
			
				
	
	
		
			39 lines
		
	
	
		
			800 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			800 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
stop slave;
 | 
						|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | 
						|
reset master;
 | 
						|
reset slave;
 | 
						|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 | 
						|
start slave;
 | 
						|
drop database if exists mysqltest;
 | 
						|
USE test;
 | 
						|
CREATE TABLE t1(a INT, b INT, UNIQUE(b));
 | 
						|
LOAD DATA INFILE '../std_data_ln/rpl_loaddata.dat' INTO TABLE test.t1;
 | 
						|
SELECT COUNT(*) FROM test.t1;
 | 
						|
COUNT(*)
 | 
						|
2
 | 
						|
CREATE DATABASE mysqltest;
 | 
						|
USE mysqltest;
 | 
						|
CREATE TABLE t1(a INT, b INT, UNIQUE(b));
 | 
						|
LOAD DATA INFILE '../std_data_ln/rpl_loaddata.dat' INTO TABLE mysqltest.t1;
 | 
						|
SELECT COUNT(*) FROM mysqltest.t1;
 | 
						|
COUNT(*)
 | 
						|
2
 | 
						|
SHOW DATABASES;
 | 
						|
Database
 | 
						|
information_schema
 | 
						|
mysql
 | 
						|
mysqltest
 | 
						|
test
 | 
						|
USE test;
 | 
						|
SHOW TABLES;
 | 
						|
Tables_in_test
 | 
						|
USE mysqltest;
 | 
						|
SHOW TABLES;
 | 
						|
Tables_in_mysqltest
 | 
						|
t1
 | 
						|
SELECT COUNT(*) FROM mysqltest.t1;
 | 
						|
COUNT(*)
 | 
						|
2
 | 
						|
DROP DATABASE mysqltest;
 | 
						|
DROP TABLE test.t1;
 |