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
f22a50a9
Commit
f22a50a9
authored
Jul 06, 2006
by
konstantin@bodhi.netgear
Browse files
Options
Browse Files
Download
Plain Diff
Merge bodhi.netgear:/opt/local/work/mysql-5.1-root
into bodhi.netgear:/opt/local/work/mysql-5.1-runtime-merge
parents
dcf85ebe
2527b0f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
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.
mysql-test/r/events_logs_tests.result
View file @
f22a50a9
...
@@ -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 @
f22a50a9
...
@@ -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