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
e9e5e7fc
Commit
e9e5e7fc
authored
Jun 16, 2019
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix: MariaDB doesn't have I_S.PROCESSLIST.SRV_ID
parent
9ab0d7b4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case3.inc
...cksdb/mysql-test/rocksdb/include/locking_issues_case3.inc
+1
-1
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case4.inc
...cksdb/mysql-test/rocksdb/include/locking_issues_case4.inc
+1
-1
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case5.inc
...cksdb/mysql-test/rocksdb/include/locking_issues_case5.inc
+1
-1
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case6.inc
...cksdb/mysql-test/rocksdb/include/locking_issues_case6.inc
+1
-1
storage/rocksdb/mysql-test/rocksdb/t/rocksdb.test
storage/rocksdb/mysql-test/rocksdb/t/rocksdb.test
+1
-1
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_locks.test
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_locks.test
+1
-1
storage/rocksdb/mysql-test/rocksdb/t/unique_check.test
storage/rocksdb/mysql-test/rocksdb/t/unique_check.test
+1
-1
No files found.
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case3.inc
View file @
e9e5e7fc
...
...
@@ -54,7 +54,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection
con2
;
let
$wait_condition
=
SELECT
1
FROM
information_schema
.
processlist
WHERE
(
id
=
$ID
OR
srv_id
=
$ID
)
AND
state
=
"Sending data"
;
WHERE
(
id
=
$ID
/* OR srv_id = $ID*/
)
AND
state
=
"Sending data"
;
--
source
include
/
wait_condition
.
inc
eval
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
$isolation_level
;
UPDATE
t0
SET
VALUE
=
VALUE
+
1
WHERE
id
=
190000
;
...
...
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case4.inc
View file @
e9e5e7fc
...
...
@@ -54,7 +54,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection
con2
;
let
$wait_condition
=
SELECT
1
FROM
information_schema
.
processlist
WHERE
(
id
=
$ID
OR
srv_id
=
$ID
)
AND
state
=
"Sending data"
;
WHERE
(
id
=
$ID
/* OR srv_id = $ID*/
)
AND
state
=
"Sending data"
;
--
source
include
/
wait_condition
.
inc
eval
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
$isolation_level
;
INSERT
INTO
t0
VALUES
(
200001
,
1
),
(
-
1
,
1
);
...
...
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case5.inc
View file @
e9e5e7fc
...
...
@@ -57,7 +57,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection
con2
;
let
$wait_condition
=
SELECT
1
FROM
information_schema
.
processlist
WHERE
(
id
=
$ID
OR
srv_id
=
$ID
)
AND
state
=
"Sending data"
;
WHERE
(
id
=
$ID
/* OR srv_id = $ID*/
)
AND
state
=
"Sending data"
;
--
source
include
/
wait_condition
.
inc
eval
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
$isolation_level
;
BEGIN
;
...
...
storage/rocksdb/mysql-test/rocksdb/include/locking_issues_case6.inc
View file @
e9e5e7fc
...
...
@@ -57,7 +57,7 @@ send SELECT * FROM t0 WHERE value > 0 FOR UPDATE;
connection
con2
;
let
$wait_condition
=
SELECT
1
FROM
information_schema
.
processlist
WHERE
(
id
=
$ID
OR
srv_id
=
$ID
)
AND
state
=
"Sending data"
;
WHERE
(
id
=
$ID
/* OR srv_id = $ID*/
)
AND
state
=
"Sending data"
;
--
source
include
/
wait_condition
.
inc
eval
SET
SESSION
TRANSACTION
ISOLATION
LEVEL
$isolation_level
;
BEGIN
;
...
...
storage/rocksdb/mysql-test/rocksdb/t/rocksdb.test
View file @
e9e5e7fc
...
...
@@ -1114,7 +1114,7 @@ update t1 set a = sleep(100) where pk = 1;
--
connect
(
con1
,
localhost
,
root
,,)
let
$wait_condition
=
select
State
=
'User sleep'
from
information_schema
.
processlist
where
id
=
$con_id
or
srv_id
=
$con_id
;
let
$wait_condition
=
select
State
=
'User sleep'
from
information_schema
.
processlist
where
id
=
$con_id
/* or srv_id=$con_id*/
;
--
source
include
/
wait_condition
.
inc
--
echo
kill
query
\
$con_id
;
...
...
storage/rocksdb/mysql-test/rocksdb/t/rocksdb_locks.test
View file @
e9e5e7fc
...
...
@@ -29,7 +29,7 @@ begin;
let
$wait_condition
=
select
1
from
INFORMATION_SCHEMA
.
PROCESSLIST
where
(
ID
=
$ID
or
SRV_ID
=
$ID
)
and
STATE
=
"Waiting for row lock"
;
where
(
ID
=
$ID
/* or SRV_ID = $ID */
)
and
STATE
=
"Waiting for row lock"
;
--
source
include
/
wait_condition
.
inc
## Waiting for row lock
## select connection_id();
...
...
storage/rocksdb/mysql-test/rocksdb/t/unique_check.test
View file @
e9e5e7fc
...
...
@@ -30,7 +30,7 @@ send insert into t1 values (1,2);
connection
con1
;
let
$wait_condition
=
select
1
from
INFORMATION_SCHEMA
.
PROCESSLIST
where
(
ID
=
$ID
or
SRV_ID
=
$ID
)
where
(
ID
=
$ID
/* or SRV_ID = $ID*/
)
and
STATE
=
"Waiting for row lock"
;
--
source
include
/
wait_condition
.
inc
commit
;
...
...
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