mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
4687fe01d7
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-unified02 BitKeeper/etc/collapsed: auto-union configure.in: Auto merged BitKeeper/deleted/.del-CMakeLists.txt~3: Auto merged BitKeeper/deleted/.del-ha_berkeley.cc: Auto merged client/mysqlcheck.c: Auto merged include/config-win.h: Auto merged libmysqld/Makefile.am: Auto merged mysql-test/r/func_in.result: Auto merged mysql-test/r/mysqlcheck.result: Auto merged mysql-test/t/func_in.test: Auto merged mysql-test/t/information_schema.test: Auto merged mysql-test/t/mysqlcheck.test: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/log_event.cc: Auto merged sql/repl_failsafe.cc: Auto merged sql/set_var.h: Auto merged sql/sp_head.cc: Auto merged sql/sql_cache.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_repl.cc: Auto merged sql/sql_view.cc: Auto merged storage/myisam/ha_myisam.cc: Auto merged storage/myisam/mi_open.c: Auto merged storage/myisammrg/ha_myisammrg.cc: Auto merged include/my_dbug.h: Manual merge. mysql-test/r/information_schema.result: Manual merge. mysql-test/r/information_schema_db.result: Manual merge. mysql-test/r/mysqlshow.result: Manual merge. sql/Makefile.am: Manual merge. sql/lex.h: Manual merge. sql/lock.cc: Manual merge. sql/mysql_priv.h: Manual merge. sql/mysqld.cc: Manual merge. sql/set_var.cc: Manual merge. sql/slave.cc: Manual merge. sql/sql_base.cc: Manual merge. sql/sql_delete.cc: Manual merge. sql/sql_insert.cc: Manual merge. sql/sql_lex.h: Manual merge. sql/sql_parse.cc: Manual merge. sql/sql_select.cc: Manual merge. sql/sql_show.cc: Manual merge. sql/sql_table.cc: Manual merge. sql/sql_update.cc: Manual merge. sql/sql_yacc.yy: Manual merge. sql/structs.h: Manual merge. sql/table.h: Manual merge. storage/archive/ha_archive.cc: Manual merge. storage/ndb/src/common/util/File.cpp: Manual merge. storage/ndb/src/ndbapi/DictCache.cpp: Manual merge. support-files/mysql.spec.sh: Manual merge.
150 lines
4.5 KiB
Text
150 lines
4.5 KiB
Text
DROP TABLE IF EXISTS t1,t2,test1,test2;
|
|
CREATE TABLE t1 (a int);
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
CREATE TABLE t2 (a int, b int);
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
t2
|
|
select "--------------------" as "";
|
|
|
|
--------------------
|
|
Database: test
|
|
+--------+
|
|
| Tables |
|
|
+--------+
|
|
| t1 |
|
|
| t2 |
|
|
+--------+
|
|
select "---- -v ------------" as "";
|
|
|
|
---- -v ------------
|
|
Database: test
|
|
+--------+----------+
|
|
| Tables | Columns |
|
|
+--------+----------+
|
|
| t1 | 1 |
|
|
| t2 | 2 |
|
|
+--------+----------+
|
|
2 rows in set.
|
|
|
|
select "---- -v -v ---------" as "";
|
|
|
|
---- -v -v ---------
|
|
Database: test
|
|
+--------+----------+------------+
|
|
| Tables | Columns | Total Rows |
|
|
+--------+----------+------------+
|
|
| t1 | 1 | 3 |
|
|
| t2 | 2 | 0 |
|
|
+--------+----------+------------+
|
|
2 rows in set.
|
|
|
|
select "----- -t -----------" as "";
|
|
|
|
----- -t -----------
|
|
Database: test
|
|
+--------+------------+
|
|
| Tables | table_type |
|
|
+--------+------------+
|
|
| t1 | BASE TABLE |
|
|
| t2 | BASE TABLE |
|
|
+--------+------------+
|
|
select "---- -v -t ---------" as "";
|
|
|
|
---- -v -t ---------
|
|
Database: test
|
|
+--------+------------+----------+
|
|
| Tables | table_type | Columns |
|
|
+--------+------------+----------+
|
|
| t1 | BASE TABLE | 1 |
|
|
| t2 | BASE TABLE | 2 |
|
|
+--------+------------+----------+
|
|
2 rows in set.
|
|
|
|
select "---- -v -v -t ------" as "";
|
|
|
|
---- -v -v -t ------
|
|
Database: test
|
|
+--------+------------+----------+------------+
|
|
| Tables | table_type | Columns | Total Rows |
|
|
+--------+------------+----------+------------+
|
|
| t1 | BASE TABLE | 1 | 3 |
|
|
| t2 | BASE TABLE | 2 | 0 |
|
|
+--------+------------+----------+------------+
|
|
2 rows in set.
|
|
|
|
DROP TABLE t1, t2;
|
|
Database: information_schema
|
|
+---------------------------------------+
|
|
| Tables |
|
|
+---------------------------------------+
|
|
| CHARACTER_SETS |
|
|
| COLLATIONS |
|
|
| COLLATION_CHARACTER_SET_APPLICABILITY |
|
|
| COLUMNS |
|
|
| COLUMN_PRIVILEGES |
|
|
| ENGINES |
|
|
| EVENTS |
|
|
| FILES |
|
|
| GLOBAL_STATUS |
|
|
| GLOBAL_VARIABLES |
|
|
| KEY_COLUMN_USAGE |
|
|
| PARTITIONS |
|
|
| PLUGINS |
|
|
| PROCESSLIST |
|
|
| PROFILING |
|
|
| REFERENTIAL_CONSTRAINTS |
|
|
| ROUTINES |
|
|
| SCHEMATA |
|
|
| SCHEMA_PRIVILEGES |
|
|
| SESSION_STATUS |
|
|
| SESSION_VARIABLES |
|
|
| STATISTICS |
|
|
| TABLES |
|
|
| TABLE_CONSTRAINTS |
|
|
| TABLE_PRIVILEGES |
|
|
| TRIGGERS |
|
|
| USER_PRIVILEGES |
|
|
| VIEWS |
|
|
+---------------------------------------+
|
|
Database: INFORMATION_SCHEMA
|
|
+---------------------------------------+
|
|
| Tables |
|
|
+---------------------------------------+
|
|
| CHARACTER_SETS |
|
|
| COLLATIONS |
|
|
| COLLATION_CHARACTER_SET_APPLICABILITY |
|
|
| COLUMNS |
|
|
| COLUMN_PRIVILEGES |
|
|
| ENGINES |
|
|
| EVENTS |
|
|
| FILES |
|
|
| GLOBAL_STATUS |
|
|
| GLOBAL_VARIABLES |
|
|
| KEY_COLUMN_USAGE |
|
|
| PARTITIONS |
|
|
| PLUGINS |
|
|
| PROCESSLIST |
|
|
| PROFILING |
|
|
| REFERENTIAL_CONSTRAINTS |
|
|
| ROUTINES |
|
|
| SCHEMATA |
|
|
| SCHEMA_PRIVILEGES |
|
|
| SESSION_STATUS |
|
|
| SESSION_VARIABLES |
|
|
| STATISTICS |
|
|
| TABLES |
|
|
| TABLE_CONSTRAINTS |
|
|
| TABLE_PRIVILEGES |
|
|
| TRIGGERS |
|
|
| USER_PRIVILEGES |
|
|
| VIEWS |
|
|
+---------------------------------------+
|
|
Wildcard: inf_rmation_schema
|
|
+--------------------+
|
|
| Databases |
|
|
+--------------------+
|
|
| information_schema |
|
|
+--------------------+
|
|
End of 5.0 tests
|