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
e133aa1e
Commit
e133aa1e
authored
Jun 27, 2019
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added testcase for MDEV-19585
MDEV-19585 Assertion with S3 table and flush_tables
parent
1a41fc77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
mysql-test/suite/s3/backup.result
mysql-test/suite/s3/backup.result
+18
-0
mysql-test/suite/s3/backup.test
mysql-test/suite/s3/backup.test
+33
-0
No files found.
mysql-test/suite/s3/backup.result
0 → 100644
View file @
e133aa1e
#
# MDEV-19585 Assertion `!is_set() || (m_status == DA_OK_BULK &&
# is_bulk_op())' failed upon SELECT from S3 table with concurrent
# BACKUP stage
#
CREATE TABLE t1 (a INT);
ALTER TABLE t1 ENGINE=S3;
connect con1,localhost,root,,test;
BACKUP STAGE START;
connection default;
SELECT * FROM t1;
connection con1;
BACKUP STAGE BLOCK_COMMIT;
BACKUP STAGE END;
disconnect con1;
connection default;
a
DROP TABLE t1;
mysql-test/suite/s3/backup.test
0 → 100644
View file @
e133aa1e
--
source
include
/
have_s3
.
inc
--
source
create_database
.
inc
--
echo
#
--
echo
# MDEV-19585 Assertion `!is_set() || (m_status == DA_OK_BULK &&
--
echo
# is_bulk_op())' failed upon SELECT from S3 table with concurrent
--
echo
# BACKUP stage
--
echo
#
CREATE
TABLE
t1
(
a
INT
);
ALTER
TABLE
t1
ENGINE
=
S3
;
--
connect
(
con1
,
localhost
,
root
,,
test
)
BACKUP
STAGE
START
;
--
connection
default
--
send
SELECT
*
FROM
t1
;
--
connection
con1
BACKUP
STAGE
BLOCK_COMMIT
;
# Cleanup
BACKUP
STAGE
END
;
--
disconnect
con1
--
connection
default
--
reap
DROP
TABLE
t1
;
#
# clean up
#
--
source
drop_database
.
inc
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