Remove not needed patches
This commit is contained in:
parent
d213ff08cc
commit
62e3367ef7
@ -1,555 +0,0 @@
|
||||
Upstream insists on generating SSL testing certificates with relatively short
|
||||
lifespan, which has repeatedly caused problems (ie, one day the regression
|
||||
tests suddenly stop working). Replace them with certificates with 20-year
|
||||
lifespan. We should periodically regenerate these, too, but at least not
|
||||
very often.
|
||||
|
||||
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/cacert.pem mysql-5.1.50/mysql-test/std_data/cacert.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/cacert.pem 2010-08-03 13:55:04.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/cacert.pem 2010-08-27 23:42:05.751428144 -0400
|
||||
@@ -1,17 +1,22 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
-MIICrTCCAhagAwIBAgIJAMI7xZKjhrDbMA0GCSqGSIb3DQEBBAUAMEQxCzAJBgNV
|
||||
+MIIDsjCCApqgAwIBAgIJAL5YrUwfPSWVMA0GCSqGSIb3DQEBBQUAMEQxCzAJBgNV
|
||||
BAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxhMREwDwYD
|
||||
-VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkxMTQ3MTBaFw0xNTAxMjgxMTQ3MTBaMEQx
|
||||
+VQQKEwhNeVNRTCBBQjAeFw0xMDAxMjkwNTU5NTNaFw0xNTAxMjgwNTU5NTNaMEQx
|
||||
CzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdVcHBzYWxh
|
||||
-MREwDwYDVQQKEwhNeVNRTCBBQjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
|
||||
-wQYsOEfrN4ESP3FjsI8cghE+tZVuyK2gck61lwieVxjgFMtBd65mI5a1y9pmlOI1
|
||||
-yM4SB2Ppqcuw7/e1CdV1y7lvHrGNt5yqEHbN4QX1gvsN8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jBG0wa4AUsft+d7VAjWgRftkR5cPG2k2sUbCh
|
||||
+SKRGMEQxCzAJBgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMRAwDgYDVQQHEwdV
|
||||
+cHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQoIJAL5YrUwfPSWVMAwGA1UdEwQFMAMB
|
||||
+Af8wDQYJKoZIhvcNAQEFBQADggEBALRUOAmdL8R8sl1y8kiEiFgDatdXK5RDqWai
|
||||
+8yZChfmwTIToHhmQsOEshJe2e8hky3huUj+33VyXjINoMbebIwMuXPwEkbJal8RZ
|
||||
+nSJmF0jN1Qz7J/jFffwK9xmejWZJx49Kt2+Qwrwp6kDeq9TLFqQOoVczgyJPYsTL
|
||||
+NAOib5WqTud3XWvCwxrhqmWu7JZq6sp1fomP/uunprb8y2miWfLESZN2mKAhm44Q
|
||||
+Lws867LT8v2lskEjq2dT1LutD5+R66XcdjgSr0uDziDs64jZwCD6ea94hVFM7ej0
|
||||
+ZOXYeSEZJ56FjUxu632e9fY8NyMh30yKjjmQf1mM9PuGJvdvsWU=
|
||||
-----END CERTIFICATE-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/client-cert.pem mysql-5.1.50/mysql-test/std_data/client-cert.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/client-cert.pem 2010-08-03 13:55:04.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/client-cert.pem 2010-08-27 23:42:05.752428395 -0400
|
||||
@@ -1,46 +1,69 @@
|
||||
Certificate:
|
||||
Data:
|
||||
- Version: 1 (0x0)
|
||||
- Serial Number: 1048577 (0x100001)
|
||||
- Signature Algorithm: md5WithRSAEncryption
|
||||
+ Version: 3 (0x2)
|
||||
+ Serial Number: 6 (0x6)
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
|
||||
Validity
|
||||
- Not Before: Jan 29 11:50:22 2010 GMT
|
||||
- Not After : Jan 28 11:50:22 2015 GMT
|
||||
+ Not Before: Feb 20 03:03:26 2010 GMT
|
||||
+ Not After : Sep 3 03:03:26 2030 GMT
|
||||
Subject: C=SE, ST=Uppsala, O=MySQL AB
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
- Public-Key: (1024 bit)
|
||||
- Modulus:
|
||||
- 00:cc:9a:37:49:13:66:dc:cf:e3:0b:13:a1:23:ed:
|
||||
- 78:db:4e:bd:11:f6:8c:0d:76:f9:a3:32:56:9a:f8:
|
||||
- a1:21:6a:55:4e:4d:3f:e6:67:9d:26:99:b2:cd:a4:
|
||||
- 9a:d2:2b:59:5c:d7:8a:d3:60:68:f8:18:bd:c5:be:
|
||||
- 15:e1:2a:3c:a3:d4:61:cb:f5:11:94:17:81:81:f7:
|
||||
- 87:8c:f6:6a:d2:ee:d8:e6:77:f6:62:66:4d:2e:16:
|
||||
- 8d:08:81:4a:c9:c6:4b:31:e5:b9:c7:8a:84:96:48:
|
||||
- a7:47:8c:0d:26:90:56:4e:e6:a5:6e:8c:b3:f2:9f:
|
||||
- fc:3d:78:9b:49:6e:86:83:77
|
||||
+ RSA Public Key: (1024 bit)
|
||||
+ Modulus (1024 bit):
|
||||
+ 00:c2:e7:20:cf:89:59:2f:67:cb:4c:9f:e8:11:f2:
|
||||
+ 23:e5:f1:b1:ee:3f:66:5f:c3:f5:fd:1e:31:ee:8f:
|
||||
+ 4c:2a:bd:c0:4a:a5:9f:c8:44:d5:77:8f:15:1b:4d:
|
||||
+ 78:6e:b2:a2:48:a5:24:33:05:40:02:b3:c1:87:8d:
|
||||
+ 59:3c:1a:07:aa:86:f0:04:e1:9c:20:4b:22:32:c4:
|
||||
+ 51:9e:40:e4:31:c3:57:f5:98:bf:2e:b1:fd:2c:56:
|
||||
+ bf:49:d9:9b:e7:17:cc:95:5f:b5:08:19:5e:9d:df:
|
||||
+ 65:22:39:2c:48:fb:69:96:31:7a:35:4d:de:60:b4:
|
||||
+ c1:60:19:5f:96:56:7e:55:19
|
||||
Exponent: 65537 (0x10001)
|
||||
- Signature Algorithm: md5WithRSAEncryption
|
||||
- 5e:1f:a3:53:5f:24:13:1c:f8:28:32:b0:7f:69:69:f3:0e:c0:
|
||||
- 34:87:10:03:7d:da:15:8b:bd:19:b8:1a:56:31:e7:85:49:81:
|
||||
- c9:7f:45:20:74:3e:89:c0:e0:26:84:51:cc:04:16:ce:69:99:
|
||||
- 01:e1:26:99:b3:e3:f5:bd:ec:5f:a0:84:e4:38:da:75:78:7b:
|
||||
- 89:9c:d2:cd:60:95:20:ba:8e:e3:7c:e6:df:76:3a:7c:89:77:
|
||||
- 02:94:86:11:3a:c4:61:7d:6f:71:83:21:8a:17:fb:17:e2:ee:
|
||||
- 02:6b:61:c1:b4:52:63:d7:d8:46:b2:c5:9c:6f:38:91:8a:35:
|
||||
- 32:0b
|
||||
+ X509v3 extensions:
|
||||
+ X509v3 Basic Constraints:
|
||||
+ CA:FALSE
|
||||
+ X509v3 Subject Key Identifier:
|
||||
+ 8D:10:67:91:33:76:9C:02:E5:78:5D:D8:C5:EF:25:96:B2:D7:FA:1F
|
||||
+ 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
|
||||
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
|
||||
+ serial:BE:58:AD:4C:1F:3D:25:95
|
||||
+
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
+ a9:88:10:3e:5d:2a:47:29:c8:03:27:7a:31:5a:8e:10:03:bc:
|
||||
+ b5:4e:37:1d:12:7b:eb:5f:50:71:70:b1:a3:8e:93:0e:77:17:
|
||||
+ 6c:47:b6:c9:a4:4d:2a:c4:38:f0:61:55:b2:7f:28:ba:06:79:
|
||||
+ ee:67:11:7d:d4:c9:7f:0a:18:c8:c1:cb:d0:2c:f9:63:0f:bb:
|
||||
+ 45:ca:de:ea:bb:ac:00:01:52:48:36:2b:07:2b:c8:46:c7:b1:
|
||||
+ 21:81:bd:77:39:e7:4c:39:aa:bd:ac:60:d8:a7:bf:cf:14:98:
|
||||
+ 4a:0b:a1:40:55:06:8d:6f:35:a9:39:a0:71:a9:97:ba:7c:73:
|
||||
+ 3c:41:ba:c5:1c:11:4b:2b:43:1d:2d:ba:7b:5f:14:b5:3d:64:
|
||||
+ 62:15:36:b4:16:bd:78:c8:43:8d:f9:1c:a5:d2:ac:a1:58:74:
|
||||
+ e1:99:de:ad:04:19:43:a8:bd:0a:fd:19:9b:50:44:46:6d:18:
|
||||
+ 55:4d:bf:b4:5b:a4:93:62:c7:64:91:6c:54:34:d1:f8:f3:ff:
|
||||
+ 12:6d:5f:85:e7:35:9e:5c:42:81:5e:fb:c8:bb:44:51:98:b2:
|
||||
+ ef:1b:9f:5a:22:77:28:7d:da:fb:08:c2:94:9a:0f:42:08:93:
|
||||
+ 54:10:1e:ad:f2:4f:fc:62:98:51:e9:9b:b9:3a:93:d9:e4:1f:
|
||||
+ 1d:c4:76:d0
|
||||
-----BEGIN CERTIFICATE-----
|
||||
-MIIB5zCCAVACAxAAATANBgkqhkiG9w0BAQQFADBEMQswCQYDVQQGEwJTRTEQMA4G
|
||||
-A1UECBMHVXBwc2FsYTEQMA4GA1UEBxMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwg
|
||||
-QUIwHhcNMTAwMTI5MTE1MDIyWhcNMTUwMTI4MTE1MDIyWjAyMQswCQYDVQQGEwJT
|
||||
-RTEQMA4GA1UECBMHVXBwc2FsYTERMA8GA1UEChMITXlTUUwgQUIwgZ8wDQYJKoZI
|
||||
-hvcNAQEBBQADgY0AMIGJAoGBAMyaN0kTZtzP4wsToSPteNtOvRH2jA12+aMyVpr4
|
||||
-oSFqVU5NP+ZnnSaZss2kmtIrWVzXitNgaPgYvcW+FeEqPKPUYcv1EZQXgYH3h4z2
|
||||
-atLu2OZ39mJmTS4WjQiBSsnGSzHluceKhJZI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A4IBAQCpiBA+XSpHKcgDJ3oxWo4QA7y1TjcdEnvrX1BxcLGjjpMOdxdsR7bJpE0q
|
||||
+xDjwYVWyfyi6BnnuZxF91Ml/ChjIwcvQLPljD7tFyt7qu6wAAVJINisHK8hGx7Eh
|
||||
+gb13OedMOaq9rGDYp7/PFJhKC6FAVQaNbzWpOaBxqZe6fHM8QbrFHBFLK0MdLbp7
|
||||
+XxS1PWRiFTa0Fr14yEON+Ryl0qyhWHThmd6tBBlDqL0K/RmbUERGbRhVTb+0W6ST
|
||||
+YsdkkWxUNNH48/8SbV+F5zWeXEKBXvvIu0RRmLLvG59aIncofdr7CMKUmg9CCJNU
|
||||
+EB6t8k/8YphR6Zu5OpPZ5B8dxHbQ
|
||||
-----END CERTIFICATE-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/client-key.pem mysql-5.1.50/mysql-test/std_data/client-key.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/client-key.pem 2010-08-03 13:55:05.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/client-key.pem 2010-08-27 23:42:05.752428395 -0400
|
||||
@@ -1,15 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
-MIICXQIBAAKBgQDMmjdJE2bcz+MLE6Ej7XjbTr0R9owNdvmjMlaa+KEhalVOTT/m
|
||||
-Z50mmbLNpJrSK1lc14rTYGj4GL3FvhXhKjyj1GHL9RGUF4GB94eM9mrS7tjmd/Zi
|
||||
-Zk0uFo0IgUrJxksx5bnHioSWSKdHjA0mkFZO5qVujLPyn/w9eJtJboaDdwIDAQAB
|
||||
-AoGASqk/4We2En+93y3jkIO4pXafIe3w/3zZ7caRue1ehx4RUQh5d+95djuB9u7J
|
||||
-HEZ7TpjM7QNyao5EueL6gvbxt0LXFvqAMni7yM9tt/HUYtHHPqYiRtUny9bKYFTm
|
||||
-l8szCCMal/wD9GZU9ByHDNHm7tHUMyMhARNTYSgx+SERFmECQQD/6jJocC4SX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GpdoUwgu0U8w9MmXcj3ZeZCYKVwJALyQ+AJPw9qa+fuLwOq9gsHCtwrty
|
||||
+EhSQxSlwrz/pWniRll439vPkXfgntF4E0t1r+hiN2Hqv3/HcQgBaYzkuIwJAG023
|
||||
+bACFxaOuCeFFepvEms8E8jSHy4gQQhCnCl24v8wLw76SQN7kZSCDNtwLRBFuVNtE
|
||||
+z3PMonFn2eQPRmGZkwJAP1c1BHprMQx/ruafdscROILv3JrH40C1bR6KVVBKt1dK
|
||||
+Qpnpgi7hK5rUQjDF8k3bn9ugTt06jyeHe/QhAml0kg==
|
||||
-----END RSA PRIVATE KEY-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server-cert.pem mysql-5.1.50/mysql-test/std_data/server-cert.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/server-cert.pem 2010-08-03 13:55:08.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/server-cert.pem 2010-08-27 23:42:05.753428361 -0400
|
||||
@@ -1,41 +1,69 @@
|
||||
Certificate:
|
||||
Data:
|
||||
- Version: 1 (0x0)
|
||||
- Serial Number: 1048578 (0x100002)
|
||||
- Signature Algorithm: md5WithRSAEncryption
|
||||
+ Version: 3 (0x2)
|
||||
+ Serial Number: 4 (0x4)
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
|
||||
Validity
|
||||
- Not Before: Jan 29 11:56:49 2010 GMT
|
||||
- Not After : Jan 28 11:56:49 2015 GMT
|
||||
+ Not Before: Feb 20 02:55:06 2010 GMT
|
||||
+ Not After : Sep 3 02:55:06 2030 GMT
|
||||
Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=localhost
|
||||
Subject Public Key Info:
|
||||
Public Key Algorithm: rsaEncryption
|
||||
- Public-Key: (512 bit)
|
||||
- Modulus:
|
||||
- 00:cd:e4:87:51:9d:72:11:a0:d1:fa:f3:92:8b:13:
|
||||
- 1c:eb:f7:e2:9a:2f:72:a8:d6:65:48:d1:69:af:1b:
|
||||
- c0:4c:13:e5:60:60:51:41:e9:ab:a6:bc:13:bb:0c:
|
||||
- 5e:32:7c:d9:6c:9e:cd:05:24:84:78:db:80:91:2e:
|
||||
- d8:88:2b:c2:ed
|
||||
+ RSA Public Key: (1024 bit)
|
||||
+ Modulus (1024 bit):
|
||||
+ 00:e3:7d:4f:c2:23:77:a9:3a:2c:d2:69:59:a0:2f:
|
||||
+ 4e:d1:51:4c:ae:8d:f5:17:cc:ce:58:9c:83:4f:0b:
|
||||
+ a3:bb:29:a2:b8:1d:3e:1b:04:f9:a9:3e:e2:61:d0:
|
||||
+ e6:7b:b9:7c:12:d8:1f:86:c9:53:b5:04:dd:df:26:
|
||||
+ e9:c0:2b:de:4a:96:2e:f3:23:6f:79:6d:a9:d2:4e:
|
||||
+ 17:af:2f:de:8b:68:44:ae:de:a3:e2:c4:37:1c:04:
|
||||
+ ad:73:4b:85:f9:83:ac:fe:b7:c1:54:47:2e:96:d4:
|
||||
+ 31:96:85:94:69:d6:5a:63:24:04:99:89:19:1d:56:
|
||||
+ 8a:d1:77:aa:87:fb:38:cd:b7
|
||||
Exponent: 65537 (0x10001)
|
||||
- Signature Algorithm: md5WithRSAEncryption
|
||||
- 73:ce:9c:6e:39:46:b4:14:be:da:3f:f3:1b:ba:90:bc:23:43:
|
||||
- d7:82:2a:70:4e:a6:d9:5a:65:5c:b7:df:71:df:75:77:c5:80:
|
||||
- a4:af:fa:d2:59:e2:fd:c9:9c:f0:98:95:8e:69:a9:8c:7c:d8:
|
||||
- 6f:48:d2:e3:36:e0:cd:ff:3f:d1:a5:e6:ab:75:09:c4:50:10:
|
||||
- c4:96:dd:bf:3b:de:32:46:da:ca:4a:f1:d6:52:8a:33:2f:ab:
|
||||
- f5:2e:70:3f:d4:9c:be:00:c8:03:f9:39:8a:df:5b:70:3c:40:
|
||||
- ef:03:be:7c:3d:1d:32:32:f3:51:81:e2:83:30:6e:3d:38:9b:
|
||||
- fb:3c
|
||||
+ X509v3 extensions:
|
||||
+ X509v3 Basic Constraints:
|
||||
+ CA:FALSE
|
||||
+ X509v3 Subject Key Identifier:
|
||||
+ CC:8C:71:40:D0:0F:BF:D1:99:79:3F:1B:E9:10:76:19:67:36:0F:A3
|
||||
+ 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
|
||||
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
|
||||
+ serial:BE:58:AD:4C:1F:3D:25:95
|
||||
+
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
+ 6f:ad:5e:59:fa:84:3a:be:e2:72:b1:e8:66:2a:4e:f8:73:19:
|
||||
+ 11:06:11:92:78:56:3e:d6:e8:68:29:90:8b:59:d2:fe:aa:ae:
|
||||
+ 25:59:c7:e9:99:bb:4a:06:43:dd:40:bd:cb:f4:ae:79:95:7d:
|
||||
+ 8e:90:ef:58:d2:a8:fc:bf:07:f3:37:b2:9b:bd:da:e6:8c:56:
|
||||
+ dd:5e:c6:4a:70:7c:3e:3d:a1:e8:35:06:b8:a7:7b:ac:26:85:
|
||||
+ 54:5d:09:a2:7b:77:b4:17:7f:72:31:cb:ff:cc:67:6d:e6:3e:
|
||||
+ c6:dc:96:eb:4a:0a:ae:e9:48:ae:8a:e0:d6:73:57:6e:32:4c:
|
||||
+ 00:dc:28:da:55:b3:9f:9f:d8:98:cc:d9:f1:b6:b3:14:67:2e:
|
||||
+ a1:47:1e:51:11:cf:70:9f:31:8f:ba:59:29:f2:d0:88:0b:e2:
|
||||
+ 51:6b:f8:31:ed:6d:ac:00:5e:d3:78:4c:95:97:02:cc:74:2b:
|
||||
+ 3b:c6:28:e6:2a:c3:30:99:35:b4:4d:31:46:d4:90:f2:47:ed:
|
||||
+ 64:85:1a:75:2a:72:0a:2f:c6:3a:2f:d2:ac:6b:31:cc:e5:a8:
|
||||
+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A1UEChMITXlTUUwgQUIxEjAQBgNV
|
||||
+BAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA431PwiN3
|
||||
+qTos0mlZoC9O0VFMro31F8zOWJyDTwujuymiuB0+GwT5qT7iYdDme7l8EtgfhslT
|
||||
+tQTd3ybpwCveSpYu8yNveW2p0k4Xry/ei2hErt6j4sQ3HAStc0uF+YOs/rfBVEcu
|
||||
+ltQxloWUadZaYyQEmYkZHVaK0Xeqh/s4zbcCAwEAAaOBozCBoDAJBgNVHRMEAjAA
|
||||
+MB0GA1UdDgQWBBTMjHFA0A+/0Zl5PxvpEHYZZzYPozB0BgNVHSMEbTBrgBSx+353
|
||||
+tUCNaBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1Vw
|
||||
+cHNhbGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlit
|
||||
+TB89JZUwDQYJKoZIhvcNAQEFBQADggEBAG+tXln6hDq+4nKx6GYqTvhzGREGEZJ4
|
||||
+Vj7W6GgpkItZ0v6qriVZx+mZu0oGQ91Avcv0rnmVfY6Q71jSqPy/B/M3spu92uaM
|
||||
+Vt1exkpwfD49oeg1Brine6wmhVRdCaJ7d7QXf3Ixy//MZ23mPsbclutKCq7pSK6K
|
||||
+4NZzV24yTADcKNpVs5+f2JjM2fG2sxRnLqFHHlERz3CfMY+6WSny0IgL4lFr+DHt
|
||||
+bawAXtN4TJWXAsx0KzvGKOYqwzCZNbRNMUbUkPJH7WSFGnUqcgovxjov0qxrMczl
|
||||
+qAfC1iLzxg+/Z9nWsnnNSLXD4OMYf7V0yUMZ+8STKcrMkCsbb0X2Jfk=
|
||||
-----END CERTIFICATE-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server-key.pem mysql-5.1.50/mysql-test/std_data/server-key.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/server-key.pem 2010-08-03 13:55:08.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/server-key.pem 2010-08-27 23:42:05.754428433 -0400
|
||||
@@ -1,9 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
-MIIBOwIBAAJBAM3kh1GdchGg0frzkosTHOv34povcqjWZUjRaa8bwEwT5WBgUUHp
|
||||
-q6a8E7sMXjJ82WyezQUkhHjbgJEu2Igrwu0CAwEAAQJBAJuwhFbF3NzRpBbEmnqJ
|
||||
-4GPa1UJMQMLFJF+04tqj/HxJcAIVhOJhGmmtYNw1yjz/ZsPnfJCMz4eFOtdjvGtf
|
||||
-peECIQDmFFg2WLvYo+2m9w9V7z4ZIkg7ixYkI/ObUUctfZkPOQIhAOUWnrvjFrAX
|
||||
-bIvYT/YR50+3ZDLEc51XxNgJnWqWYl1VAiEAnTOFWgyivFC1DgF8PvDp8u5TgCt2
|
||||
-A1d1GMgd490O+TECIC/WMl0/hTxOF9930vKqOGf//o9PUGkZq8QE9fcM4gtlAiAE
|
||||
-iOcFpnLjtWj57jrhuw214ucnB5rklkQQe+AtcARNkg==
|
||||
+MIICXgIBAAKBgQDjfU/CI3epOizSaVmgL07RUUyujfUXzM5YnINPC6O7KaK4HT4b
|
||||
+BPmpPuJh0OZ7uXwS2B+GyVO1BN3fJunAK95Kli7zI295banSThevL96LaESu3qPi
|
||||
+xDccBK1zS4X5g6z+t8FURy6W1DGWhZRp1lpjJASZiRkdVorRd6qH+zjNtwIDAQAB
|
||||
+AoGAUb0o91y/FjMs/72S0pes/lDz+JRRSGfyjKxQEgrgndNsADOhqRu0iTdrKDJj
|
||||
+XnlbN3ooecnFJfnFrvTQcJhSmlS30j6VrBw6LXpCBK3dvjYgJ9LOne7WK+dF1+vS
|
||||
+FMQtsP04C56Sxy6HJDpMyWJ6oS3Bu169ygG2AxKo+Fk+E6ECQQD38w/MzmrARz2Z
|
||||
+AGeEPDUnVZPYgtmXkmks95S0/2jSoLhmgpvJimzxwpYwVG/BG8dSDVuTDu5kp05D
|
||||
+3bZIp3EzAkEA6uAwJsCZPtHXlWU3wYZJsA697rUNjPaCQOIaZ/lnh5RUHTmUiw1h
|
||||
+Oj/VORqKB0kXqcDfawwLjZEvh1Xli+H5bQJBANTmhw2TvEPnp/OFTl1UGUvyBmXl
|
||||
+TRMB639qAu07VfVtfYi/4ya1zn/0VmOfTOoigQ5qW9Q1AOu6YNCTQl62L9MCQQDc
|
||||
+YfEsW2kvNYxYJHoVfuBjbuGuOnn1e1Oqd70ZND59S6NFLMMBWlORaVWzWACNZ3rp
|
||||
+kAzSj6HDeqgjD2jsQONdAkEAt7S1YHUn8F760bRn4AnAto2TVOYdArtTP/wYjd4o
|
||||
+9rJREO/d8AYkYJ96APLvF0SZ4n3t1pLwQRsKKN8ZGTmzLA==
|
||||
-----END RSA PRIVATE KEY-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server8k-cert.pem mysql-5.1.50/mysql-test/std_data/server8k-cert.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/server8k-cert.pem 2010-08-03 13:55:08.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/server8k-cert.pem 2010-08-27 23:43:00.005366270 -0400
|
||||
@@ -1,51 +1,69 @@
|
||||
+Certificate:
|
||||
+ Data:
|
||||
+ Version: 3 (0x2)
|
||||
+ Serial Number: 5 (0x5)
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
+ Issuer: C=SE, ST=Uppsala, L=Uppsala, O=MySQL AB
|
||||
+ Validity
|
||||
+ Not Before: Feb 20 03:00:54 2010 GMT
|
||||
+ Not After : Sep 3 03:00:54 2030 GMT
|
||||
+ Subject: C=SE, ST=Uppsala, O=MySQL AB, CN=server
|
||||
+ Subject Public Key Info:
|
||||
+ Public Key Algorithm: rsaEncryption
|
||||
+ RSA Public Key: (1024 bit)
|
||||
+ Modulus (1024 bit):
|
||||
+ 00:c5:da:44:95:06:77:16:21:af:a0:c4:3c:e9:f8:
|
||||
+ 1d:2d:95:f9:63:90:8c:3f:86:ba:77:76:4a:52:4b:
|
||||
+ 6b:af:29:f5:1c:aa:d4:3f:3e:42:9f:6d:46:ba:86:
|
||||
+ 90:b1:2d:cc:db:c6:33:15:a3:f4:af:53:33:4f:a1:
|
||||
+ 56:d1:aa:3b:26:10:f7:64:b5:f9:bf:1b:b1:47:8e:
|
||||
+ cc:a6:d6:0d:aa:4a:77:e3:a3:63:9d:2a:dc:65:f4:
|
||||
+ 7f:91:17:38:2d:d6:cd:4e:8d:53:52:97:6e:87:fc:
|
||||
+ 64:60:a6:a1:00:ac:96:6c:e4:42:94:75:17:46:6f:
|
||||
+ 91:b5:dd:06:47:ed:05:e3:db
|
||||
+ Exponent: 65537 (0x10001)
|
||||
+ X509v3 extensions:
|
||||
+ X509v3 Basic Constraints:
|
||||
+ CA:FALSE
|
||||
+ X509v3 Subject Key Identifier:
|
||||
+ 6E:60:3F:29:13:60:99:ED:0C:F7:15:B5:DB:7B:1C:FB:6F:60:19:ED
|
||||
+ 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
|
||||
+ DirName:/C=SE/ST=Uppsala/L=Uppsala/O=MySQL AB
|
||||
+ serial:BE:58:AD:4C:1F:3D:25:95
|
||||
+
|
||||
+ Signature Algorithm: sha1WithRSAEncryption
|
||||
+ 63:2e:0f:07:14:06:cf:74:90:3d:37:42:f2:48:70:60:21:bc:
|
||||
+ 34:52:31:f1:87:70:d2:b2:fb:ff:13:38:dc:f0:5e:43:d7:ee:
|
||||
+ a7:c7:1f:ac:aa:d2:8c:4f:fa:3c:4c:73:f6:b6:c2:0c:a0:ea:
|
||||
+ a2:c9:e2:73:61:c3:2e:78:40:0f:2a:d3:63:50:9b:b8:f9:89:
|
||||
+ 40:ed:98:08:97:c3:07:24:17:34:b5:78:89:0a:bb:83:4c:e2:
|
||||
+ 5c:2e:13:d6:21:30:ad:30:48:b5:70:12:ff:4a:6f:42:f0:f8:
|
||||
+ 9f:b1:4b:bd:89:2b:f0:9d:e2:49:2b:35:69:18:1f:76:40:b4:
|
||||
+ 76:bd:cb:dd:27:2f:c0:c1:e2:33:3e:6e:df:68:54:19:92:8a:
|
||||
+ bb:13:9c:cf:d6:17:56:da:bf:0d:64:70:3a:45:b7:aa:5f:e3:
|
||||
+ f5:96:ae:34:f2:17:37:27:d0:4b:e8:30:4a:c0:02:42:e2:d2:
|
||||
+ 30:eb:eb:c7:d7:ec:d8:df:5c:43:58:e2:6f:b7:58:54:0d:c4:
|
||||
+ 01:71:2d:59:8f:44:c7:a1:6c:0b:41:28:fa:b7:63:a7:68:d3:
|
||||
+ 4f:c3:0f:17:9e:b2:32:50:e6:0b:87:3d:e2:39:47:c0:d8:0a:
|
||||
+ 3b:f6:af:50:68:0f:9d:ef:6e:34:0d:3a:07:94:f8:a4:d7:24:
|
||||
+ 86:32:d3:b4
|
||||
-----BEGIN CERTIFICATE-----
|
||||
-MIIJFDCCBPwCAQEwDQYJKoZIhvcNAQEEBQAwTjELMAkGA1UEBhMCU0UxEDAOBgNV
|
||||
-BAgTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCMQ0wCwYDVQQLEwRUZXN0MQsw
|
||||
-CQYDVQQDEwJDQTAeFw0xMDA3MjgxNDA3MjhaFw0xODEwMTQxNDA3MjhaMFIxCzAJ
|
||||
-BgNVBAYTAlNFMRAwDgYDVQQIEwdVcHBzYWxhMREwDwYDVQQKEwhNeVNRTCBBQjEN
|
||||
-MAsGA1UECxMEVGVzdDEPMA0GA1UEAxMGc2VydmVyMIIEIjANBgkqhkiG9w0BAQEF
|
||||
-AAOCBA8AMIIECgKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSEC
|
||||
-PgxNNcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+Lr
|
||||
-hXIqCz7K0PsK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BAMTBnNlcnZlcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxdpElQZ3FiGv
|
||||
+oMQ86fgdLZX5Y5CMP4a6d3ZKUktrryn1HKrUPz5Cn21GuoaQsS3M28YzFaP0r1Mz
|
||||
+T6FW0ao7JhD3ZLX5vxuxR47MptYNqkp346NjnSrcZfR/kRc4LdbNTo1TUpduh/xk
|
||||
+YKahAKyWbORClHUXRm+Rtd0GR+0F49sCAwEAAaOBozCBoDAJBgNVHRMEAjAAMB0G
|
||||
+A1UdDgQWBBRuYD8pE2CZ7Qz3FbXbexz7b2AZ7TB0BgNVHSMEbTBrgBSx+353tUCN
|
||||
+aBF+2RHlw8baTaxRsKFIpEYwRDELMAkGA1UEBhMCU0UxEDAOBgNVBAgTB1VwcHNh
|
||||
+bGExEDAOBgNVBAcTB1VwcHNhbGExETAPBgNVBAoTCE15U1FMIEFCggkAvlitTB89
|
||||
+JZUwDQYJKoZIhvcNAQEFBQADggEBAGMuDwcUBs90kD03QvJIcGAhvDRSMfGHcNKy
|
||||
++/8TONzwXkPX7qfHH6yq0oxP+jxMc/a2wgyg6qLJ4nNhwy54QA8q02NQm7j5iUDt
|
||||
+mAiXwwckFzS1eIkKu4NM4lwuE9YhMK0wSLVwEv9Kb0Lw+J+xS72JK/Cd4kkrNWkY
|
||||
+H3ZAtHa9y90nL8DB4jM+bt9oVBmSirsTnM/WF1bavw1kcDpFt6pf4/WWrjTyFzcn
|
||||
+0EvoMErAAkLi0jDr68fX7NjfXENY4m+3WFQNxAFxLVmPRMehbAtBKPq3Y6do00/D
|
||||
+DxeesjJQ5guHPeI5R8DYCjv2r1BoD53vbjQNOgeU+KTXJIYy07Q=
|
||||
-----END CERTIFICATE-----
|
||||
diff -Naur mysql-5.1.50.orig/mysql-test/std_data/server8k-key.pem mysql-5.1.50/mysql-test/std_data/server8k-key.pem
|
||||
--- mysql-5.1.50.orig/mysql-test/std_data/server8k-key.pem 2010-08-03 13:55:08.000000000 -0400
|
||||
+++ mysql-5.1.50/mysql-test/std_data/server8k-key.pem 2010-08-27 23:43:10.165365998 -0400
|
||||
@@ -1,99 +1,15 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
-MIISKQIBAAKCBAEA6h3v1OWb9I9U/Z8diBu/xYGS8NCTD3ZESboHxVI2qSECPgxN
|
||||
-NcG8Lh0ktQdgYcOe64MnDTZX0Bibm47hoDldrAlTSffFxQhylqBBoXxDF+LrhXIq
|
||||
-Cz7K0PsK+bYusL9ezJ7PETDnCT7oy95q4GXbKsutbNsm9if4ZE41gs2KnoU2DA7k
|
||||
-vMmkKojrMIL4+BqTXA20LLo0iSbgvUTvpSJw4u96BeyzMNnxK2wP5vvTtUo5hACb
|
||||
-fU87YjaSKs+q2VXCzfyYGZk1L1xk5GUI0bP+jutf1dDzNttW2/q2Nf5rxx09Gh/G
|
||||
-wmOnEk1O7cOZ8VQCsOHirIM39NuSARsY6Y3G5XM4k2W4nxyR/RtdG9bvs/33aGsZ
|
||||
-5V5yp7WSs8s9HHwaCPSsUiLKckQ7uA0TTRgbeweMrrLKovG57jsbBBB8pQD4PRd3
|
||||
-1qgxCdstWXHiWwRyI8vOLWENPXPFqA/rJwwqNdWTogy38aqVXxGYR8PIwjA2OaIw
|
||||
-FjwGZcsPNLqw6bgAN8O2UBqZHWiMF8mi7brvioDvAIufZuqa2SqT/At45H83psQ6
|
||||
-R4FsxZt6SAK7EsdPo8OYTrY1i4iPZd/eKhnEu2srEZgsKRwY5H1mvDH5fWCcHSFu
|
||||
-07sWmlmK6Or65Fsa0IaKLJiQDVVETd6xrI0wkM4AOcbKDrS7aywJ426dopbs+LFd
|
||||
-t4N0cdII4gBgJAfLuuA2yrDXRq4P6cgpVMy0R+0dEYE8zzm8zf1a+Ud273LS9+LB
|
||||
-+LJKwqbW8nOPBoiekimIKfJYoOA4+C/mAjsYl1sVjjEhXJAs9S9L2UvnUk1PsZi4
|
||||
-UKHI6eAIEl7VM1sQ4GbdZ0px2dF2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ye
|
||||
+u2IMvBCiTQJBAN+iRbiMJCSitTg5YVMluVbT87co7jbTqk7LN1ujyIFEklm4xlHG
|
||||
+DLJNgEoDR7QJtAkL++FyogC4zsQsey5voscCQQCp54trTbDuI9QIoAaQrrDKWgz4
|
||||
+NpfNPeOQm2UFQT5vIWAyjGWrZGViB8bp0UvVOcJI5nxaOiZfOYOcdrWu75uRAkAn
|
||||
+67zMc9/j1lPJRJz2Dc7nDBD+ikTz7pcBV897AWLCiK4jbBOi91q+3YzgKXO8VNsZ
|
||||
+nlUJasA2psbqSBJ5OJ5zAkEA2UxoMju54hASjT54Z92IzraVw4Vo8CYwOcw5fr7z
|
||||
++m5xg1mmWdLBclmZ+WjARzDuTHIW6u/WCxNGg42AykWzfw==
|
||||
-----END RSA PRIVATE KEY-----
|
@ -1,944 +0,0 @@
|
||||
The issue is Fedora has changed ABI of MySQL client library downstream since
|
||||
MySQL-5.5 (in order to prevent upstream's ABI mistakes), which started to make
|
||||
problems for people building on one distro and running their software on other
|
||||
distro. Detailed info and whole story RHBZ#1045013 [1].
|
||||
|
||||
With collaboration of MariaDB upstream, Oracle developer and Fedora we came up
|
||||
with a solution, that we'll use both libmysqlclient_16 and libmysqlclient_18
|
||||
versions for symbols, which were already in MySQL 5.1, while libmysqlclient_18
|
||||
will be default one.
|
||||
|
||||
MariaDB/MySQL upstreams seem to be willing to use the same approach for RPM
|
||||
packages they provide.
|
||||
|
||||
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1045013
|
||||
[2] https://mariadb.atlassian.net/browse/MDEV-5529
|
||||
|
||||
diff -up mariadb-5.5.34/cmake/cpack_rpm.cmake.p21 mariadb-5.5.34/cmake/cpack_rpm.cmake
|
||||
--- mariadb-5.5.34/cmake/cpack_rpm.cmake.p21 2014-01-17 10:26:02.739250383 +0100
|
||||
+++ mariadb-5.5.34/cmake/cpack_rpm.cmake 2014-01-17 10:23:55.985160851 +0100
|
||||
@@ -136,7 +136,7 @@ IF(RPM MATCHES "(rhel|centos)5")
|
||||
ELSEIF(RPM MATCHES "(rhel|centos)6")
|
||||
ALTERNATIVE_NAME("client" "mysql")
|
||||
ALTERNATIVE_NAME("shared" "mysql-libs")
|
||||
-ELSEIF(RPM MATCHES "fedora")
|
||||
+ELSEIF(RPM MATCHES "fedora.*")
|
||||
ALTERNATIVE_NAME("client" "mysql")
|
||||
ALTERNATIVE_NAME("shared" "mysql-libs")
|
||||
ENDIF()
|
||||
diff -up mariadb-5.5.34/CMakeLists.txt.p21 mariadb-5.5.34/CMakeLists.txt
|
||||
--- mariadb-5.5.34/CMakeLists.txt.p21 2013-11-20 13:28:54.000000000 +0100
|
||||
+++ mariadb-5.5.34/CMakeLists.txt 2014-01-17 10:23:20.542096502 +0100
|
||||
@@ -57,6 +57,22 @@ IF(UNIX AND NOT APPLE)
|
||||
SET(WITH_PIC ${WITH_PIC_DEFAULT} CACHE BOOL "Compile with PIC.")
|
||||
ENDIF()
|
||||
|
||||
+# We provide compatible symbol versioning in RHEL-7/Fedora 21 and above
|
||||
+SET(COMPAT_SYMBOL_VERSIONS_DEFAULT 0)
|
||||
+IF(RPM MATCHES "^(rhel|centos)([0-9]*)$")
|
||||
+ STRING(REGEX REPLACE "^(rhel|centos)([0-9]*)$" "\\2" RHEL_VER ${RPM})
|
||||
+ IF(RHEL_VER GREATER 6)
|
||||
+ SET(COMPAT_SYMBOL_VERSIONS_DEFAULT 1)
|
||||
+ ENDIF()
|
||||
+ELSEIF(RPM MATCHES "^fedora([0-9]*)$")
|
||||
+ STRING(REGEX REPLACE "^fedora([0-9]*)$" "\\1" FEDORA_VER ${RPM})
|
||||
+ IF(FEDORA_VER GREATER 20)
|
||||
+ SET(COMPAT_SYMBOL_VERSIONS_DEFAULT 1)
|
||||
+ ENDIF()
|
||||
+ENDIF()
|
||||
+SET(COMPAT_SYMBOL_VERSIONS ${COMPAT_SYMBOL_VERSIONS_DEFAULT} CACHE BOOL
|
||||
+ "Versions of libmysqlclient symbols in compat mode")
|
||||
+
|
||||
# Optionally set project name, e.g.
|
||||
# foo.xcodeproj (mac) or foo.sln (windows)
|
||||
SET(MYSQL_PROJECT_NAME_DOCSTRING "MySQL project name")
|
||||
diff -up mariadb-5.5.34/config.h.cmake.p21 mariadb-5.5.34/config.h.cmake
|
||||
--- mariadb-5.5.34/config.h.cmake.p21 2013-11-20 13:28:54.000000000 +0100
|
||||
+++ mariadb-5.5.34/config.h.cmake 2014-01-17 10:23:20.543096502 +0100
|
||||
@@ -641,4 +641,6 @@
|
||||
#cmakedefine SIZEOF_TIME_T @SIZEOF_TIME_T@
|
||||
#cmakedefine TIME_T_UNSIGNED @TIME_T_UNSIGNED@
|
||||
|
||||
+#cmakedefine COMPAT_SYMBOL_VERSIONS @COMPAT_SYMBOL_VERSIONS@
|
||||
+
|
||||
#endif
|
||||
diff -up mariadb-5.5.34/libmysqld/libmysqld.def.p21 mariadb-5.5.34/libmysqld/libmysqld.def
|
||||
--- mariadb-5.5.34/libmysqld/libmysqld.def.p21 2013-11-20 13:29:03.000000000 +0100
|
||||
+++ mariadb-5.5.34/libmysqld/libmysqld.def 2014-01-17 10:23:20.543096502 +0100
|
||||
@@ -104,3 +104,7 @@ EXPORTS
|
||||
mysql_stmt_attr_set
|
||||
mysql_stmt_field_count
|
||||
mysql_get_server_name
|
||||
+ handle_options
|
||||
+ free_defaults
|
||||
+ load_defaults
|
||||
+ my_print_help
|
||||
diff -up mariadb-5.5.34/libmysql/libmysql.c.p21 mariadb-5.5.34/libmysql/libmysql.c
|
||||
--- mariadb-5.5.34/libmysql/libmysql.c.p21 2013-11-20 13:28:58.000000000 +0100
|
||||
+++ mariadb-5.5.34/libmysql/libmysql.c 2014-01-17 10:23:20.544096502 +0100
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <mysys_err.h>
|
||||
#include <m_string.h>
|
||||
#include <m_ctype.h>
|
||||
+#include <my_getopt.h>
|
||||
#include "mysql.h"
|
||||
#include "mysql_version.h"
|
||||
#include "mysqld_error.h"
|
||||
@@ -4892,3 +4893,642 @@ my_bool STDCALL mysql_read_query_result(
|
||||
return (*mysql->methods->read_query_result)(mysql);
|
||||
}
|
||||
|
||||
+#ifndef EMBEDDED_LIBRARY
|
||||
+#ifdef COMPAT_SYMBOL_VERSIONS
|
||||
+
|
||||
+// Hack to provide both libmysqlclient_16 and libmysqlclient_18 symbol versions
|
||||
+
|
||||
+#define SYM_16(_exportedsym) __asm__(".symver symver16_" #_exportedsym "," #_exportedsym "@libmysqlclient_16")
|
||||
+
|
||||
+void STDCALL symver16_myodbc_remove_escape(MYSQL *mysql,char *name)
|
||||
+{
|
||||
+ return myodbc_remove_escape(mysql, name);
|
||||
+}
|
||||
+SYM_16(myodbc_remove_escape);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_affected_rows(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_affected_rows(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_affected_rows);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_autocommit(MYSQL * mysql, my_bool auto_mode)
|
||||
+{
|
||||
+ return mysql_autocommit(mysql, auto_mode);
|
||||
+}
|
||||
+SYM_16(mysql_autocommit);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_change_user(MYSQL *mysql, const char *user, const char *passwd, const char *db)
|
||||
+{
|
||||
+ return mysql_change_user(mysql, user, passwd, db);
|
||||
+}
|
||||
+SYM_16(mysql_change_user);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_character_set_name(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_character_set_name(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_character_set_name);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_commit(MYSQL * mysql)
|
||||
+{
|
||||
+ return mysql_commit(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_commit);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_data_seek(MYSQL_RES *result, my_ulonglong row)
|
||||
+{
|
||||
+ return mysql_data_seek(result, row);
|
||||
+}
|
||||
+SYM_16(mysql_data_seek);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_debug(const char *debug __attribute__((unused)))
|
||||
+{
|
||||
+ return mysql_debug(debug);
|
||||
+}
|
||||
+SYM_16(mysql_debug);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_dump_debug_info(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_dump_debug_info(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_dump_debug_info);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_embedded(void)
|
||||
+{
|
||||
+ return mysql_embedded();
|
||||
+}
|
||||
+SYM_16(mysql_embedded);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_eof(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_eof(res);
|
||||
+}
|
||||
+SYM_16(mysql_eof);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_escape_string(char *to,const char *from,ulong length)
|
||||
+{
|
||||
+ return mysql_escape_string(to, from, length);
|
||||
+}
|
||||
+SYM_16(mysql_escape_string);
|
||||
+
|
||||
+
|
||||
+MYSQL_FIELD * STDCALL symver16_mysql_fetch_field(MYSQL_RES *result)
|
||||
+{
|
||||
+ return mysql_fetch_field(result);
|
||||
+}
|
||||
+SYM_16(mysql_fetch_field);
|
||||
+
|
||||
+
|
||||
+MYSQL_FIELD * STDCALL symver16_mysql_fetch_field_direct(MYSQL_RES *res,uint fieldnr)
|
||||
+{
|
||||
+ return mysql_fetch_field_direct(res, fieldnr);
|
||||
+}
|
||||
+SYM_16(mysql_fetch_field_direct);
|
||||
+
|
||||
+
|
||||
+MYSQL_FIELD * STDCALL symver16_mysql_fetch_fields(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_fetch_fields(res);
|
||||
+}
|
||||
+SYM_16(mysql_fetch_fields);
|
||||
+
|
||||
+
|
||||
+unsigned int STDCALL symver16_mysql_field_count(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_field_count(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_field_count);
|
||||
+
|
||||
+
|
||||
+MYSQL_FIELD_OFFSET STDCALL symver16_mysql_field_seek(MYSQL_RES *result, MYSQL_FIELD_OFFSET field_offset)
|
||||
+{
|
||||
+ return mysql_field_seek(result, field_offset);
|
||||
+}
|
||||
+SYM_16(mysql_field_seek);
|
||||
+
|
||||
+
|
||||
+MYSQL_FIELD_OFFSET STDCALL symver16_mysql_field_tell(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_field_tell(res);
|
||||
+}
|
||||
+SYM_16(mysql_field_tell);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_get_character_set_info(MYSQL *mysql, MY_CHARSET_INFO *csinfo)
|
||||
+{
|
||||
+ return mysql_get_character_set_info(mysql, csinfo);
|
||||
+}
|
||||
+SYM_16(mysql_get_character_set_info);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_get_client_info(void)
|
||||
+{
|
||||
+ return mysql_get_client_info();
|
||||
+}
|
||||
+SYM_16(mysql_get_client_info);
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_get_client_version(void)
|
||||
+{
|
||||
+ return mysql_get_client_version();
|
||||
+}
|
||||
+SYM_16(mysql_get_client_version);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_get_host_info(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_get_host_info(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_get_host_info);
|
||||
+
|
||||
+
|
||||
+MYSQL_PARAMETERS *STDCALL symver16_mysql_get_parameters(void)
|
||||
+{
|
||||
+ return mysql_get_parameters();
|
||||
+}
|
||||
+SYM_16(mysql_get_parameters);
|
||||
+
|
||||
+
|
||||
+uint STDCALL symver16_mysql_get_proto_info(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_get_proto_info(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_get_proto_info);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_get_server_info(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_get_server_info(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_get_server_info);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_hex_string(char *to, const char *from, ulong length)
|
||||
+{
|
||||
+ return mysql_hex_string(to, from, length);
|
||||
+}
|
||||
+SYM_16(mysql_hex_string);
|
||||
+
|
||||
+
|
||||
+const char *STDCALL symver16_mysql_info(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_info(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_info);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_insert_id(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_insert_id(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_insert_id);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_kill(MYSQL *mysql,ulong pid)
|
||||
+{
|
||||
+ return mysql_kill(mysql, pid);
|
||||
+}
|
||||
+SYM_16(mysql_kill);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_list_dbs(MYSQL *mysql, const char *wild)
|
||||
+{
|
||||
+ return mysql_list_dbs(mysql, wild);
|
||||
+}
|
||||
+SYM_16(mysql_list_dbs);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_list_fields(MYSQL *mysql, const char *table, const char *wild)
|
||||
+{
|
||||
+ return mysql_list_fields(mysql, table, wild);
|
||||
+}
|
||||
+SYM_16(mysql_list_fields);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_list_processes(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_list_processes(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_list_processes);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_list_tables(MYSQL *mysql, const char *wild)
|
||||
+{
|
||||
+ return mysql_list_tables(mysql, wild);
|
||||
+}
|
||||
+SYM_16(mysql_list_tables);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_more_results(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_more_results(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_more_results);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_next_result(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_next_result(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_next_result);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_ping(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_ping(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_ping);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_query(MYSQL *mysql, const char *query)
|
||||
+{
|
||||
+ return mysql_query(mysql, query);
|
||||
+}
|
||||
+SYM_16(mysql_query);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_read_query_result(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_read_query_result(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_read_query_result);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_real_escape_string(MYSQL *mysql, char *to,const char *from, ulong length)
|
||||
+{
|
||||
+ return mysql_real_escape_string(mysql, to, from, length);
|
||||
+}
|
||||
+SYM_16(mysql_real_escape_string);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_refresh(MYSQL *mysql,uint options)
|
||||
+{
|
||||
+ return mysql_refresh(mysql, options);
|
||||
+}
|
||||
+SYM_16(mysql_refresh);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_rollback(MYSQL * mysql)
|
||||
+{
|
||||
+ return mysql_rollback(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_rollback);
|
||||
+
|
||||
+
|
||||
+MYSQL_ROW_OFFSET STDCALL symver16_mysql_row_seek(MYSQL_RES *result, MYSQL_ROW_OFFSET row)
|
||||
+{
|
||||
+ return mysql_row_seek(result, row);
|
||||
+}
|
||||
+SYM_16(mysql_row_seek);
|
||||
+
|
||||
+
|
||||
+MYSQL_ROW_OFFSET STDCALL symver16_mysql_row_tell(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_row_tell(res);
|
||||
+}
|
||||
+SYM_16(mysql_row_tell);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_server_end()
|
||||
+{
|
||||
+ return mysql_server_end();
|
||||
+}
|
||||
+SYM_16(mysql_server_end);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_server_init(int argc __attribute__((unused)), char **argv __attribute__((unused)), char **groups __attribute__((unused)))
|
||||
+{
|
||||
+ return mysql_server_init(argc, argv, groups);
|
||||
+}
|
||||
+SYM_16(mysql_server_init);
|
||||
+
|
||||
+
|
||||
+void symver16_mysql_set_local_infile_default(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_set_local_infile_default(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_set_local_infile_default);
|
||||
+
|
||||
+
|
||||
+void symver16_mysql_set_local_infile_handler(MYSQL *mysql, int (*local_infile_init)(void **, const char *, void *), int (*local_infile_read)(void *, char *, uint), void (*local_infile_end)(void *), int (*local_infile_error)(void *, char *, uint), void *userdata)
|
||||
+{
|
||||
+ return mysql_set_local_infile_handler(mysql, local_infile_init, local_infile_read, local_infile_end, local_infile_error, userdata);
|
||||
+}
|
||||
+SYM_16(mysql_set_local_infile_handler);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_set_server_option(MYSQL *mysql, enum enum_mysql_set_option option)
|
||||
+{
|
||||
+ return mysql_set_server_option(mysql, option);
|
||||
+}
|
||||
+SYM_16(mysql_set_server_option);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_shutdown(MYSQL *mysql, enum mysql_enum_shutdown_level shutdown_level)
|
||||
+{
|
||||
+ return mysql_shutdown(mysql, shutdown_level);
|
||||
+}
|
||||
+SYM_16(mysql_shutdown);
|
||||
+
|
||||
+
|
||||
+const char *STDCALL symver16_mysql_sqlstate(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_sqlstate(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_sqlstate);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_stat(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_stat(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_stat);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_stmt_affected_rows(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_affected_rows(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_affected_rows);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_attr_get(MYSQL_STMT *stmt, enum enum_stmt_attr_type attr_type, void *value)
|
||||
+{
|
||||
+ return mysql_stmt_attr_get(stmt, attr_type, value);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_attr_get);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_attr_set(MYSQL_STMT *stmt, enum enum_stmt_attr_type attr_type, const void *value)
|
||||
+{
|
||||
+ return mysql_stmt_attr_set(stmt, attr_type, value);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_attr_set);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_bind_param(MYSQL_STMT *stmt, MYSQL_BIND *my_bind)
|
||||
+{
|
||||
+ return mysql_stmt_bind_param(stmt, my_bind);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_bind_param);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_bind_result(MYSQL_STMT *stmt, MYSQL_BIND *my_bind)
|
||||
+{
|
||||
+ return mysql_stmt_bind_result(stmt, my_bind);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_bind_result);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_close(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_close(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_close);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong row)
|
||||
+{
|
||||
+ return mysql_stmt_data_seek(stmt, row);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_data_seek);
|
||||
+
|
||||
+
|
||||
+uint STDCALL symver16_mysql_stmt_errno(MYSQL_STMT * stmt)
|
||||
+{
|
||||
+ return mysql_stmt_errno(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_errno);
|
||||
+
|
||||
+
|
||||
+const char *STDCALL symver16_mysql_stmt_error(MYSQL_STMT * stmt)
|
||||
+{
|
||||
+ return mysql_stmt_error(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_error);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_stmt_execute(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_execute(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_execute);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_stmt_fetch(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_fetch(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_fetch);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *my_bind, uint column, ulong offset)
|
||||
+{
|
||||
+ return mysql_stmt_fetch_column(stmt, my_bind, column, offset);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_fetch_column);
|
||||
+
|
||||
+
|
||||
+unsigned int STDCALL symver16_mysql_stmt_field_count(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_field_count(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_field_count);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_free_result(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_free_result(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_free_result);
|
||||
+
|
||||
+
|
||||
+MYSQL_STMT * STDCALL symver16_mysql_stmt_init(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_stmt_init(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_init);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_stmt_insert_id(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_insert_id(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_insert_id);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_stmt_num_rows(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_num_rows(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_num_rows);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_stmt_param_count(MYSQL_STMT * stmt)
|
||||
+{
|
||||
+ return mysql_stmt_param_count(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_param_count);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_stmt_param_metadata(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_param_metadata(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_param_metadata);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_stmt_prepare(MYSQL_STMT *stmt, const char *query, ulong length)
|
||||
+{
|
||||
+ return mysql_stmt_prepare(stmt, query, length);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_prepare);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_reset(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_reset(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_reset);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_stmt_result_metadata(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_result_metadata(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_result_metadata);
|
||||
+
|
||||
+
|
||||
+MYSQL_ROW_OFFSET STDCALL symver16_mysql_stmt_row_seek(MYSQL_STMT *stmt, MYSQL_ROW_OFFSET row)
|
||||
+{
|
||||
+ return mysql_stmt_row_seek(stmt, row);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_row_seek);
|
||||
+
|
||||
+
|
||||
+MYSQL_ROW_OFFSET STDCALL symver16_mysql_stmt_row_tell(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_row_tell(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_row_tell);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_stmt_send_long_data(MYSQL_STMT *stmt, uint param_number, const char *data, ulong length)
|
||||
+{
|
||||
+ return mysql_stmt_send_long_data(stmt, param_number, data, length);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_send_long_data);
|
||||
+
|
||||
+
|
||||
+const char *STDCALL symver16_mysql_stmt_sqlstate(MYSQL_STMT * stmt)
|
||||
+{
|
||||
+ return mysql_stmt_sqlstate(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_sqlstate);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_stmt_store_result(MYSQL_STMT *stmt)
|
||||
+{
|
||||
+ return mysql_stmt_store_result(stmt);
|
||||
+}
|
||||
+SYM_16(mysql_stmt_store_result);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_thread_end()
|
||||
+{
|
||||
+ return mysql_thread_end();
|
||||
+}
|
||||
+SYM_16(mysql_thread_end);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_thread_id(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_thread_id(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_thread_id);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_thread_init()
|
||||
+{
|
||||
+ return mysql_thread_init();
|
||||
+}
|
||||
+SYM_16(mysql_thread_init);
|
||||
+
|
||||
+
|
||||
+uint STDCALL symver16_mysql_thread_safe(void)
|
||||
+{
|
||||
+ return mysql_thread_safe();
|
||||
+}
|
||||
+SYM_16(mysql_thread_safe);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_use_result(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_use_result(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_use_result);
|
||||
+
|
||||
+
|
||||
+uint STDCALL symver16_mysql_warning_count(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_warning_count(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_warning_count);
|
||||
+
|
||||
+/*****/
|
||||
+
|
||||
+MYSQL * STDCALL symver16_mysql_real_connect(MYSQL *mysql,const char *host, const char *user, const char *passwd, const char *db, uint port, const char *unix_socket,ulong client_flag)
|
||||
+{
|
||||
+ return mysql_real_connect(mysql, host, user, passwd, db, port, unix_socket, client_flag);
|
||||
+}
|
||||
+SYM_16(mysql_real_connect);
|
||||
+
|
||||
+/*****/
|
||||
+
|
||||
+my_bool symver16_my_init(void)
|
||||
+{
|
||||
+ return my_init();
|
||||
+}
|
||||
+SYM_16(my_init);
|
||||
+
|
||||
+
|
||||
+void symver16_free_defaults(char **argv)
|
||||
+{
|
||||
+ free_defaults(argv);
|
||||
+}
|
||||
+SYM_16(free_defaults);
|
||||
+
|
||||
+int symver16_load_defaults(const char *conf_file, const char **groups,
|
||||
+ int *argc, char ***argv)
|
||||
+{
|
||||
+ return load_defaults(conf_file, groups, argc, argv);
|
||||
+}
|
||||
+SYM_16(load_defaults);
|
||||
+
|
||||
+int symver16_handle_options(int *argc, char ***argv,
|
||||
+ const struct my_option *longopts,
|
||||
+ my_get_one_option get_one_option)
|
||||
+{
|
||||
+ return handle_options(argc, argv, longopts, get_one_option);
|
||||
+}
|
||||
+SYM_16(handle_options);
|
||||
+
|
||||
+void symver16_my_print_help(const struct my_option *options)
|
||||
+{
|
||||
+ my_print_help(options);
|
||||
+}
|
||||
+SYM_16(my_print_help);
|
||||
+
|
||||
+#endif
|
||||
+#endif
|
||||
diff -up mariadb-5.5.34/libmysql/libmysql_rpm_version.in.p21 mariadb-5.5.34/libmysql/libmysql_rpm_version.in
|
||||
--- mariadb-5.5.34/libmysql/libmysql_rpm_version.in.p21 2013-11-20 13:28:52.000000000 +0100
|
||||
+++ mariadb-5.5.34/libmysql/libmysql_rpm_version.in 2014-01-17 10:23:20.544096502 +0100
|
||||
@@ -1,9 +1,20 @@
|
||||
# This version script is heavily inspired by Fedora's and Mageia's version scripts for
|
||||
# MySQL client shared library. It is used in MariaDB for building RPMs.
|
||||
+#
|
||||
+# There used to be issues that every distro handled versions of exported
|
||||
+# symbols differently. Providing both versions for older symbols (from 5.1),
|
||||
+# while libmysqlclient_18 is the default one, seems like compatible solution,
|
||||
+# that can be adopted by all distros.
|
||||
+
|
||||
+libmysqlclient_16
|
||||
+{
|
||||
+ local:
|
||||
+ symver16_*;
|
||||
+};
|
||||
|
||||
-libmysqlclient_16 {
|
||||
+libmysqlclient_18 {
|
||||
global:
|
||||
-@CLIENT_API_5_1_LIST@
|
||||
+ @CLIENT_API_5_1_LIST@
|
||||
|
||||
# some stuff from Mageia, I have no idea why it is there
|
||||
# But too afraid to throw anything away
|
||||
@@ -27,12 +38,7 @@ libmysqlclient_16 {
|
||||
scramble;
|
||||
# DBD::mysql requires this
|
||||
is_prefix;
|
||||
- local:
|
||||
- *;
|
||||
-};
|
||||
|
||||
-libmysqlclient_18 {
|
||||
- global:
|
||||
@CLIENT_API_5_5_LIST@
|
||||
#
|
||||
# Ideally the following symbols wouldn't be exported, but various applications
|
||||
@@ -59,4 +65,7 @@ libmysqlclient_18 {
|
||||
# PHP's mysqli.so requires this (via the ER() macro)
|
||||
mysql_client_errors;
|
||||
client_errors;
|
||||
-};
|
||||
+ local:
|
||||
+ *;
|
||||
+} libmysqlclient_16;
|
||||
+
|
||||
diff -up mariadb-5.5.34/sql-common/client.c.p21 mariadb-5.5.34/sql-common/client.c
|
||||
--- mariadb-5.5.34/sql-common/client.c.p21 2013-11-20 13:28:57.000000000 +0100
|
||||
+++ mariadb-5.5.34/sql-common/client.c 2014-01-17 10:23:20.545096501 +0100
|
||||
@@ -4485,3 +4485,139 @@ mysql_get_socket(const MYSQL *mysql)
|
||||
return mysql->net.vio->sd;
|
||||
return INVALID_SOCKET;
|
||||
}
|
||||
+
|
||||
+
|
||||
+#ifndef EMBEDDED_LIBRARY
|
||||
+#ifdef COMPAT_SYMBOL_VERSIONS
|
||||
+
|
||||
+// Hack to provide both libmysqlclient_16 and libmysqlclient_18 symbol versions
|
||||
+
|
||||
+#define SYM_16(_exportedsym) __asm__(".symver symver16_" #_exportedsym "," #_exportedsym "@libmysqlclient_16")
|
||||
+
|
||||
+void STDCALL symver16_mysql_close(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_close(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_close);
|
||||
+
|
||||
+
|
||||
+uint STDCALL symver16_mysql_errno(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_errno(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_errno);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_error(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_error(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_error);
|
||||
+
|
||||
+
|
||||
+ulong * STDCALL symver16_mysql_fetch_lengths(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_fetch_lengths(res);
|
||||
+}
|
||||
+SYM_16(mysql_fetch_lengths);
|
||||
+
|
||||
+
|
||||
+MYSQL_ROW STDCALL symver16_mysql_fetch_row(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_fetch_row(res);
|
||||
+}
|
||||
+SYM_16(mysql_fetch_row);
|
||||
+
|
||||
+
|
||||
+void STDCALL symver16_mysql_free_result(MYSQL_RES *result)
|
||||
+{
|
||||
+ return mysql_free_result(result);
|
||||
+}
|
||||
+SYM_16(mysql_free_result);
|
||||
+
|
||||
+
|
||||
+ulong STDCALL symver16_mysql_get_server_version(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_get_server_version(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_get_server_version);
|
||||
+
|
||||
+
|
||||
+const char * STDCALL symver16_mysql_get_ssl_cipher(MYSQL *mysql __attribute__((unused)))
|
||||
+{
|
||||
+ return mysql_get_ssl_cipher(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_get_ssl_cipher);
|
||||
+
|
||||
+
|
||||
+MYSQL * STDCALL symver16_mysql_init(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_init(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_init);
|
||||
+
|
||||
+
|
||||
+unsigned int STDCALL symver16_mysql_num_fields(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_num_fields(res);
|
||||
+}
|
||||
+SYM_16(mysql_num_fields);
|
||||
+
|
||||
+
|
||||
+my_ulonglong STDCALL symver16_mysql_num_rows(MYSQL_RES *res)
|
||||
+{
|
||||
+ return mysql_num_rows(res);
|
||||
+}
|
||||
+SYM_16(mysql_num_rows);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_options(MYSQL *mysql,enum mysql_option option, const void *arg)
|
||||
+{
|
||||
+ return mysql_options(mysql, option, arg);
|
||||
+}
|
||||
+SYM_16(mysql_options);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_real_query(MYSQL *mysql, const char *query, ulong length)
|
||||
+{
|
||||
+ return mysql_real_query(mysql, query, length);
|
||||
+}
|
||||
+SYM_16(mysql_real_query);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_select_db(MYSQL *mysql, const char *db)
|
||||
+{
|
||||
+ return mysql_select_db(mysql, db);
|
||||
+}
|
||||
+SYM_16(mysql_select_db);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_send_query(MYSQL* mysql, const char* query, ulong length)
|
||||
+{
|
||||
+ return mysql_send_query(mysql, query, length);
|
||||
+}
|
||||
+SYM_16(mysql_send_query);
|
||||
+
|
||||
+
|
||||
+int STDCALL symver16_mysql_set_character_set(MYSQL *mysql, const char *cs_name)
|
||||
+{
|
||||
+ return mysql_set_character_set(mysql, cs_name);
|
||||
+}
|
||||
+SYM_16(mysql_set_character_set);
|
||||
+
|
||||
+
|
||||
+my_bool STDCALL symver16_mysql_ssl_set(MYSQL *mysql __attribute__((unused)), const char *key __attribute__((unused)), const char *cert __attribute__((unused)), const char *ca __attribute__((unused)), const char *capath __attribute__((unused)), const char *cipher __attribute__((unused)))
|
||||
+{
|
||||
+ return mysql_ssl_set(mysql, key, cert, ca, capath, cipher);
|
||||
+}
|
||||
+SYM_16(mysql_ssl_set);
|
||||
+
|
||||
+
|
||||
+MYSQL_RES * STDCALL symver16_mysql_store_result(MYSQL *mysql)
|
||||
+{
|
||||
+ return mysql_store_result(mysql);
|
||||
+}
|
||||
+SYM_16(mysql_store_result);
|
||||
+
|
||||
+#endif
|
||||
+#endif
|
||||
diff -up mariadb-5.5.34/sql/password.c.p21 mariadb-5.5.34/sql/password.c
|
||||
--- mariadb-5.5.34/sql/password.c.p21 2013-11-20 13:28:54.000000000 +0100
|
||||
+++ mariadb-5.5.34/sql/password.c 2014-01-17 10:23:20.545096501 +0100
|
||||
@@ -536,3 +536,20 @@ void make_password_from_salt(char *to, c
|
||||
*to++= PVERSION41_CHAR;
|
||||
octet2hex(to, (const char*) hash_stage2, SHA1_HASH_SIZE);
|
||||
}
|
||||
+
|
||||
+
|
||||
+#ifndef EMBEDDED_LIBRARY
|
||||
+#ifdef COMPAT_SYMBOL_VERSIONS
|
||||
+
|
||||
+// Hack to provide both libmysqlclient_16 and libmysqlclient_18 symbol versions
|
||||
+
|
||||
+#define SYM_16(_exportedsym) __asm__(".symver symver16_" #_exportedsym "," #_exportedsym "@libmysqlclient_16")
|
||||
+
|
||||
+void symver16_my_make_scrambled_password(char *to, const char *password, size_t pass_len)
|
||||
+{
|
||||
+ my_make_scrambled_password(to, password, pass_len);
|
||||
+}
|
||||
+SYM_16(my_make_scrambled_password);
|
||||
+
|
||||
+#endif
|
||||
+#endif
|
@ -58,7 +58,6 @@ Source999: filter-requires-mysql.sh
|
||||
Patch1: mariadb-errno.patch
|
||||
Patch2: mariadb-strmov.patch
|
||||
Patch3: mariadb-install-test.patch
|
||||
Patch4: mariadb-expired-certs.patch
|
||||
Patch7: mariadb-s390-tsc.patch
|
||||
Patch8: mariadb-logrotate.patch
|
||||
Patch9: mariadb-cipherspec.patch
|
||||
@ -70,7 +69,6 @@ Patch17: mariadb-covscan-signexpr.patch
|
||||
Patch18: mariadb-covscan-stroverflow.patch
|
||||
Patch19: mariadb-config.patch
|
||||
Patch20: mariadb-ssltest.patch
|
||||
Patch21: mariadb-versioning-compat.patch
|
||||
|
||||
BuildRequires: perl, readline-devel, openssl-devel
|
||||
BuildRequires: cmake, ncurses-devel, zlib-devel, libaio-devel
|
||||
@ -260,7 +258,6 @@ MariaDB is a community developed branch of MySQL.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
@ -272,7 +269,6 @@ MariaDB is a community developed branch of MySQL.
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
|
||||
# workaround for upstream bug #56342
|
||||
rm -f mysql-test/t/ssl_8k_key-master.opt
|
||||
|
Loading…
Reference in New Issue
Block a user