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
2d6c97e0
Commit
2d6c97e0
authored
Aug 28, 2009
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce test case runtime.
parent
a0e44ec1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/lock_multi_bug38499.result
mysql-test/r/lock_multi_bug38499.result
+3
-0
mysql-test/r/lock_multi_bug38691.result
mysql-test/r/lock_multi_bug38691.result
+3
-0
mysql-test/t/lock_multi_bug38499.test
mysql-test/t/lock_multi_bug38499.test
+5
-0
mysql-test/t/lock_multi_bug38691.test
mysql-test/t/lock_multi_bug38691.test
+5
-0
No files found.
mysql-test/r/lock_multi_bug38499.result
View file @
2d6c97e0
SET @odl_sync_frm = @@global.sync_frm;
SET @@global.sync_frm = OFF;
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t1;
CREATE TABLE t1( a INT, b INT );
CREATE TABLE t1( a INT, b INT );
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
...
@@ -17,3 +19,4 @@ ALTER TABLE t1 ADD COLUMN a INT;
...
@@ -17,3 +19,4 @@ ALTER TABLE t1 ADD COLUMN a INT;
# 2.2.1. normal mode
# 2.2.1. normal mode
# 2.2.2. PS mode
# 2.2.2. PS mode
DROP TABLE t1;
DROP TABLE t1;
SET @@global.sync_frm = @odl_sync_frm;
mysql-test/r/lock_multi_bug38691.result
View file @
2d6c97e0
SET @odl_sync_frm = @@global.sync_frm;
SET @@global.sync_frm = OFF;
DROP TABLE IF EXISTS t1,t2,t3;
DROP TABLE IF EXISTS t1,t2,t3;
CREATE TABLE t1 (
CREATE TABLE t1 (
a int(11) unsigned default NULL,
a int(11) unsigned default NULL,
...
@@ -15,3 +17,4 @@ CREATE TABLE t3 SELECT * FROM t1;
...
@@ -15,3 +17,4 @@ CREATE TABLE t3 SELECT * FROM t1;
# normal mode
# normal mode
# PS mode
# PS mode
DROP TABLE t1, t2, t3;
DROP TABLE t1, t2, t3;
SET @@global.sync_frm = @odl_sync_frm;
mysql-test/t/lock_multi_bug38499.test
View file @
2d6c97e0
...
@@ -5,6 +5,9 @@
...
@@ -5,6 +5,9 @@
# Save the initial number of concurrent sessions
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
--
source
include
/
count_sessions
.
inc
SET
@
odl_sync_frm
=
@@
global
.
sync_frm
;
SET
@@
global
.
sync_frm
=
OFF
;
connect
(
locker
,
localhost
,
root
,,);
connect
(
locker
,
localhost
,
root
,,);
connect
(
writer
,
localhost
,
root
,,);
connect
(
writer
,
localhost
,
root
,,);
...
@@ -214,6 +217,8 @@ DROP TABLE t1;
...
@@ -214,6 +217,8 @@ DROP TABLE t1;
--
disconnect
locker
--
disconnect
locker
--
disconnect
writer
--
disconnect
writer
SET
@@
global
.
sync_frm
=
@
odl_sync_frm
;
# End of 5.0 tests
# End of 5.0 tests
# Wait till all disconnects are completed
# Wait till all disconnects are completed
...
...
mysql-test/t/lock_multi_bug38691.test
View file @
2d6c97e0
...
@@ -8,6 +8,9 @@
...
@@ -8,6 +8,9 @@
# Save the initial number of concurrent sessions
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
--
source
include
/
count_sessions
.
inc
SET
@
odl_sync_frm
=
@@
global
.
sync_frm
;
SET
@@
global
.
sync_frm
=
OFF
;
# Test to see if select will get the lock ahead of low priority update
# Test to see if select will get the lock ahead of low priority update
connect
(
locker
,
localhost
,
root
,,);
connect
(
locker
,
localhost
,
root
,,);
...
@@ -136,6 +139,8 @@ DROP TABLE t1, t2, t3;
...
@@ -136,6 +139,8 @@ DROP TABLE t1, t2, t3;
--
disconnect
locker
--
disconnect
locker
--
disconnect
writer
--
disconnect
writer
SET
@@
global
.
sync_frm
=
@
odl_sync_frm
;
# Wait till all disconnects are completed
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
--
source
include
/
wait_until_count_sessions
.
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