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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4bdec18f
Commit
4bdec18f
authored
Apr 09, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve readability of check testcase data and add order by
parent
11cb913b
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 @
4bdec18f
...
...
@@ -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