Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0ceb3244
Commit
0ceb3244
authored
Apr 09, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve readability of check testcase data and add order by
parent
6c266a9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
mysql-test/include/mtr_check.sql
mysql-test/include/mtr_check.sql
+12
-4
No files found.
mysql-test/include/mtr_check.sql
View file @
0ceb3244
...
...
@@ -23,10 +23,18 @@ BEGIN
WHERE
table_schema
=
'test'
;
-- Show "mysql" database, tables and columns
SELECT
table_name
,
table_type
,
engine
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
table_schema
=
'mysql'
;
SELECT
*
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
table_schema
=
'mysql'
;
SELECT
CONCAT
(
table_schema
,
'.'
,
table_name
)
AS
tables_in_mysql
FROM
INFORMATION_SCHEMA
.
TABLES
WHERE
table_schema
=
'mysql'
AND
table_name
!=
'ndb_apply_status'
ORDER
BY
tables_in_mysql
;
SELECT
CONCAT
(
table_schema
,
'.'
,
table_name
)
AS
columns_in_mysql
,
column_name
,
ordinal_position
,
column_default
,
is_nullable
,
data_type
,
character_maximum_length
,
character_octet_length
,
numeric_precision
,
numeric_scale
,
character_set_name
,
collation_name
,
column_type
,
column_key
,
extra
,
column_comment
FROM
INFORMATION_SCHEMA
.
COLUMNS
WHERE
table_schema
=
'mysql'
AND
table_name
!=
'ndb_apply_status'
ORDER
BY
columns_in_mysql
;
-- Checksum system tables to make sure they have been properly
-- restored after test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment