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
2527b0f1
Commit
2527b0f1
authored
Jul 04, 2006
by
andrey@lmy004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test. this should remove the problem of
fix for bug#20624 events_logs_tests.test fails randomly
parent
c95ad615
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
.bzrignore
.bzrignore
+1
-0
mysql-test/r/events_logs_tests.result
mysql-test/r/events_logs_tests.result
+1
-1
mysql-test/t/events_logs_tests.test
mysql-test/t/events_logs_tests.test
+1
-1
No files found.
.bzrignore
View file @
2527b0f1
...
@@ -1778,3 +1778,4 @@ vio/viotest-sslconnect.cpp
...
@@ -1778,3 +1778,4 @@ vio/viotest-sslconnect.cpp
vio/viotest.cpp
vio/viotest.cpp
zlib/*.ds?
zlib/*.ds?
zlib/*.vcproj
zlib/*.vcproj
server-tools/instance-manager/net_serv.cc
mysql-test/r/events_logs_tests.result
View file @
2527b0f1
...
@@ -49,8 +49,8 @@ USER_HOST SLEEPVAL events_test SELECT SLEEP(2)
...
@@ -49,8 +49,8 @@ USER_HOST SLEEPVAL events_test SELECT SLEEP(2)
SET SESSION long_query_time=300;
SET SESSION long_query_time=300;
"Make it quite long"
"Make it quite long"
TRUNCATE mysql.slow_log;
TRUNCATE mysql.slow_log;
SET SESSION long_query_time=1;
CREATE TABLE slow_event_test (slo_val tinyint, val tinyint);
CREATE TABLE slow_event_test (slo_val tinyint, val tinyint);
SET SESSION long_query_time=1;
"This won't go to the slow log"
"This won't go to the slow log"
CREATE EVENT long_event ON SCHEDULE EVERY 1 MINUTE DO INSERT INTO slow_event_test SELECT @@long_query_time, SLEEP(3);
CREATE EVENT long_event ON SCHEDULE EVERY 1 MINUTE DO INSERT INTO slow_event_test SELECT @@long_query_time, SLEEP(3);
SELECT * FROM slow_event_test;
SELECT * FROM slow_event_test;
...
...
mysql-test/t/events_logs_tests.test
View file @
2527b0f1
...
@@ -69,8 +69,8 @@ SELECT user_host, query_time, db, sql_text FROM mysql.slow_log;
...
@@ -69,8 +69,8 @@ SELECT user_host, query_time, db, sql_text FROM mysql.slow_log;
SET
SESSION
long_query_time
=
300
;
SET
SESSION
long_query_time
=
300
;
--
echo
"Make it quite long"
--
echo
"Make it quite long"
TRUNCATE
mysql
.
slow_log
;
TRUNCATE
mysql
.
slow_log
;
SET
SESSION
long_query_time
=
1
;
CREATE
TABLE
slow_event_test
(
slo_val
tinyint
,
val
tinyint
);
CREATE
TABLE
slow_event_test
(
slo_val
tinyint
,
val
tinyint
);
SET
SESSION
long_query_time
=
1
;
--
echo
"This won't go to the slow log"
--
echo
"This won't go to the slow log"
CREATE
EVENT
long_event
ON
SCHEDULE
EVERY
1
MINUTE
DO
INSERT
INTO
slow_event_test
SELECT
@@
long_query_time
,
SLEEP
(
3
);
CREATE
EVENT
long_event
ON
SCHEDULE
EVERY
1
MINUTE
DO
INSERT
INTO
slow_event_test
SELECT
@@
long_query_time
,
SLEEP
(
3
);
SELECT
*
FROM
slow_event_test
;
SELECT
*
FROM
slow_event_test
;
...
...
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