mirror of
https://github.com/MariaDB/server.git
synced 2025-08-27 13:04:36 +03:00
BitKeeper/etc/ignore: Added mysql-test/suite/funcs_1/r/innodb_views.warnings mysql-test/suite/funcs_1/r/memory_trig_03e.warnings mysql-test/suite/funcs_1/r/memory_views.warnings mysql-test/suite/funcs_1/r/myisam_trig_03e.warnings mysql-test/suite/funcs_1/r/myisam_views.warnings mysql-test/suite/funcs_1/r/ndb_trig_03e.warnings mysql-test/suite/funcs_1/r/ndb_views.warnings mysql-test/suite/partitions/r/diff mysql-test/suite/partitions/r/partition_bit_ndb.warnings mysql-test/suite/partitions/r/partition_special_innodb.warnings mysql-test/suite/partitions/r/partition_special_myisam.warnings storage/archive/archive_reader mysql-test/suite/funcs_1/r/innodb_trig_03e.warnings to the ignore list mysql-test/suite/funcs_2/include/check_charset.inc: inserted newline at the end of file. mysql-test/suite/objects/include/drop_all.inc: inserted newline at the end of file. mysql-test/suite/partitions/include/partition_key_32col.inc: inserted newline at the end of file. mysql-test/suite/rpl/data/rpl_mixed.dat: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_event.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_select.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_user.inc: inserted newline at the end of file. mysql-test/suite/rpl/include/rpl_mixed_check_view.inc: inserted newline at the end of file.
29 lines
850 B
SQL
29 lines
850 B
SQL
#### suite/funcs_1/datadict/datadict_show_table_design.test
|
|
#
|
|
# - shows design of *one* table from INFORMATION_SCHEMA
|
|
# - used to have identical 'view' on all tested tables
|
|
#
|
|
# Usage:
|
|
#
|
|
# let $is_table= <name of one of the tables>;
|
|
# --source suite/funcs_1/datadict/datadict_show_table_design.test
|
|
|
|
USE information_schema;
|
|
|
|
--source suite/funcs_1/datadict/datadict_bug_12777.inc
|
|
eval DESC $is_table;
|
|
|
|
--source suite/funcs_1/datadict/datadict_bug_12777.inc
|
|
eval SHOW CREATE TABLE $is_table;
|
|
|
|
eval SELECT COUNT(*) FROM information_schema.columns
|
|
WHERE table_schema = 'information_schema'
|
|
AND table_name = '$is_table'
|
|
ORDER BY ordinal_position;
|
|
|
|
--source suite/funcs_1/datadict/datadict_bug_12777.inc
|
|
eval SELECT * FROM information_schema.columns
|
|
WHERE table_schema = 'information_schema'
|
|
AND table_name = '$is_table'
|
|
ORDER BY ordinal_position;
|