commit mysql-connector-cpp for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package mysql-connector-cpp for openSUSE:Factory checked in at Wed Jul 29 00:52:41 CEST 2009. -------- --- mysql-connector-cpp/mysql-connector-cpp.changes 2009-05-18 14:07:49.000000000 +0200 +++ mysql-connector-cpp/mysql-connector-cpp.changes 2009-07-28 15:42:43.000000000 +0200 @@ -1,0 +2,41 @@ +Tue Jul 28 13:39:59 CEST 2009 - mhrusecky@suse.cz + +- Better description (bnc#522682) + +------------------------------------------------------------------- +Thu May 21 17:37:01 CEST 2009 - mhrusecky@suse.cz + +- updated to version 1.0.5 + * Changed the interface of sql::ConnectionMetaData, sql::ResultSetMetaData + and sql::ParameterMetaData to have a protected destructor. In this way the + client code doesn't need, and won't be able, to destruct the metadata + objects returned by the connector. The connector will handle their + destruction. This enables statements like : + connection->getMetaData->getSchema(); without the result of leaking memory + because we lost the pointer returned by getMetaData(). (Lawrin, Andrey) + * Large overhaul of the code to improve the memory management to not leak in + exceptional situations. Big improvement compared to Beta1. (Andrey) + * Fixed the interface of sql::Driver and sql::Connection so they accept the + options map by alias instead of by value. (Andrey) + * Changed the return type of sql::SQLException::getSQLState() from + std::string to const char * to be consistent with std::exception::what(). + (Andrey) + * Implemented getResultSetType() and setResultSetType() for Statement. Used + are TYPE_FORWARD_ONLY, which means unbuffered result set and + TYPE_SCROLL_INSENSITIVE, which means buffered result set. (Andrey) + * Implemented getResultSetType() for PreparedStatement. The setter is not + implemented because currently PreparedStatement can't do refetching and + storing the result means the bind buffers will be correct. (Andrey) + * Added "defaultStatementResultType" to MySQL_Connection::setClientOption() + as an option. Also the method now returns `sql::Connection *`. (Andrey) + * Added Result::getType() and implemented it in the three result set classes. + (Andrey) + * Enabled tracing functionality when building with VC8 and up (VS2005 and + up). (Andrey) + * Added better support for named pipes, on Windows. Use pipe:// and add the + path to the pipe. Shared memory connections are currently not supported. + (Andrey) + * Fixed a bug in MySQL_Connection::setSessionVariable() which led to + exception being thrown. (Andrey) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- mysql-connector-c++-1.0.4-beta.tar.bz2 mysql-connector-cpp-1.0.4-beta-gcc44.patch New: ---- mysql-connector-c++-1.0.5.tar.bz2 mysql-connector-cpp-1.0.5-gcc44.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mysql-connector-cpp.spec ++++++ --- /var/tmp/diff_new_pack.rtpxqO/_old 2009-07-29 00:48:29.000000000 +0200 +++ /var/tmp/diff_new_pack.rtpxqO/_new 2009-07-29 00:48:29.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package mysql-connector-cpp (Version 1.0.4) +# spec file for package mysql-connector-cpp (Version 1.0.5) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,82 +20,88 @@ Name: mysql-connector-cpp Summary: MySQL Connector/C++: Standardized database driver for C++ development -Version: 1.0.4 -Release: 2 -Group: Development/Libraries/C and C++ -License: GPL v2 or later -Url: http://dev.mysql.com/downloads/connector/cpp -# http://dev.mysql.com/get/Downloads/Connector-C%2B%2B/mysql-connector-c%2B%2B-%{version}-beta.tar.gz -Source: mysql-connector-c++-%{version}-beta.tar.bz2 +Version: 1.0.5 +Release: 1 +Group: Development/Libraries +License: GPL +Url: http://dev.mysql.com/downloads/connector/ +# http://dev.mysql.com/get/Downloads/Connector-C%2B%2B/mysql-connector-c%2B%2B-%{version}.tar.gz +Source: mysql-connector-c++-%{version}.tar.bz2 # PATCH-SUSE-INTEGRATION - mysql-connector-cpp-1.0.4-beta-cmake-paths-fix.patch [] mhrusecky@suse.cz -- adjust some default paths Patch0: mysql-connector-cpp-1.0.4-beta-cmake-paths-fix.patch # PATCH-UPSTREAM-FIX - mysql-connector-cpp-1.0.4-beta-gcc44.patch [ upstream#44931 ] mhrusecky@suse.cz -- adding missing includes # http://bugs.mysql.com/44931 -Patch1: mysql-connector-cpp-1.0.4-beta-gcc44.patch +Patch1: mysql-connector-cpp-1.0.5-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake gcc-c++ libmysqlclient-devel %description -MySQL offers standard database driver connectivity for using MySQL with -applications and tools that are compatible with industry standards ODBC -and JDBC. This enables MySQL to work easily with standard development -tools on Windows, Linux, Macintosh and Unix platforms. Any system that -works with ODBC or JDBC can use MySQL. - -This package contains Connector/C++: Standardized database driver for -C++ development. - - - -Authors: --------- - Sun Microsystems Inc. +MySQL Connector/C++ is a MySQL database connector for C++ development. The +MySQL driver for C++ can be used to connect to MySQL from C++ applications. The +driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. + +The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its +full functionality is not available when connecting to MySQL 5.0. You cannot +connect to MySQL 4.1 or earlier. + +Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library) +offers the following advantages for C++ users: + + * Convenience of pure C++ - no C function calls + * Support of a well designed API - JDBC 4.0 + * Support of a commonly known and well documented API - JDBC 4.0 + * Support of the object oriented programming paradigma + * Shorter development times %package -n libmysqlcppconn-devel -License: GPL v2 or later +License: GPL Requires: libmysqlcppconn1 = %{version} Group: Development/Libraries/C and C++ -Summary: MySQL Connector/C++: Standardized database driver for C++ development +Summary: Development files for MySQL Connector/C++ %description -n libmysqlcppconn-devel -MySQL offers standard database driver connectivity for using MySQL with -applications and tools that are compatible with industry standards ODBC -and JDBC. This enables MySQL to work easily with standard development -tools on Windows, Linux, Macintosh and Unix platforms. Any system that -works with ODBC or JDBC can use MySQL. - -This package contains Connector/C++: Standardized database driver for -C++ development. - - - -Authors: --------- - Sun Microsystems Inc. +MySQL Connector/C++ is a MySQL database connector for C++ development. The +MySQL driver for C++ can be used to connect to MySQL from C++ applications. The +driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. + +The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its +full functionality is not available when connecting to MySQL 5.0. You cannot +connect to MySQL 4.1 or earlier. + +Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library) +offers the following advantages for C++ users: + + * Convenience of pure C++ - no C function calls + * Support of a well designed API - JDBC 4.0 + * Support of a commonly known and well documented API - JDBC 4.0 + * Support of the object oriented programming paradigma + * Shorter development times %package -n libmysqlcppconn1 -License: GPL v2 or later +License: GPL Group: Development/Libraries/C and C++ Summary: MySQL Connector/C++: Standardized database driver for C++ development %description -n libmysqlcppconn1 -MySQL offers standard database driver connectivity for using MySQL with -applications and tools that are compatible with industry standards ODBC -and JDBC. This enables MySQL to work easily with standard development -tools on Windows, Linux, Macintosh and Unix platforms. Any system that -works with ODBC or JDBC can use MySQL. - -This package contains Connector/C++: Standardized database driver for -C++ development. - - - -Authors: --------- - Sun Microsystems Inc. +MySQL Connector/C++ is a MySQL database connector for C++ development. The +MySQL driver for C++ can be used to connect to MySQL from C++ applications. The +driver mimics the JDBC 4.0 API. It implements a significant subset of JDBC 4.0. + +The Driver for C++ is designed to work best with MySQL 5.1 or later. Note - its +full functionality is not available when connecting to MySQL 5.0. You cannot +connect to MySQL 4.1 or earlier. + +Using MySQL Connector/C++ instead of the MySQL C API (MySQL Client Library) +offers the following advantages for C++ users: + + * Convenience of pure C++ - no C function calls + * Support of a well designed API - JDBC 4.0 + * Support of a commonly known and well documented API - JDBC 4.0 + * Support of the object oriented programming paradigma + * Shorter development times %prep -%setup -n mysql-connector-c++-%{version}-beta +%setup -n mysql-connector-c++-%{version} %patch0 -p1 %patch1 @@ -106,6 +112,7 @@ %install %makeinstall rm -f %{buildroot}%{_libdir}/libmysqlcppconn-static.a +rm -f %{buildroot}/usr/[A-Z]* %clean rm -rf %{buildroot} @@ -116,7 +123,7 @@ %files -n libmysqlcppconn-devel %defattr(-,root,root) -%doc README +%doc README ANNOUNCEMENT COPYING CHANGES /usr/include/mysql-connector %{_libdir}/*.so ++++++ mysql-connector-c++-1.0.4-beta.tar.bz2 -> mysql-connector-c++-1.0.5.tar.bz2 ++++++ ++++ 25304 lines of diff (skipped) ++++++ mysql-connector-cpp-1.0.4-beta-gcc44.patch -> mysql-connector-cpp-1.0.5-gcc44.patch ++++++ --- mysql-connector-cpp/mysql-connector-cpp-1.0.4-beta-gcc44.patch 2009-05-18 14:07:47.000000000 +0200 +++ mysql-connector-cpp/mysql-connector-cpp-1.0.5-gcc44.patch 2009-05-21 17:36:46.000000000 +0200 @@ -10,18 +10,18 @@ #include <math.h> -Index: driver/mysql_prepared_statement.cpp +Index: driver/mysql_resultbind.cpp =================================================================== ---- driver/mysql_prepared_statement.cpp.orig -+++ driver/mysql_prepared_statement.cpp -@@ -10,6 +10,7 @@ - */ +--- driver/mysql_resultbind.cpp.orig ++++ driver/mysql_resultbind.cpp +@@ -14,6 +14,7 @@ + #include "mysql_resultbind.h" + #include <string.h> - #include <stdlib.h> +#include <stdio.h> - #include <memory> - #include <iostream> - #include <sstream> + + namespace sql + { Index: test/unit/classes/resultsetmetadata.cpp =================================================================== --- test/unit/classes/resultsetmetadata.cpp.orig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de