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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
60b75a3a
Commit
60b75a3a
authored
May 23, 2006
by
andrey@lmy004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make it less stressful. some pushbuild boxes cannot cope with it
parent
30be7555
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/r/events_stress.result
mysql-test/r/events_stress.result
+4
-4
mysql-test/t/events_stress.test
mysql-test/t/events_stress.test
+6
-6
No files found.
mysql-test/r/events_stress.result
View file @
60b75a3a
...
@@ -16,7 +16,7 @@ CREATE EVENT ev_drop3 ON SCHEDULE EVERY 10 MINUTE DISABLE DO SELECT 1;
...
@@ -16,7 +16,7 @@ CREATE EVENT ev_drop3 ON SCHEDULE EVERY 10 MINUTE DISABLE DO SELECT 1;
USE events_test;
USE events_test;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS;
COUNT(*)
COUNT(*)
2
03
1
03
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
COUNT(*)
COUNT(*)
3
3
...
@@ -29,7 +29,7 @@ CREATE DATABASE events_conn1_test2;
...
@@ -29,7 +29,7 @@ CREATE DATABASE events_conn1_test2;
USE events_conn1_test2;
USE events_conn1_test2;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
COUNT(*)
COUNT(*)
10
0
5
0
SET GLOBAL event_scheduler=1;
SET GLOBAL event_scheduler=1;
DROP DATABASE events_conn1_test2;
DROP DATABASE events_conn1_test2;
SET GLOBAL event_scheduler=2;
SET GLOBAL event_scheduler=2;
...
@@ -41,14 +41,14 @@ USE events_conn1_test3;
...
@@ -41,14 +41,14 @@ USE events_conn1_test3;
SET GLOBAL event_scheduler=1;
SET GLOBAL event_scheduler=1;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test3';
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test3';
COUNT(*)
COUNT(*)
10
0
5
0
CREATE DATABASE events_conn1_test4;
CREATE DATABASE events_conn1_test4;
USE events_conn1_test4;
USE events_conn1_test4;
CREATE DATABASE events_conn1_test2;
CREATE DATABASE events_conn1_test2;
USE events_conn1_test2;
USE events_conn1_test2;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_test2';
COUNT(*)
COUNT(*)
10
0
5
0
DROP DATABASE events_conn2_db;
DROP DATABASE events_conn2_db;
DROP DATABASE events_conn3_db;
DROP DATABASE events_conn3_db;
DROP DATABASE events_conn1_test2;
DROP DATABASE events_conn1_test2;
...
...
mysql-test/t/events_stress.test
View file @
60b75a3a
...
@@ -13,7 +13,7 @@ GRANT ALL ON *.* TO event_user3@localhost;
...
@@ -13,7 +13,7 @@ GRANT ALL ON *.* TO event_user3@localhost;
connect
(
conn2
,
localhost
,
event_user2
,,
events_conn2_db
);
connect
(
conn2
,
localhost
,
event_user2
,,
events_conn2_db
);
--
echo
"In the second connection we create some events which won't be dropped till the end"
--
echo
"In the second connection we create some events which won't be dropped till the end"
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
conn2_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn2_ev$1"
,
NOW
());
eval
CREATE
EVENT
conn2_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn2_ev$1"
,
NOW
());
...
@@ -23,7 +23,7 @@ while ($1)
...
@@ -23,7 +23,7 @@ while ($1)
connect
(
conn3
,
localhost
,
event_user3
,,
events_conn3_db
);
connect
(
conn3
,
localhost
,
event_user3
,,
events_conn3_db
);
--
echo
"In the second connection we create some events which won't be dropped till the end"
--
echo
"In the second connection we create some events which won't be dropped till the end"
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
conn3_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn3_ev$1"
,
NOW
());
eval
CREATE
EVENT
conn3_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn3_ev$1"
,
NOW
());
...
@@ -45,7 +45,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
...
@@ -45,7 +45,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
CREATE
DATABASE
events_conn1_test2
;
CREATE
DATABASE
events_conn1_test2
;
USE
events_conn1_test2
;
USE
events_conn1_test2
;
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
conn1_round1_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round1_ev$1"
,
NOW
());
eval
CREATE
EVENT
conn1_round1_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round1_ev$1"
,
NOW
());
...
@@ -62,7 +62,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
...
@@ -62,7 +62,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
CREATE
DATABASE
events_conn1_test3
;
CREATE
DATABASE
events_conn1_test3
;
USE
events_conn1_test3
;
USE
events_conn1_test3
;
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
conn1_round2_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round2_ev$1"
,
NOW
());
eval
CREATE
EVENT
conn1_round2_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round2_ev$1"
,
NOW
());
...
@@ -74,7 +74,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
...
@@ -74,7 +74,7 @@ SELECT COUNT(*) FROM INFORMATION_SCHEMA.EVENTS WHERE EVENT_SCHEMA='events_conn1_
CREATE
DATABASE
events_conn1_test4
;
CREATE
DATABASE
events_conn1_test4
;
USE
events_conn1_test4
;
USE
events_conn1_test4
;
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
conn1_round3_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round3_ev$1"
,
NOW
());
eval
CREATE
EVENT
conn1_round3_ev
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round3_ev$1"
,
NOW
());
...
@@ -85,7 +85,7 @@ while ($1)
...
@@ -85,7 +85,7 @@ while ($1)
CREATE
DATABASE
events_conn1_test2
;
CREATE
DATABASE
events_conn1_test2
;
USE
events_conn1_test2
;
USE
events_conn1_test2
;
--
disable_query_log
--
disable_query_log
let
$
1
=
10
0
;
let
$
1
=
5
0
;
while
(
$
1
)
while
(
$
1
)
{
{
eval
CREATE
EVENT
ev_round4_drop
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round4_ev$1"
,
NOW
());
eval
CREATE
EVENT
ev_round4_drop
$
1
ON
SCHEDULE
EVERY
1
SECOND
DO
INSERT
INTO
events_test
.
fill_it
VALUES
(
"conn1_round4_ev$1"
,
NOW
());
...
...
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