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
95d285fb
Commit
95d285fb
authored
Sep 30, 2024
by
Julius Goryavsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-30307 addendum: support for compilation in release mode
parent
cf0c3ec2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
30 deletions
+44
-30
mysql-test/suite/galera/r/galera_bf_kill,debug.rdiff
mysql-test/suite/galera/r/galera_bf_kill,debug.rdiff
+37
-0
mysql-test/suite/galera/r/galera_bf_kill.result
mysql-test/suite/galera/r/galera_bf_kill.result
+0
-29
mysql-test/suite/galera/t/galera_bf_kill.test
mysql-test/suite/galera/t/galera_bf_kill.test
+7
-1
No files found.
mysql-test/suite/galera/r/galera_bf_kill,debug.rdiff
0 → 100644
View file @
95d285fb
--- a/home/panda/mariadb-10.5/mysql-test/suite/galera/r/galera_bf_kill.result
+++ b/home/panda/mariadb-10.5/mysql-test/suite/galera/r/galera_bf_kill.reject
@@ -77,4 +77,34 @@
a b
5 2
disconnect node_2a;
connection node_1;
+connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
+connection node_2a;
+truncate t1;
+insert into t1 values (7,0);
+connection node_2;
+set wsrep_sync_wait=0;
+begin;
+update t1 set b=2 where a=7;
+connect node_2b, 127.0.0.1, root, , test, $NODE_MYPORT_2;
+set wsrep_sync_wait=0;
+SET GLOBAL debug_dbug = "d,sync.wsrep_apply_cb";
+connection node_1;
+update t1 set b=1 where a=7;
+connection node_2b;
+SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
+connection node_2;
+connection node_2b;
+SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb";
+connection node_2;
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+commit;
+select * from t1;
+a b
+7 1
+connection node_2a;
+SET DEBUG_SYNC= 'RESET';
+SET GLOBAL debug_dbug = "";
+disconnect node_2a;
+disconnect node_2b;
+connection node_1;
drop table t1;
mysql-test/suite/galera/r/galera_bf_kill.result
View file @
95d285fb
...
...
@@ -77,33 +77,4 @@ a b
5 2
disconnect node_2a;
connection node_1;
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
connection node_2a;
truncate t1;
insert into t1 values (7,0);
connection node_2;
set wsrep_sync_wait=0;
begin;
update t1 set b=2 where a=7;
connect node_2b, 127.0.0.1, root, , test, $NODE_MYPORT_2;
set wsrep_sync_wait=0;
SET GLOBAL debug_dbug = "d,sync.wsrep_apply_cb";
connection node_1;
update t1 set b=1 where a=7;
connection node_2b;
SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
connection node_2;
connection node_2b;
SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb";
connection node_2;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
commit;
select * from t1;
a b
7 1
connection node_2a;
SET DEBUG_SYNC= 'RESET';
SET GLOBAL debug_dbug = "";
drop table t1;
disconnect node_2a;
disconnect node_2b;
mysql-test/suite/galera/t/galera_bf_kill.test
View file @
95d285fb
...
...
@@ -155,6 +155,8 @@ select * from t1;
--
connection
node_1
source
include
/
maybe_debug
.
inc
;
if
(
$have_debug
)
{
#
# Test case 7: Start a transaction on node_2 and use KILL to abort
# a query in connection node_2a
...
...
@@ -219,6 +221,10 @@ select * from t1;
SET
DEBUG_SYNC
=
'RESET'
;
SET
GLOBAL
debug_dbug
=
""
;
drop
table
t1
;
--
disconnect
node_2a
--
disconnect
node_2b
--
connection
node_1
}
drop
table
t1
;
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