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
16d8763b
Commit
16d8763b
authored
May 19, 2021
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a race condition in the main.rownum test
parent
c3b50038
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/main/rownum.result
mysql-test/main/rownum.result
+0
-1
mysql-test/main/rownum.test
mysql-test/main/rownum.test
+2
-1
No files found.
mysql-test/main/rownum.result
View file @
16d8763b
...
@@ -347,7 +347,6 @@ drop table t1;
...
@@ -347,7 +347,6 @@ drop table t1;
#
#
create table t1 (a int not null primary key, b int);
create table t1 (a int not null primary key, b int);
insert delayed into t1 values (1,rownum()),(2,rownum()),(3,rownum());
insert delayed into t1 values (1,rownum()),(2,rownum()),(3,rownum());
flush tables;
select * from t1;
select * from t1;
a b
a b
1 1
1 1
...
...
mysql-test/main/rownum.test
View file @
16d8763b
...
@@ -190,7 +190,8 @@ drop table t1;
...
@@ -190,7 +190,8 @@ drop table t1;
create
table
t1
(
a
int
not
null
primary
key
,
b
int
);
create
table
t1
(
a
int
not
null
primary
key
,
b
int
);
insert
delayed
into
t1
values
(
1
,
rownum
()),(
2
,
rownum
()),(
3
,
rownum
());
insert
delayed
into
t1
values
(
1
,
rownum
()),(
2
,
rownum
()),(
3
,
rownum
());
flush
tables
;
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
3
FROM
t1
;
source
include
/
wait_condition
.
inc
;
select
*
from
t1
;
select
*
from
t1
;
drop
table
t1
;
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