@@ -4,85 +4,90 @@ 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, 2014 , Oracle and/or its affiliates. All rights reserved.
7
+ Copyright (c) 2008, 2015 , Oracle and/or its affiliates. All rights reserved.
8
8
9
9
--------------------------------------------------------------------------------
10
10
11
11
Dear MySQL Users,
12
12
13
- A new GA (general availability) version of MySQL Connector/C++ has been made available: MySQL Connector/C++ 1.1.5 GA. The MySQL Connector/C++ provides a C++ API for
14
- connecting client applications to the MySQL Server 5.5 or newer. You can download the production release at:
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
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:
15
18
16
19
http://dev.mysql.com/downloads/connector/cpp/1.1.html
17
20
18
- The MySQL driver for C++ offers an easy to use API derived from JDBC 4.0. MySQL Workbench is using it successfully since years.
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.
19
23
20
- The major changes in 1.1.5 are:
24
+ The major changes in 1.1.6 are:
21
25
22
- Functionality Added or Changed
26
+ Security Notes
23
27
24
- * MySQL_Prepared_Statement::getMoreResults() functionality
25
- has been implemented, so multiple result sets now can be
26
- fetched using a prepared statement. (Bug #19147677)
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).
27
32
28
- * The following connection options have been implemented:
29
- MYSQL_DEFAULT_AUTH, MYSQL_OPT_CONNECT_ATTR_DELETE,
30
- MYSQL_OPT_CONNECT_ATTR_RESET, MYSQL_OPT_LOCAL_INFILE,
31
- MYSQL_PLUGIN_DIR, MYSQL_READ_DEFAULT_FILE,
32
- MYSQL_READ_DEFAULT_GROUP, MYSQL_SET_CHARSET_DIR, and
33
- max_statement_timeout for session-based query timeout.
34
- (Bug #73665, Bug #19479950)
33
+ Functionality Added or Changed
35
34
36
- * These functions were added: Connection::isValid() checks
37
- whether the connection is alive, and
38
- Connection::reconnect() reconnects if the connection has
39
- gone down. (Bug #65640, Bug #14207722)
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)
40
40
41
- Bugs Fixed
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)
42
47
43
- * Several metadata flaws were corrected:
48
+ Bugs Fixed
44
49
45
- + getTables() did not return a correct result when
46
- TableType=VIEW and metadataUseInfoSchema=false.
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)
47
54
48
- + getColumns() did not return column inforomation when
49
- metadataUseInfoSchema=TRUE.
55
+ * For prepared statements, calling wasNull() before
56
+ fetching data resulted in an assertion failure.
57
+ (Bug #19938873)
50
58
51
- + getColumnName() returned the display name instead of
52
- the actual column name.
59
+ * Result sets from prepared statements were not freed.
60
+ (Bug #18135088)
53
61
54
- + getProcedures() returned a syntax error when
55
- metadataUseInfoSchema=false.
56
- (Bug #19505348, Bug #19147897, Bug #19244736, Bug
57
- #19505421)
62
+ * MySQL Connector/C++ failed to build against
63
+ Boost-devel-1.41.0-25 on OLE6.
64
+ (Bug #75063, Bug #20125824)
58
65
59
- * CMake did not pick up the libmysqlclient path from the
60
- MYSQL_LIB_DIR option. (Bug #19370844)
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)
61
71
62
- * driver/version_info.h (containing version macros) was not
63
- included in the installed header files. (Bug #73795, Bug
64
- #19553971 )
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 )
65
75
66
- * CMake could misconfigure the link flags. (Bug #73427, Bug
67
- #19315635)
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)
68
79
69
- * With the result set type set to TYPE_FORWARD_ONLY,
70
- Statement::executeQuery() returns almost immediately, but
71
- MySQL_ResultSet::next() and
72
- MySQL_Prepared_ResultSet::next() returned false if the
73
- connection was lost rather than throwing an exception,
74
- making it impossible to distinguish loss of connection
75
- from normal end of the result set.
76
- MySQL_ResultSet::next() and
77
- MySQL_Prepared_ResultSet::next() now throw an exception
78
- when the connection is lost. (Bug #69031, Bug #18886278)
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)
79
83
80
- You can find further details, including usages examples, in the documentation at:
84
+ You can find further details, including usages examples, in the
85
+ documentation at:
81
86
82
87
http://dev.mysql.com/doc/en/connector-cpp.html
83
88
84
-
85
- You may also want to contribute to the MySQL Forum on C/C++ at http://forums.mysql.com/list.php?167 or join the MySQL Connector/C++ mailing list
86
- http://lists.mysql.com/connector-cplusplus .
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 .
87
92
88
93
Enjoy!
0 commit comments