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
c0d75a6d
Commit
c0d75a6d
authored
Oct 28, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spider.show_system_tables: make the result stable
parent
6087e21d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
15 deletions
+12
-15
storage/spider/mysql-test/spider/r/show_system_tables.result
storage/spider/mysql-test/spider/r/show_system_tables.result
+10
-10
storage/spider/mysql-test/spider/t/show_system_tables.test
storage/spider/mysql-test/spider/t/show_system_tables.test
+2
-5
No files found.
storage/spider/mysql-test/spider/r/show_system_tables.result
View file @
c0d75a6d
...
...
@@ -10,18 +10,18 @@ child3_3
Show system tables on the Spider node
connection master_1;
SELECT table_name, engine FROM information_schema.tables
WHERE table_schema = 'mysql' AND table_name like '%spider_%'
SELECT table_name, engine FROM information_schema.tables
WHERE table_schema = 'mysql' AND table_name like '%spider_%'
;
table_name engine
spider_xa_member Aria
spider_xa_failed_log Aria
spider_xa Aria
spider_tables Aria
spider_table_sts Aria
spider_table_position_for_recovery Aria
spider_table_crd Aria
spider_link_mon_servers Aria
spider_link_failed_log Aria
spider_link_mon_servers Aria
spider_table_crd Aria
spider_table_position_for_recovery Aria
spider_table_sts Aria
spider_tables Aria
spider_xa Aria
spider_xa_failed_log Aria
spider_xa_member Aria
deinit
for master_1
...
...
storage/spider/mysql-test/spider/t/show_system_tables.test
View file @
c0d75a6d
...
...
@@ -9,12 +9,9 @@
--
echo
--
echo
Show
system
tables
on
the
Spider
node
--
connection
master_1
--
disable_query_log
echo
SELECT
table_name
,
engine
FROM
information_schema
.
tables
WHERE
table_schema
=
'mysql'
AND
table_name
like
'%spider_%'
;
eval
SELECT
table_name
,
engine
FROM
information_schema
.
tables
--
sorted_result
SELECT
table_name
,
engine
FROM
information_schema
.
tables
WHERE
table_schema
=
'mysql'
AND
table_name
like
'%spider_%'
;
--
enable_query_log
--
echo
--
echo
deinit
...
...
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