@@ -4,90 +4,96 @@ This is a release of MySQL Connector/C++, Oracle's
4
4
dual-license C++ API for connecting client applications
5
5
to MySQL.
6
6
7
- Copyright (c) 2008, 2015 , Oracle and/or its affiliates. All rights reserved.
7
+ Copyright (c) 2008, 2016 , Oracle and/or its affiliates. All rights reserved.
8
8
9
9
--------------------------------------------------------------------------------
10
10
11
11
Dear MySQL Users,
12
12
13
13
A new GA (general availability) version of MySQL Connector/C++ has
14
- been made available: MySQL Connector/C++ 1.1.6 GA. The MySQL
14
+ been made available: MySQL Connector/C++ 1.1.7 GA. The MySQL
15
15
Connector/C++ provides a C++ API for connecting client applications to
16
- the MySQL Server 5.5 or newer. You can download the production release
17
- at:
16
+ the MySQL Server 5.5 or newer.
18
17
19
- http://dev.mysql.com/downloads/connector/cpp/1.1.html
18
+ You can download the production release at:
20
19
21
- The MySQL driver for C++ offers an easy to use API derived from JDBC
22
- 4.0. MySQL Workbench is using it successfully since years.
23
-
24
- The major changes in 1.1.6 are:
20
+ http://dev.mysql.com/downloads/connector/cpp/1.1.html
25
21
26
- Security Notes
22
+ MySQL Connector C++ (Commercial) will be available for download on the
23
+ My Oracle Support (MOS) website. This release will be available on eDelivery
24
+ (OSDC) in next month's upload cycle.
27
25
28
- * Connector/C++ 1.1.6 Commercial upgrades the linked OpenSSL
29
- library to version 1.0.1m which has been publicly reported
30
- as not vulnerable to CVE-2015-0286
31
- (http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0286).
26
+ The MySQL driver for C++ offers an easy to use API derived from JDBC
27
+ 4.0. MySQL Workbench has used it successfully for years.
32
28
33
- Functionality Added or Changed
29
+ We have improved the driver since the last GA release. Please see the
30
+ documentation and the CHANGES file in the source distribution for a
31
+ detailed description of bugs that have been fixed. Bug descriptions are
32
+ also listed below.
34
33
35
- * The std::auto_ptr class template is deprecated in C++11,
36
- and its usage has been replaced with
37
- boost::scoped_ptr/shared_ptr.
38
- The CMAKE_ENABLE_C++11 CMake option has been added to
39
- permit enabling C++11 support. (Bug #75251)
34
+ Enjoy!
40
35
41
- * Connector/C++ now provides macros to indicate the
42
- versions of libraries against which it was built:
43
- MYCPPCONN_STATIC_MYSQL_VERSION and
44
- MYCPPCONN_STATIC_MYSQL_VERSION_ID (MySQL client library
45
- version, string and numeric), and MYCPPCONN_BOOST_VERSION
46
- (Boost library version, numeric). (Bug #75250)
36
+ ======================================================================
37
+
38
+ Changes in MySQL Connector/C++ 1.1.7
39
+
40
+ Configuration Notes
41
+
42
+ * Binary distributions for this release of MySQL
43
+ Connector/C++ were linked against libmysqlclient from
44
+ MySQL 5.7.10, except for OS X 10.8/10.9, for which
45
+ distributions were linked against MySQL 5.7.9. This
46
+ enables Connector/C++ to take advantage of features
47
+ present in recent client library versions. Some examples:
48
+
49
+ + Support for the MySQL JSON data type is available.
50
+ Current versions of MySQL Workbench require JSON
51
+ support, so to build MySQL Workbench 6.3.5 or higher
52
+ from source, it is necessary to use a version of
53
+ Connector/C++ at least as recent as 1.1.7.
54
+
55
+ + Applications will attempt to establish a secure
56
+ (encrypted) connection by default whenever the
57
+ server is enabled to support secure connections, and
58
+ fall back to an unencrypted connection otherwise.
59
+ (This is as described at Configuring MySQL to Use
60
+ Secure Connections
61
+ (http://dev.mysql.com/doc/refman/5.7/en/using-secure
62
+ -connections.html).) To enforce a secure connection,
63
+ such that an error occurs if secure connections are
64
+ not available, applications can enable the
65
+ sslEnforce connection option.
66
+ To build Connector/C++ from source, you must use either a
67
+ General Availability version of MySQL 5.7 (5.7.9 or
68
+ higher) or Connector/C 6.1.8 or higher. Set the MYSQL_DIR
69
+ CMake option appropriately at configuration time as
70
+ necessary. (Bug #22351273)
71
+
72
+ Security Notes
73
+
74
+ * The linked OpenSSL library for Connector/C++ Commercial
75
+ has been updated to version 1.0.1q. Issues fixed in the
76
+ new OpenSSL version are described at
77
+ http://www.openssl.org/news/vulnerabilities.html.
78
+ This change does not affect Oracle-produced MySQL
79
+ Community builds of Connector/C++, which use the yaSSL
80
+ library instead.
81
+
82
+ Spatial Data Support
83
+
84
+ * The required version of the Boost library for
85
+ Connector/C++ builds has been raised to 1.56.0.
47
86
48
87
Bugs Fixed
49
88
50
- * With defaultStatementResultType=FORWARD_ONLY and a row
51
- position after the last row, using getter methods such as
52
- getInt() or getString() resulted in a segmentation fault.
53
- (Bug #20085944)
54
-
55
- * For prepared statements, calling wasNull() before
56
- fetching data resulted in an assertion failure.
57
- (Bug #19938873)
58
-
59
- * Result sets from prepared statements were not freed.
60
- (Bug #18135088)
61
-
62
- * MySQL Connector/C++ failed to build against
63
- Boost-devel-1.41.0-25 on OLE6.
64
- (Bug #75063, Bug #20125824)
65
-
66
- * Configuration failed if the MYSQL_CONFIG_EXECUTABLE
67
- option was specified and the MySQL installation path
68
- contained the characters -m. Installation failed if the
69
- build directory was not in the top source directory.
70
- (Bug #73502, Bug #19447498)
71
-
72
- * For prepared statements, getString() did not return the
73
- fractional seconds part from temporal columns that had a
74
- fractional sections part. (Bug #68523, Bug #17218692)
75
-
76
- * For queries of the form SELECT MAX(bit_col) FROM
77
- table_with_bit_col, getString() returned an incorrect
78
- result. (Bug #66235, Bug #14520822)
79
-
80
- * For Connector/C++ builds from source, make install failed
81
- if only the static library had been built without the
82
- dynamic library. (Bug #52281, Bug #11759926)
83
-
84
- You can find further details, including usages examples, in the
85
- documentation at:
86
-
87
- http://dev.mysql.com/doc/en/connector-cpp.html
89
+ * MySQL_Prepared_ResultSet::relative() failed to fetch the
90
+ record due to a missing proxy->fetch() call. (Bug
91
+ #21152054)
88
92
89
- You may also want to contribute to the MySQL Forum on C/C++ at
90
- http://forums.mysql.com/list.php?167 or join the MySQL Connector/C++
91
- mailing list http://lists.mysql.com/connector-cplusplus .
93
+ * During Connector/C++ builds, the MySQL Server CXXFLAGS
94
+ and CFLAGS values were used rather than the system
95
+ default values. To specify explicitly to use the server
96
+ values, enable the new USE_SERVER_CXXFLAGS CMake option.
97
+ (Bug #77655, Bug #21391025)
92
98
93
99
Enjoy!
0 commit comments