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
27f3329f
Commit
27f3329f
authored
Nov 23, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17813: Fix the test for release builds
parent
2c4844c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
mysql-test/suite/innodb/r/instant_alter_purge,release.rdiff
mysql-test/suite/innodb/r/instant_alter_purge,release.rdiff
+18
-0
mysql-test/suite/innodb/t/instant_alter_purge.test
mysql-test/suite/innodb/t/instant_alter_purge.test
+12
-0
No files found.
mysql-test/suite/innodb/r/instant_alter_purge,release.rdiff
0 → 100644
View file @
27f3329f
--- instant_alter_purge.result
+++ instant_alter_purge,release.result
@@ -32,15 +32,11 @@
START TRANSACTION WITH CONSISTENT SNAPSHOT;
connection default;
DELETE FROM t1;
-SET DEBUG_SYNC='innodb_commit_inplace_alter_table_enter SIGNAL go WAIT_FOR do';
ALTER TABLE t1 ADD COLUMN f3 INT;
connection purge_control;
-SET DEBUG_SYNC='now WAIT_FOR go';
COMMIT;
InnoDB 0 transactions not purged
-SET DEBUG_SYNC='now SIGNAL do';
disconnect purge_control;
connection default;
-SET DEBUG_SYNC=RESET;
DROP TABLE t1;
SET GLOBAL innodb_purge_rseg_truncate_frequency = @saved_frequency;
mysql-test/suite/innodb/t/instant_alter_purge.test
View file @
27f3329f
--
source
include
/
have_innodb
.
inc
--
source
include
/
maybe_debug
.
inc
if
(
$have_debug
)
{
--
source
include
/
have_debug_sync
.
inc
}
SET
@
saved_frequency
=
@@
GLOBAL
.
innodb_purge_rseg_truncate_frequency
;
SET
GLOBAL
innodb_purge_rseg_truncate_frequency
=
1
;
...
...
@@ -45,19 +49,27 @@ START TRANSACTION WITH CONSISTENT SNAPSHOT;
connection
default
;
DELETE
FROM
t1
;
if
(
$have_debug
)
{
SET
DEBUG_SYNC
=
'innodb_commit_inplace_alter_table_enter SIGNAL go WAIT_FOR do'
;
}
send
ALTER
TABLE
t1
ADD
COLUMN
f3
INT
;
connection
purge_control
;
if
(
$have_debug
)
{
SET
DEBUG_SYNC
=
'now WAIT_FOR go'
;
}
COMMIT
;
--
source
include
/
wait_all_purged
.
inc
if
(
$have_debug
)
{
SET
DEBUG_SYNC
=
'now SIGNAL do'
;
}
disconnect
purge_control
;
connection
default
;
reap
;
if
(
$have_debug
)
{
SET
DEBUG_SYNC
=
RESET
;
}
DROP
TABLE
t1
;
SET
GLOBAL
innodb_purge_rseg_truncate_frequency
=
@
saved_frequency
;
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