mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	All committed result differences have either been verified by me or copied from Oracle's provided results (storage/innodb_plugin/mysql-test/*.result, storage/innodb_plugin/mysql-test/patches).
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Can't run test of external client with embedded server
 | 
						|
-- source include/not_embedded.inc
 | 
						|
# Test lists tables in Information_schema, and InnoDB adds some
 | 
						|
-- source include/have_innodb.inc
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
DROP TABLE IF EXISTS t1,t2,test1,test2;
 | 
						|
--enable_warnings
 | 
						|
 | 
						|
#
 | 
						|
## Bug #5036 mysqlshow is missing a column
 | 
						|
#
 | 
						|
CREATE TABLE t1 (a int);
 | 
						|
INSERT INTO t1 VALUES (1),(2),(3);
 | 
						|
CREATE TABLE t2 (a int, b int);
 | 
						|
show tables;
 | 
						|
select "--------------------" as "";
 | 
						|
--exec $MYSQL_SHOW test
 | 
						|
select "---- -v ------------" as "";
 | 
						|
--exec $MYSQL_SHOW test -v
 | 
						|
select "---- -v -v ---------" as "";
 | 
						|
--exec $MYSQL_SHOW test -v -v
 | 
						|
select "----- -t -----------" as "";
 | 
						|
--exec $MYSQL_SHOW test -t
 | 
						|
select "---- -v -t ---------" as "";
 | 
						|
--exec $MYSQL_SHOW test -v -t
 | 
						|
select "---- -v -v -t ------" as "";
 | 
						|
--exec $MYSQL_SHOW test -v -v -t
 | 
						|
DROP TABLE t1, t2;
 | 
						|
 | 
						|
#
 | 
						|
# Bug #19147: mysqlshow INFORMATION_SCHEMA does not work
 | 
						|
#
 | 
						|
--exec $MYSQL_SHOW information_schema
 | 
						|
--exec $MYSQL_SHOW INFORMATION_SCHEMA
 | 
						|
--exec $MYSQL_SHOW inf_rmation_schema
 | 
						|
 | 
						|
--echo End of 5.0 tests
 |