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
27439ee6
Commit
27439ee6
authored
Jan 29, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
5.5 merge
parents
1e227b8f
5f63c9c0
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
502 additions
and
231 deletions
+502
-231
client/mysqlcheck.c
client/mysqlcheck.c
+21
-13
mysql-test/lib/generate-ssl-certs.sh
mysql-test/lib/generate-ssl-certs.sh
+31
-0
mysql-test/r/mysqlcheck.result
mysql-test/r/mysqlcheck.result
+9
-2
mysql-test/r/ssl.result
mysql-test/r/ssl.result
+2
-2
mysql-test/std_data/cacert.pem
mysql-test/std_data/cacert.pem
+75
-20
mysql-test/std_data/client-cert.pem
mysql-test/std_data/client-cert.pem
+50
-51
mysql-test/std_data/client-key.pem
mysql-test/std_data/client-key.pem
+13
-13
mysql-test/std_data/server-cert.pem
mysql-test/std_data/server-cert.pem
+50
-51
mysql-test/std_data/server-key.pem
mysql-test/std_data/server-key.pem
+13
-13
mysql-test/std_data/server8k-cert.pem
mysql-test/std_data/server8k-cert.pem
+129
-51
mysql-test/std_data/server8k-key.pem
mysql-test/std_data/server8k-key.pem
+97
-13
mysql-test/t/mysqlcheck.test
mysql-test/t/mysqlcheck.test
+12
-2
No files found.
client/mysqlcheck.c
View file @
27439ee6
...
@@ -521,9 +521,6 @@ static uint fixed_name_length(const char *name)
...
@@ -521,9 +521,6 @@ static uint fixed_name_length(const char *name)
{
{
if
(
*
p
==
'`'
)
if
(
*
p
==
'`'
)
extra_length
++
;
extra_length
++
;
else
if
(
*
p
==
'.'
)
extra_length
+=
2
;
}
}
DBUG_RETURN
((
uint
)
((
p
-
name
)
+
extra_length
));
DBUG_RETURN
((
uint
)
((
p
-
name
)
+
extra_length
));
}
}
...
@@ -537,11 +534,6 @@ static char *fix_table_name(char *dest, char *src)
...
@@ -537,11 +534,6 @@ static char *fix_table_name(char *dest, char *src)
for
(;
*
src
;
src
++
)
for
(;
*
src
;
src
++
)
{
{
switch
(
*
src
)
{
switch
(
*
src
)
{
case
'.'
:
/* add backticks around '.' */
*
dest
++=
'`'
;
*
dest
++=
'.'
;
*
dest
++=
'`'
;
break
;
case
'`'
:
/* escape backtick character */
case
'`'
:
/* escape backtick character */
*
dest
++=
'`'
;
*
dest
++=
'`'
;
/* fall through */
/* fall through */
...
@@ -836,13 +828,17 @@ static void print_result()
...
@@ -836,13 +828,17 @@ static void print_result()
{
{
MYSQL_RES
*
res
;
MYSQL_RES
*
res
;
MYSQL_ROW
row
;
MYSQL_ROW
row
;
char
prev
[(
NAME_LEN
+
9
)
*
2
+
2
];
char
prev
[(
NAME_LEN
+
9
)
*
3
+
2
];
char
prev_alter
[
MAX_ALTER_STR_SIZE
];
char
prev_alter
[
MAX_ALTER_STR_SIZE
];
char
*
db_name
;
uint
length_of_db
;
uint
i
;
uint
i
;
my_bool
found_error
=
0
,
table_rebuild
=
0
;
my_bool
found_error
=
0
,
table_rebuild
=
0
;
DBUG_ENTER
(
"print_result"
);
DBUG_ENTER
(
"print_result"
);
res
=
mysql_use_result
(
sock
);
res
=
mysql_use_result
(
sock
);
db_name
=
sock
->
db
;
length_of_db
=
strlen
(
db_name
);
prev
[
0
]
=
'\0'
;
prev
[
0
]
=
'\0'
;
prev_alter
[
0
]
=
0
;
prev_alter
[
0
]
=
0
;
...
@@ -866,10 +862,16 @@ static void print_result()
...
@@ -866,10 +862,16 @@ static void print_result()
if
(
prev_alter
[
0
])
if
(
prev_alter
[
0
])
insert_dynamic
(
&
alter_table_cmds
,
(
uchar
*
)
prev_alter
);
insert_dynamic
(
&
alter_table_cmds
,
(
uchar
*
)
prev_alter
);
else
else
insert_dynamic
(
&
tables4rebuild
,
(
uchar
*
)
prev
);
{
char
*
table_name
=
prev
+
(
length_of_db
+
1
);
insert_dynamic
(
&
tables4rebuild
,
(
uchar
*
)
table_name
);
}
}
}
else
else
insert_dynamic
(
&
tables4repair
,
prev
);
{
char
*
table_name
=
prev
+
(
length_of_db
+
1
);
insert_dynamic
(
&
tables4repair
,
table_name
);
}
}
}
found_error
=
0
;
found_error
=
0
;
table_rebuild
=
0
;
table_rebuild
=
0
;
...
@@ -910,10 +912,16 @@ static void print_result()
...
@@ -910,10 +912,16 @@ static void print_result()
if
(
prev_alter
[
0
])
if
(
prev_alter
[
0
])
insert_dynamic
(
&
alter_table_cmds
,
prev_alter
);
insert_dynamic
(
&
alter_table_cmds
,
prev_alter
);
else
else
insert_dynamic
(
&
tables4rebuild
,
prev
);
{
char
*
table_name
=
prev
+
(
length_of_db
+
1
);
insert_dynamic
(
&
tables4rebuild
,
table_name
);
}
}
}
else
else
insert_dynamic
(
&
tables4repair
,
prev
);
{
char
*
table_name
=
prev
+
(
length_of_db
+
1
);
insert_dynamic
(
&
tables4repair
,
table_name
);
}
}
}
mysql_free_result
(
res
);
mysql_free_result
(
res
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
mysql-test/lib/generate-ssl-certs.sh
0 → 100755
View file @
27439ee6
#/bin/sh -xe
# simply run me from mysql-test/
cd
std_data/
# boilerplace for "openssl ca" and /etc/ssl/openssl.cnf
rm
-rf
demoCA
mkdir
demoCA demoCA/private demoCA/newcerts
touch
demoCA/index.txt
echo
01
>
demoCA/serial
# CA certificate, self-signed
openssl req
-x509
-newkey
rsa:2048
-keyout
demoCA/private/cakey.pem
-out
cacert.pem
-days
7300
-nodes
-subj
'/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB'
-text
# server certificate signing request and private key
openssl req
-newkey
rsa:1024
-keyout
server-key.pem
-out
demoCA/server-req.pem
-days
7300
-nodes
-subj
'/C=SE/ST=Uppsala/O=MySQL AB/CN=localhost'
# convert the key to yassl compatible format
openssl rsa
-in
server-key.pem
-out
server-key.pem
# sign the server certificate with CA certificate
openssl ca
-days
7300
-batch
-cert
cacert.pem
-policy
policy_anything
-out
server-cert.pem
-infiles
demoCA/server-req.pem
openssl req
-newkey
rsa:8192
-keyout
server8k-key.pem
-out
demoCA/server8k-req.pem
-days
7300
-nodes
-subj
'/C=SE/ST=Uppsala/O=MySQL AB/CN=server'
openssl rsa
-in
server8k-key.pem
-out
server8k-key.pem
openssl ca
-days
7300
-batch
-cert
cacert.pem
-policy
policy_anything
-out
server8k-cert.pem
-infiles
demoCA/server8k-req.pem
openssl req
-newkey
rsa:1024
-keyout
client-key.pem
-out
demoCA/client-req.pem
-days
7300
-nodes
-subj
'/C=SE/ST=Uppsala/O=MySQL AB'
openssl rsa
-in
client-key.pem
-out
client-key.pem
# if the folloing will require a common name - that's defined in /etc/ssl/openssl.cnf, under policy_anything
openssl ca
-days
7300
-batch
-cert
cacert.pem
-policy
policy_anything
-out
client-cert.pem
-infiles
demoCA/client-req.pem
rm
-rf
demoCA
mysql-test/r/mysqlcheck.result
View file @
27439ee6
call mtr.add_suppression("Invalid .old.. table or database name");
call mtr.add_suppression("Invalid .old.. table or database name");
DROP TABLE IF EXISTS t1, `t``1`, `t 1`;
DROP TABLE IF EXISTS t1, `t``1`, `t 1`
, test.`t.1`, v1
;
drop view if exists v1;
drop view if exists
t1, `t``1`, `t 1`, test.`t.1`,
v1;
drop database if exists client_test_db;
drop database if exists client_test_db;
mtr.global_suppressions OK
mtr.global_suppressions OK
mtr.test_suppressions OK
mtr.test_suppressions OK
...
@@ -340,3 +340,10 @@ CHECK TABLE bug47205 FOR UPGRADE;
...
@@ -340,3 +340,10 @@ CHECK TABLE bug47205 FOR UPGRADE;
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.bug47205 check status OK
test.bug47205 check status OK
DROP TABLE bug47205;
DROP TABLE bug47205;
#
#MDEV-6128:[PATCH] mysqlcheck wrongly escapes '.' in table names
#
CREATE TABLE test.`t.1` (id int);
mysqlcheck test t.1
test.t.1 OK
drop table test.`t.1`;
mysql-test/r/ssl.result
View file @
27439ee6
...
@@ -3,10 +3,10 @@ Variable_name Value
...
@@ -3,10 +3,10 @@ Variable_name Value
Ssl_cipher DHE-RSA-AES256-SHA
Ssl_cipher DHE-RSA-AES256-SHA
SHOW STATUS LIKE 'Ssl_server_not_before';
SHOW STATUS LIKE 'Ssl_server_not_before';
Variable_name Value
Variable_name Value
Ssl_server_not_before
Feb 20 02:55:06 2010
GMT
Ssl_server_not_before
Jan 29 13:33:36 2015
GMT
SHOW STATUS LIKE 'Ssl_server_not_after';
SHOW STATUS LIKE 'Ssl_server_not_after';
Variable_name Value
Variable_name Value
Ssl_server_not_after
Sep 3 02:55:06 2030
GMT
Ssl_server_not_after
Jan 24 13:33:36 2035
GMT
drop table if exists t1,t2,t3,t4;
drop table if exists t1,t2,t3,t4;
CREATE TABLE t1 (
CREATE TABLE t1 (
Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
...
...
mysql-test/std_data/cacert.pem
View file @
27439ee6
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 18344029820145564920 (0xfe9315ee3af2fcf8)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Validity
Not Before: Jan 29 13:33:36 2015 GMT
Not After : Jan 24 13:33:36 2035 GMT
Subject: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:ad:79:3b:d1:c4:f3:fd:72:e8:4a:9e:54:db:44:
86:c7:57:a9:53:2e:01:5a:5b:04:b8:b7:15:02:28:
b2:e8:8a:8d:0e:32:29:a6:cc:63:00:fb:e4:7a:ec:
27:b0:09:8f:4d:34:95:c5:9e:2e:92:20:8b:ec:88:
d3:08:75:c7:c0:61:46:60:79:bb:0f:5f:e4:08:d7:
b2:20:08:1a:71:a9:ea:f2:d6:55:40:26:82:9b:2c:
6a:00:66:74:58:ea:e8:6c:77:74:81:10:3b:78:7f:
20:75:9c:ac:7a:63:af:0e:b6:7b:e8:94:13:00:b8:
7d:33:7a:c7:49:1f:b2:84:ce:0d:89:4a:97:ee:61:
0a:1d:8b:a7:8b:45:90:dc:cc:e6:56:dc:aa:28:b2:
cb:83:09:e7:7b:9a:7c:3e:da:4f:11:d0:b2:95:0d:
96:c0:b0:41:63:2d:2b:45:2f:6d:46:38:5a:b0:93:
e6:07:af:d1:2f:15:ff:84:f3:05:62:a5:28:1a:a4:
40:23:3d:c6:77:60:2c:55:7d:fd:af:da:4a:e8:fb:
16:03:9a:67:4b:76:a6:ec:96:ba:46:86:f2:fb:7c:
eb:2c:59:5c:af:e7:79:50:26:05:d4:71:c3:d5:62:
d5:2b:17:35:d3:32:4e:b4:df:30:7d:8b:fd:ba:c3:
a6:5d
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
D0:25:36:E4:E6:DB:8B:6E:4F:8A:4D:20:48:A4:21:3A:58:7E:EF:C4
X509v3 Authority Key Identifier:
keyid:D0:25:36:E4:E6:DB:8B:6E:4F:8A:4D:20:48:A4:21:3A:58:7E:EF:C4
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha1WithRSAEncryption
8d:9f:56:93:67:4b:77:e1:4c:f0:3c:6b:9c:8a:a0:a5:3d:5d:
a7:21:72:5e:bc:4c:88:16:61:95:3d:e6:34:da:a6:b0:8c:6e:
94:4c:69:ea:c6:8a:fa:2c:3d:bf:f9:8e:b5:d1:69:ac:a1:46:
12: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NAlNuTm24tuT4pNIEikITpYfu/EMAwG
SKRGMEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdV
A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAI2fVpNnS3fhTPA8a5yKoKU9
cHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMAwGA1UdEwQFMAMB
Xachcl68TIgWYZU95jTaprCMbpRMaerGivosPb/5jrXRaayhRhKVvP1nIR7KD0l3
Af8wDQYJKoZIhvcNAQEFBQADggEBALRUOAmdL8R8sl1y8kiEiFgDatdXK5RDqWai
+FQpqgZbCAuOC0+dUtoDnqExG0q738vXurEg13e8O4fkrkZZE4jNdqsVaMWQ1wH7
8yZChfmwTIToHhmQsOEshJe2e8hky3huUj+33VyXjINoMbebIwMuXPwEkbJal8RZ
exYwf/gexT2j4mHZNf5wr5pHElkmJ7H2otiZgKGko6N3rUCQjE5+g7DADvsLw5+s
nSJmF0jN1Qz7J/jFffwK9xmejWZJx49Kt2+Qwrwp6kDeq9TLFqQOoVczgyJPYsTL
je5l/n2FK7OTYlZQ88poaHY3neeFE0XByJ7GuuvvJIXoRzGCUxvEZrPD5olfPhif
NAOib5WqTud3XWvCwxrhqmWu7JZq6sp1fomP/uunprb8y2miWfLESZN2mKAhm44Q
9e1mGZ5XWz1qL/vC41pA0FsurPakxlvupXagr6jAwOEveGx7+v6oLYvPK8iH7gk=
Lws867LT8v2lskEjq2dT1LutD5+R66XcdjgSr0uDziDs64jZwCD6ea94hVFM7ej0
ZOXYeSEZJ56FjUxu632e9fY8NyMh30yKjjmQf1mM9PuGJvdvsWU=
-----END CERTIFICATE-----
-----END CERTIFICATE-----
mysql-test/std_data/client-cert.pem
View file @
27439ee6
Certificate:
Certificate:
Data:
Data:
Version: 3 (0x2)
Version: 3 (0x2)
Serial Number:
6 (0x6
)
Serial Number:
3 (0x3
)
Signature Algorithm: sha1WithRSAEncryption
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Validity
Validity
Not Before:
Feb 20 03:03:26 2010
GMT
Not Before:
Jan 29 13:33:49 2015
GMT
Not After :
Sep 3 03:03:26 2030
GMT
Not After :
Jan 24 13:33:49 2035
GMT
Subject: C=SE, ST=Uppsala, O=MySQL AB
Subject: C=SE, ST=Uppsala, O=MySQL AB
Subject Public Key Info:
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public Key Algorithm: rsaEncryption
RSA Public
Key: (1024 bit)
Public-
Key: (1024 bit)
Modulus
(1024 bit)
:
Modulus:
00:c
2:e7:20:cf:89:59:2f:67:cb:4c:9f:e8:11:f2
:
00:c
1:f6:6e:41:de:b5:80:fe:10:6d:c5:15:98:53
:
23:e5:f1:b1:ee:3f:66:5f:c3:f5:fd:1e:31:ee:8f
:
85:4a:88:51:06:85:30:7f:c9:92:87:51:3a:d6:8d
:
4c:2a:bd:c0:4a:a5:9f:c8:44:d5:77:8f:15:1b:4d
:
d3:9c:0e:91:c2:39:30:e9:b2:6e:53:4a:3a:aa:a3
:
78:6e:b2:a2:48:a5:24:33:05:40:02:b3:c1:87:8d
:
8b:ce:c0:93:94:c9:65:db:89:8e:21:2b:af:2a:ff
:
59:3c:1a:07:aa:86:f0:04:e1:9c:20:4b:22:32:c4
:
7b:5a:0f:b9:03:99:f0:eb:20:d4:2c:39:00:0e:5a
:
51:9e:40:e4:31:c3:57:f5:98:bf:2e:b1:fd:2c:56
:
b7:2b:17:e6:78:54:4f:54:23:36:81:b2:db:3e:48
:
bf:49:d9:9b:e7:17:cc:95:5f:b5:08:19:5e:9d:df
:
cd:8e:14:36:b4:4f:6e:4d:a1:84:64:29:b7:68:3c
:
65:22:39:2c:48:fb:69:96:31:7a:35:4d:de:60:b4
:
45:3e:eb:9a:9b:8f:e2:d0:35:a8:0c:e6:70:4e:ac
:
c1:60:19:5f:96:56:7e:55:19
78:74:d5:45:aa:67:33:81:0d
Exponent: 65537 (0x10001)
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 extensions:
X509v3 Basic Constraints:
X509v3 Basic Constraints:
CA:FALSE
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
X509v3 Subject Key Identifier:
8D:10:67:91:33:76:9C:02:E5:78:5D:D8:C5:EF:25:96:B2:D7:FA:1F
17:61:EA:3F:25:92:55:2B:04:1C:D8:C7:A9:F6:61:C9:D9:99:A4:C9
X509v3 Authority Key Identifier:
X509v3 Authority Key Identifier:
keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0
keyid:D0:25:36:E4:E6:DB:8B:6E:4F:8A:4D:20:48:A4:21:3A:58:7E:EF:C4
DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
serial:BE:58:AD:4C:1F:3D:25:95
Signature Algorithm: sha1WithRSAEncryption
Signature Algorithm: sha1WithRSAEncryption
a9:88:10:3e:5d:2a:47:29:c8:03:27:7a:31:5a:8e:10:03:bc
:
78:ea:34:4f:ac:c5:0b:17:bd:c9:f4:28:bd:b2:b1:cd:a7:58
:
b5:4e:37:1d:12:7b:eb:5f:50:71:70:b1:a3:8e:93:0e:77:1
7:
74:4f:00:82:82:c8:a5:71:fe:f4:2f:54:d0:e0:ae:b0:57:8
7:
6c:47:b6:c9:a4:4d:2a:c4:38:f0:61:55:b2:7f:28:ba:06:79
:
7d:e6:2e:14:4a:49:21:43:c3:b5:39:e4:7c:0f:fe:8b:c5:5d
:
ee:67:11:7d:d4:c9:7f:0a:18:c8:c1:cb:d0:2c:f9:63:0f:bb
:
5e:84:bc:42:2a:2a:a1:69:10:30:dc:e8:a6:ba:79:8b:a0:56
:
45:ca:de:ea:bb:ac:00:01:52:48:36:2b:07:2b:c8:46:c7:b1
:
09:ab:a3:ce:db:32:b2:10:7a:9f:b7:7a:46:80:4a:90:59:af
:
21:81:bd:77:39:e7:4c:39:aa:bd:ac:60:d8:a7:bf:cf:14:98
:
81:5c:c7:92:20:46:9d:0e:27:20:e5:9a:da:b3:26:96:37:3b
:
4a:0b:a1:40:55:06:8d:6f:35:a9:39:a0:71:a9:97:ba:7c:73
:
87:e7:13:93:ba:8d:be:d3:9d:7a:cb:6d:96:75:36:54:e1:cd
:
3c:41:ba:c5:1c:11:4b:2b:43:1d:2d:ba:7b:5f:14:b5:3d:64
:
7e:ff:0d:2d:3c:6a:cd:50:b3:a5:73:a8:83:a0:a7:a2:aa:fa
:
62:15:36:b4:16:bd:78:c8:43:8d:f9:1c:a5:d2:ac:a1:58:74
:
6e:49:b9:77:fc:03:16:21:bb:c7:8a:4a:79:5f:a9:7e:b9:21
:
e1:99:de:ad:04:19:43:a8:bd:0a:fd:19:9b:50:44:46:6d:1
8:
6d:84:a7:5f:96:60:38:42:f7:d0:82:de:87:74:d4:05:93:b
8:
55:4d:bf:b4:5b:a4:93:62:c7:64:91:6c:54:34:d1:f8:f3:ff
:
94:ae:d1:eb:0c:26:96:60:d5:d8:6c:cc:17:40:85:2f:ac:f8
:
12:6d:5f:85:e7:35:9e:5c:42:81:5e:fb:c8:bb:44:51:98:b2
:
31:f5:f5:76:d0:f1:3f:aa:87:81:b9:a0:93:71:28:6a:b2:f6
:
ef:1b:9f:5a:22:77:28:7d:da:fb:08:c2:94:9a:0f:42:08:93
:
74:36:a1:fa:f8:dc:39:a8:cd:b7:75:79:d0:40:73:6c:d6:b2
:
54:10:1e:ad:f2:4f:fc:62:98:51:e9:9b:b9:3a:93:d9:e4:1f
:
dc:9e:58:a5:51:e5:09:f0:3d:c2:2f:3d:16:ab:41:26:ec:3b
:
1d:c4:76:d0
71:04:2d:eb
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDETCCAfmgAwIBAgIBBjANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
MIIC6DCCAdCgAwIBAgIBAzANBg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w9MmXcj3ZeZCYKVwJALyQ+AJPw9qa+fuLwOq9gsHCtwrty
OWEv9d3VZvioIVaACeoGgmc6jdD6tAGN6wJBAN5Pyj+OfKAX6WEvfRzx/qqTctvW
EhSQxSlwrz/pWniRll439vPkXfgntF4E0t1r+hiN2Hqv3/HcQgBaYzkuIwJAG023
/LJFIUdZcDipKvTkca1Jf1D/+7rFxlPuF1f8a4q7oVhAYaHYSnH/MJJYsFUCQQDB
bACFxaOuCeFFepvEms8E8jSHy4gQQhCnCl24v8wLw76SQN7kZSCDNtwLRBFuVNtE
ukofvGe6Q7NWWWCtG2p89r7zloM1VSywmBHmdSUso4QGe0yz+D7jqT1lOT872+bJ
z3PMonFn2eQPRmGZkwJAP1c1BHprMQx/ruafdscROILv3JrH40C1bR6KVVBKt1dK
sxM3klhlELXdxtK1JcX3AkBqnkbKafhVdIojRvxwY1NXD2HrxZGNbl+r/0usrQc9
Qpnpgi7hK5rUQjDF8k3bn9ugTt06jyeHe/QhAml0kg==
viRpCxVsqPeseK9sxbL+xDJ6a1ofJrLg8YJLFapOqWTh
-----END RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
mysql-test/std_data/server-cert.pem
View file @
27439ee6
Certificate:
Certificate:
Data:
Data:
Version: 3 (0x2)
Version: 3 (0x2)
Serial Number:
4 (0x4
)
Serial Number:
1 (0x1
)
Signature Algorithm: sha1WithRSAEncryption
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
Validity
Validity
Not Before:
Feb 20 02:55:06 2010
GMT
Not Before:
Jan 29 13:33:36 2015
GMT
Not After :
Sep 3 02:55:06 2030
GMT
Not After :
Jan 24 13:33:36 2035
GMT
Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=localhost
Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=localhost
Subject Public Key Info:
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public Key Algorithm: rsaEncryption
RSA Public
Key: (1024 bit)
Public-
Key: (1024 bit)
Modulus
(1024 bit)
:
Modulus:
00:
e3:7d:4f:c2:23:77:a9:3a:2c:d2:69:59:a0:2
f:
00:
9c:3a:93:e6:10:8c:b3:e2:57:2f:57:5d:03:4
f:
4e:d1:51:4c:ae:8d:f5:17:cc:ce:58:9c:83:4f:0b
:
0a:e6:fd:44:1a:f3:49:42:70:58:3a:d5:a3:96:ef
:
a3:bb:29:a2:b8:1d:3e:1b:04:f9:a9:3e:e2:61:d
0:
f2:98:39:09:fa:8c:57:12:d5:8b:1e:a5:b8:35:c
0:
e6:7b:b9:7c:12:d8:1f:86:c9:53:b5:04:dd:df:26
:
81:18:6d:45:c8:43:17:28:47:cc:67:8d:dc:3f:9e
:
e9:c0:2b:de:4a:96:2e:f3:23:6f:79:6d:a9:d2:4e
:
29:0a:f8:e5:99:ec:01:ca:d1:42:62:91:47:ee:85
:
1
7:af:2f:de:8b:68:44:ae:de:a3:e2:c4:37:1c:04
:
1
b:b6:65:95:49:08:99:b8:b9:b6:2a:cf:04:05:e9
:
ad:73:4b:85:f9:83:ac:fe:b7:c1:54:47:2e:96:d4
:
5f:a3:7f:d1:c3:08:a0:37:3f:d6:fe:eb:d4:dd:7c
:
31:96:85:94:69:d6:5a:63:24:04:99:89:19:1d:56
:
0a:37:ad:00:43:d1:5d:cf:21:56:9c:d4:6b:d2:7c
:
8a:d1:77:aa:87:fb:38:cd:b7
56:5e:25:fa:e4:2a:ef:14:95
Exponent: 65537 (0x10001)
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 extensions:
X509v3 Basic Constraints:
X509v3 Basic Constraints:
CA:FALSE
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
X509v3 Subject Key Identifier:
CC:8C:71:40:D0:0F:BF:D1:99:79:3F:1B:E9:10:76:19:67:36:0F:A3
E2:04:9A:5D:CB:44:EC:98:C9:84:13:36:A4:7A:41:AC:34:3D:CD:0C
X509v3 Authority Key Identifier:
X509v3 Authority Key Identifier:
keyid:B1:FB:7E:77:B5:40:8D:68:11:7E:D9:11:E5:C3:C6:DA:4D:AC:51:B0
keyid:D0:25:36:E4:E6:DB:8B:6E:4F:8A:4D:20:48:A4:21:3A:58:7E:EF:C4
DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
serial:BE:58:AD:4C:1F:3D:25:95
Signature Algorithm: sha1WithRSAEncryption
Signature Algorithm: sha1WithRSAEncryption
6f:ad:5e:59:fa:84:3a:be:e2:72:b1:e8:66:2a:4e:f8:73:19
:
28:f8:8b:22:d4:8e:00:29:cb:0e:b2:82:f1:a6:3b:e2:c6:76
:
11:06:11:92:78:56:3e:d6:e8:68:29:90:8b:59:d2:fe:aa:ae
:
0a:79:b5:e3:6b:b2:80:c9:af:8b:df:c5:d7:f4:cb:ab:37:3c
:
25:59:c7:e9:99:bb:4a:06:43:dd:40:bd:cb:f4:ae:79:95:7d
:
b2:be:78:b7:2d:ac:77:f1:52:bd:6c:ae:a4:70:1d:98:92:e5
:
8e:90:ef:58:d2:a8:fc:bf:07:f3:37:b2:9b:bd:da:e6:8c:56
:
07:71:99:6c:70:4e:f2:c5:9d:da:c4:31:29:3e:fb:df:82:90
:
dd:5e:c6:4a:70:7c:3e:3d:a1:e8:35:06:b8:a7:7b:ac:26:85
:
5c:76:97:0a:70:c3:dd:0c:cc:be:7d:4c:40:f7:25:9f:6f:d3
:
54:5d:09:a2:7b:77:b4:17:7f:72:31:cb:ff:cc:67:6d:e6:3e
:
37:c5:9b:1a:09:e1:fe:28:08:59:79:17:ac:64:cb:aa:e0:ac
:
c6:dc:96:eb:4a:0a:ae:e9:48:ae:8a:e0:d6:73:57:6e:32:4c
:
17:f3:3e:72:69:91:f2:16:8d:c6:3e:89:33:77:be:74:8f:69
:
00:dc:28:da:55:b3:9f:9f:d8:98:cc:d9:f1:b6:b3:14:67:2e
:
ad:9f:4d:96:e1:51:68:ba:4c:7b:3f:26:7f:14:38:be:e9:07
:
a1:47:1e:51:11:cf:70:9f:31:8f:ba:59:29:f2:d0:88:0b:e2
:
5d:2b:c2:fb:58:1d:40:c3:b8:21:a8:ee:0e:69:82:7a:21:67
:
51:6b:f8:31:ed:6d:ac:00:5e:d3:78:4c:95:97:02:cc:74:2b
:
36:16:41:08:dc:71:e4:7c:d2:f1:58:3b:c8:7b:56:63:b4:1c
:
3b:c6:28:e6:2a:c3:30:99:35:b4:4d:31:46:d4:90:f2:47:ed
:
f6:7c:2a:3e:95:2b:03:9f:9c:41:b9:95:1a:bc:ab:b7:39:1b
:
64:85:1a:75:2a:72:0a:2f:c6:3a:2f:d2:ac:6b:31:cc:e5:a8
:
8e:68:6e:78:ac:2e:18:00:3c:bf:c6:42:c0:62:5f:ba:ec:9f
:
07:c2:d6:22:f3:c6:0f:bf:67:d9:d6:b2:79:cd:48:b5:c3:e0
:
81:da:0e:76:94:a7:88:68:71:22:ef:d1:4a:15:94:5e:cb:5a
:
e3:18:7f:b5:74:c9:43:19:fb:c4:93:29:ca:cc:90:2b:1b:6f
:
9c:af:59:b3:f7:1a:ad:8f:74:e8:fc:a5:b1:da:f9:4f:fc:d6
:
45:f6:25:f
9
f8:11:4c:a
9
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDJTCCAg2gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
MIIC/DCCAeSgAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMQswCQYDVQQGEwJTRTEQ
MA4GA1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlT
MA4GA1UECAwHVXBwc2FsYTEQMA4GA1UEBwwHVXBwc2FsYTERMA8GA1UECgwITXlT
UUwgQUIwHhcNMTAwMjIwMDI1NTA2WhcNMzAwOTAzMDI1NTA2WjBGMQswCQYDVQQG
UUwgQUIwHhcNMTUwMTI5MTMzMzM2WhcNMzUwMTI0MTM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wDQYJKoZIhvcNAQEFBQADggEBAG+tXln6hDq+4nKx6GYqTvhzGREGEZJ4
xnYKebXja7KAya+L38XX9MurNzyyvni3Lax38VK9bK6kcB2YkuUHcZlscE7yxZ3a
Vj7W6GgpkItZ0v6qriVZx+mZu0oGQ91Avcv0rnmVfY6Q71jSqPy/B/M3spu92uaM
xDEpPvvfgpBcdpcKcMPdDMy+fUxA9yWfb9M3xZsaCeH+KAhZeResZMuq4KwX8z5y
Vt1exkpwfD49oeg1Brine6wmhVRdCaJ7d7QXf3Ixy//MZ23mPsbclutKCq7pSK6K
aZHyFo3GPokzd750j2mtn02W4VFoukx7PyZ/FDi+6QddK8L7WB1Aw7ghqO4OaYJ6
4NZzV24yTADcKNpVs5+f2JjM2fG2sxRnLqFHHlERz3CfMY+6WSny0IgL4lFr+DHt
IWc2FkEI3HHkfNLxWDvIe1ZjtBz2fCo+lSsDn5xBuZUavKu3ORuOaG54rC4YADy/
bawAXtN4TJWXAsx0KzvGKOYqwzCZNbRNMUbUkPJH7WSFGnUqcgovxjov0qxrMczl
xkLAYl+67J+B2g52lKeIaHEi79FKFZRey1qcr1mz9xqtj3To/KWx2vlP/Nb4EUyp
qAfC1iLzxg+/Z9nWsnnNSLXD4OMYf7V0yUMZ+8STKcrMkCsbb0X2Jfk=
-----END CERTIFICATE-----
-----END CERTIFICATE-----
mysql-test/std_data/server-key.pem
View file @
27439ee6
-----BEGIN RSA PRIVATE KEY-----
-----BEGIN RSA PRIVATE KEY-----
MIICX
gIBAAKBgQDjfU/CI3epOizSaVmgL07RUUyujfUXzM5YnINPC6O7KaK4HT4b
MIICX
AIBAAKBgQCcOpPmEIyz4lcvV10DTwrm/UQa80lCcFg61aOW7/KYOQn6jFcS
BPmpPuJh0OZ7uXwS2B+GyVO1BN3fJunAK95Kli7zI295banSThevL96LaESu3qPi
1Ysepbg1wIEYbUXIQxcoR8xnjdw/nikK+OWZ7AHK0UJikUfuhRu2ZZVJCJm4ubYq
xDccBK1zS4X5g6z+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d70ZND59S6NFLMMBWlORaVWzWACNZ3rp
TTXHB6t4SrHhWzRG+4mhrVL73oczYw5AcIaeZyuPrKNtSeKOXurKk+avmibQPlU4
kAzSj6HDeqgjD2jsQONdAkEAt7S1YHUn8F760bRn4AnAto2TVOYdArtTP/wYjd4o
xpsReCHbaGVUZevPjgUCQAU5WDLCV2DTXEb42PDuvRn7M7yw853CaN2d7j5Kliun
9rJREO/d8AYkYJ96APLvF0SZ4n3t1pLwQRsKKN8ZGTmzLA=
=
7lS42fcyaFttfLpopCvAhZ0fVRpJGgCcAvoA/zN8uco
=
-----END RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
mysql-test/std_data/server8k-cert.pem
View file @
27439ee6
This diff is collapsed.
Click to expand it.
mysql-test/std_data/server8k-key.pem
View file @
27439ee6
-----BEGIN RSA PRIVATE KEY-----
-----BEGIN RSA PRIVATE KEY-----
MIICXgIBAAKBgQDF2kSVBncWIa+gxDzp+B0tlfljkIw/hrp3dkpSS2uvKfUcqtQ/
MIISJwIBAAKCBAEAvUgDEQa1i5L2nysn4D1si4fMe8/le+lf641MlTZoph3cgRCD
PkKfbUa6hpCxLczbxjMVo/SvUzNPoVbRqjsmEPdktfm/G7FHjsym1g2qSnfjo2Od
wLuXyaxL0cKhZCoJ4h5fJhRCa7iMgupq2N+b3UaaI1JmA1ElkC+W1MLsH2yn3jrr
Ktxl9H+RFzgt1s1OjVNSl26H/GRgpqEArJZs5EKUdRdGb5G13QZH7QXj2wIDAQAB
SXzaga5CSDBZgkPWqwChIoDlHPR0PFlC5KJrXRNpHnSj+aJx66a2e7oSSahLR0Dt
AoGBAJLCjh7Q9eLnx+QDzH9s+Q/IcH4nSbERmh1lFEopAc6j29qQ6PGkmDy0DUPs
8C6UgCNzXFF6KlyWvKEge7s4tkERU5LEHJXP1LJizmW83Uo0dnGP4z77TAyP3VFp
70VOCOh5A4mo3aZzm9sUfVb24/nRtmyTP/AtMuIVGCsUqzI28dJRGvRlY0aSQG/C
o+BM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L8VkqGR33q/qFOtHvijb6H3W0IO06MmDOaenbMpkmyA==
-----END RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
mysql-test/t/mysqlcheck.test
View file @
27439ee6
...
@@ -14,8 +14,8 @@ call mtr.add_suppression("Invalid .old.. table or database name");
...
@@ -14,8 +14,8 @@ call mtr.add_suppression("Invalid .old.. table or database name");
#
#
--
disable_warnings
--
disable_warnings
DROP
TABLE
IF
EXISTS
t1
,
`t``1`
,
`t 1`
;
DROP
TABLE
IF
EXISTS
t1
,
`t``1`
,
`t 1`
,
test
.
`t.1`
,
v1
;
drop
view
if
exists
v1
;
drop
view
if
exists
t1
,
`t``1`
,
`t 1`
,
test
.
`t.1`
,
v1
;
drop
database
if
exists
client_test_db
;
drop
database
if
exists
client_test_db
;
# Repair any tables in mysql, sometimes the slow_log is marked as crashed
# Repair any tables in mysql, sometimes the slow_log is marked as crashed
# after server has been killed
# after server has been killed
...
@@ -312,3 +312,13 @@ CHECK TABLE bug47205 FOR UPGRADE;
...
@@ -312,3 +312,13 @@ CHECK TABLE bug47205 FOR UPGRADE;
CHECK
TABLE
bug47205
FOR
UPGRADE
;
CHECK
TABLE
bug47205
FOR
UPGRADE
;
DROP
TABLE
bug47205
;
DROP
TABLE
bug47205
;
--
echo
#
--
echo
#MDEV-6128:[PATCH] mysqlcheck wrongly escapes '.' in table names
--
echo
#
CREATE
TABLE
test
.
`t.1`
(
id
int
);
--
echo
mysqlcheck
test
t
.
1
--
exec
$MYSQL_CHECK
test
t
.
1
drop
table
test
.
`t.1`
;
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