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
49d0b0ca
Commit
49d0b0ca
authored
Apr 03, 2007
by
kostja@bodhi.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a race that breaks the valgrind build.
parent
bed1ec3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+2
-1
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+5
-4
No files found.
mysql-test/r/information_schema.result
View file @
49d0b0ca
...
...
@@ -1415,7 +1415,8 @@ CREATE TABLE server_status (variable_name VARCHAR(64),
variable_value DECIMAL(22,7));
DROP EVENT IF EXISTS log_status;
CREATE EVENT log_status
ON SCHEDULE EVERY 1 SECOND
ON SCHEDULE AT NOW()
ON COMPLETION PRESERVE
DO
BEGIN
INSERT INTO thread_status SELECT variable_name, variable_value FROM
...
...
mysql-test/t/information_schema.test
View file @
49d0b0ca
...
...
@@ -1059,7 +1059,8 @@ DROP EVENT IF EXISTS log_status;
DELIMITER
$$
;
CREATE
EVENT
log_status
ON
SCHEDULE
EVERY
1
SECOND
ON
SCHEDULE
AT
NOW
()
ON
COMPLETION
PRESERVE
DO
BEGIN
INSERT
INTO
thread_status
SELECT
variable_name
,
variable_value
FROM
...
...
@@ -1071,12 +1072,12 @@ information_schema.global_status;
DELIMITER
;
$$
SET
GLOBAL
event_scheduler
=
1
;
sleep
1
;
let
$wait_condition
=
select
count
(
variable_name
)
!=
0
from
server_status
;
let
$wait_timeout
=
30
;
--
source
include
/
wait_condition
.
inc
SELECT
*
FROM
thread_status
WHERE
variable_name
LIKE
'SSL%'
LIMIT
1
,
2
;
SELECT
variable_name
FROM
server_status
LIMIT
1
,
2
;
DROP
EVENT
log_status
;
DROP
TABLE
thread_status
;
DROP
TABLE
server_status
;
...
...
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