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
100da38a
Commit
100da38a
authored
Apr 06, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-bug18198
into dator3.(none):/home/mikael/mysql_clones/bug18198
parents
8e6769b0
dd0c20ac
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
26 deletions
+61
-26
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+0
-11
mysql-test/r/openssl_1.result
mysql-test/r/openssl_1.result
+22
-0
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+2
-15
mysql-test/t/openssl_1.test
mysql-test/t/openssl_1.test
+37
-0
No files found.
mysql-test/r/information_schema.result
View file @
100da38a
...
...
@@ -1408,7 +1408,6 @@ select user,db from information_schema.processlist;
user db
user3148 test
drop user user3148@localhost;
DROP TABLE IF EXISTS thread_status;
DROP TABLE IF EXISTS server_status;
DROP EVENT IF EXISTS event_status;
SET GLOBAL event_scheduler=1;
...
...
@@ -1417,26 +1416,16 @@ ON SCHEDULE AT NOW()
ON COMPLETION NOT PRESERVE
DO
BEGIN
CREATE TABLE thread_status
SELECT variable_name, variable_value
FROM information_schema.session_status
WHERE variable_name LIKE 'SSL_ACCEPTS' OR
variable_name LIKE 'SSL_CALLBACK_CACHE_HITS';
CREATE TABLE server_status
SELECT variable_name
FROM information_schema.global_status
WHERE variable_name LIKE 'ABORTED_CONNECTS' OR
variable_name LIKE 'BINLOG_CACHE_DISK_USE';
END$$
SELECT variable_name, variable_value FROM thread_status;
variable_name variable_value
SSL_ACCEPTS 0.0000000
SSL_CALLBACK_CACHE_HITS 0.0000000
SELECT variable_name FROM server_status;
variable_name
ABORTED_CONNECTS
BINLOG_CACHE_DISK_USE
DROP TABLE thread_status;
DROP TABLE server_status;
SET GLOBAL event_scheduler=0;
End of 5.1 tests.
mysql-test/r/openssl_1.result
View file @
100da38a
...
...
@@ -51,3 +51,25 @@ SSL error: Unable to get private key from ''
mysqltest: Could not open connection 'default': 2026 SSL connection error
SSL error: Unable to get certificate from ''
mysqltest: Could not open connection 'default': 2026 SSL connection error
End of 5.0 tests
DROP TABLE IF EXISTS thread_status;
DROP EVENT IF EXISTS event_status;
SET GLOBAL event_scheduler=1;
CREATE EVENT event_status
ON SCHEDULE AT NOW()
ON COMPLETION NOT PRESERVE
DO
BEGIN
CREATE TABLE thread_status
SELECT variable_name, variable_value
FROM information_schema.session_status
WHERE variable_name LIKE 'SSL_ACCEPTS' OR
variable_name LIKE 'SSL_CALLBACK_CACHE_HITS';
END$$
SELECT variable_name, variable_value FROM thread_status;
variable_name variable_value
SSL_ACCEPTS 0.0000000
SSL_CALLBACK_CACHE_HITS 0.0000000
DROP TABLE thread_status;
SET GLOBAL event_scheduler=0;
End of 5.1 tests
mysql-test/t/information_schema.test
View file @
100da38a
...
...
@@ -1042,16 +1042,13 @@ select user,db from information_schema.processlist;
connection
default
;
drop
user
user3148
@
localhost
;
#
# Bug #26174 Server Crash: INSERT ... SELECT ... FROM I_S.GLOBAL_STATUS in Event
# Bug #26174 Server Crash: INSERT ... SELECT ... FROM I_S.GLOBAL_STATUS
# in Event (see also openssl_1.test)
#
--
disable_warnings
DROP
TABLE
IF
EXISTS
thread_status
;
DROP
TABLE
IF
EXISTS
server_status
;
DROP
EVENT
IF
EXISTS
event_status
;
--
enable_warnings
SET
GLOBAL
event_scheduler
=
1
;
...
...
@@ -1063,12 +1060,6 @@ CREATE EVENT event_status
ON
COMPLETION
NOT
PRESERVE
DO
BEGIN
CREATE
TABLE
thread_status
SELECT
variable_name
,
variable_value
FROM
information_schema
.
session_status
WHERE
variable_name
LIKE
'SSL_ACCEPTS'
OR
variable_name
LIKE
'SSL_CALLBACK_CACHE_HITS'
;
CREATE
TABLE
server_status
SELECT
variable_name
FROM
information_schema
.
global_status
...
...
@@ -1079,15 +1070,11 @@ END$$
DELIMITER
;
$$
let
$wait_condition
=
select
count
(
*
)
=
0
from
information_schema
.
events
where
event_name
=
'event_status'
;
let
$wait_timeout
=
30
;
--
source
include
/
wait_condition
.
inc
SELECT
variable_name
,
variable_value
FROM
thread_status
;
SELECT
variable_name
FROM
server_status
;
DROP
TABLE
thread_status
;
DROP
TABLE
server_status
;
SET
GLOBAL
event_scheduler
=
0
;
--
echo
End
of
5.1
tests
.
mysql-test/t/openssl_1.test
View file @
100da38a
...
...
@@ -96,4 +96,41 @@ drop table t1;
--
error
1
--
exec
$MYSQL_TEST
--
ssl
-
cert
=
--
max
-
connect
-
retries
=
1
<
$MYSQLTEST_VARDIR
/
tmp
/
test
.
sql
2
>&
1
--
echo
End
of
5.0
tests
#
# Bug #26174 Server Crash: INSERT ... SELECT ... FROM I_S.GLOBAL_STATUS in
# Event (see also information_schema.test for the other part of test for
# this bug).
#
--
disable_warnings
DROP
TABLE
IF
EXISTS
thread_status
;
DROP
EVENT
IF
EXISTS
event_status
;
--
enable_warnings
SET
GLOBAL
event_scheduler
=
1
;
DELIMITER
$$
;
CREATE
EVENT
event_status
ON
SCHEDULE
AT
NOW
()
ON
COMPLETION
NOT
PRESERVE
DO
BEGIN
CREATE
TABLE
thread_status
SELECT
variable_name
,
variable_value
FROM
information_schema
.
session_status
WHERE
variable_name
LIKE
'SSL_ACCEPTS'
OR
variable_name
LIKE
'SSL_CALLBACK_CACHE_HITS'
;
END
$$
DELIMITER
;
$$
let
$wait_condition
=
select
count
(
*
)
=
0
from
information_schema
.
events
where
event_name
=
'event_status'
;
--
source
include
/
wait_condition
.
inc
SELECT
variable_name
,
variable_value
FROM
thread_status
;
DROP
TABLE
thread_status
;
SET
GLOBAL
event_scheduler
=
0
;
--
echo
End
of
5.1
tests
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