2009/03/03
MySQL Connector/C++ 1.0.3 Alpha Released!!
MySQL 의 C++ Connector 가 1.0.3 Alpha 버전이 공개 되었다.
MySQL Connector/C++ 1.0.3 Alpha (03.03.2009)
소스는 프로젝트 페이지에서 다운 받을 수 있다.
MySQL Connector/C++ Webpage
MySQL Connector/C++ 1.0.3 Download
Original Post : http://neodreamer-dev.tistory.com/260
MySQL Connector/C++ 1.0.3 Alpha (03.03.2009)
- Added new tests at test/unit/classes. Those tests are mostly about code coverage. Most of the actual functionality of the driver is tested by the tests found at test/CJUnitPort. (Ulf)
- New data types added to the list returned by DatabaseMetaData::getTypeInfo(): FLOAT UNSIGED, DECIMAL UNSIGNED, DOUBLE UNSIGNED. Those tests may not be in the JDBC specification. However, due to the change you should be able to look up every type and type name returned by, for example, ResultSetMetaData::getColumnTypeName(). (Andrey)
- MySQL_Driver::getPatchVersion introducted. (Andrey)
- Major performance improvements due to new buffered resultset implementation by Andrey. (Ulf)
- Addition of test/unit/README with instructions for writing bug/regression tests. (Ulf)
- Experimental support for STLPort. This feature may be removed again at any time later without prior warning! Check cmake -L for configuration instructions. (Andrey)
- Fixed a bug in MySQL_PreparedResultSet::getString(). Returned string had real data but the length was random. Now, the string is initialized with correct length and thus is binary safe. (Andrey)
- Added properties-enabled (map of key->value) methods for connecting, which add many connect options. (Andrey)
o Driver::connect( map )
o Connection::Connection( map ) - New BLOB implementation. Got rid of sql::Blob in favor of std::istream. C++'s IOStream library is very powerful, similar to PHP's streams. It makes no sense to reinvent the wheel. For example one can pass a std::istringstream object to setBlob() if the data is in memory, or just open a file std::fstream and let it stream to the DB, or write own stream. Similar will be true for getBlob() where we can just copy data, if buffered result set, or stream, if we implement it. (Andrey)
- Implemented ResultSet::getBlob() which returns std::stream. (Andrey)
- Fixed MySQL_DatabaseMetaData::getTablePrivileges() to work correctly. Test cases added in the first unit testing framework. (Andrey)
- Implemented MySQL_Connection::setSessionVariable() for setting variables like sql_mode. (Andrey)
- Implemented MySQL_DatabaseMetaData::getColumnPrivileges(). (Andrey)
- cppconn/datatype.h changed and used again. Reimplemented the type subsystem to be more usable - more types for binary and non-binary strings. (Andrey)
- Implementation for MySQL_DatabaseMetaData::getImportedKeys() for MySQL versions before 5.1.16 using SHOW, and above using INFORMATION_SCHEMA. (Andrey)
- Implemented MySQL_ConnectionMetaData::getProcedureColumns(). (Andrey)
- make package_source packs now with bzip2. (Andrey)
- Re-added getTypeInfo() with information about all types supported by MySQL and the sql::DataType. (Andrey)
- Exchanged the implementation of MySQL_ConstructedResultSet to use more efficient non O(n) but O(1) access method. This should improve the speed with which the metadata result sets are used. Also, there is less copy during the construction of the result set, which means that all result sets returned from the metadata functions will be faster. (Andrey)
- Introduced, internally, sql::mysql::MyVal which has implicit constructors used in mysql_metadata.cpp to create result sets with more native data instead of always string (varchar). (Andrey)
- Renamed ResultSet::getLong() to ResultSet::getInt64(). resultset.h includes typdefs for Windows to be able to use int64_t. (Andrey)
- Introduced ResultSet::getUInt() and ResultSet::getUInt64(). (Andrey)
- Corrected handling of unsigned server types. Now returning correct values (Andrey)
- Fixed handling of numeric columns in ResultSetMetaData::isCaseSensitive to return false. (Andrey)
- Better implementation for ResultSetMetaData::isReadOnly. Values generated from views are read-only. Seems that these generated values don't have `db` in MYSQL_FIELD set, while all normal columns do have. (Andrey)
- Implemented MySQL_DatabaseMetaData::getExportedKeys(). (Andrey)
- Implemented MySQL_DatabaseMetaData::getCrossReference(). (Andrey)
소스는 프로젝트 페이지에서 다운 받을 수 있다.
MySQL Connector/C++ Webpage
MySQL Connector/C++ 1.0.3 Download
Original Post : http://neodreamer-dev.tistory.com/260
Labels:
C++
,
Connector/C++
,
MYSQL
,
TistoryOldPost
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment