MySQL 의 C++ Connector 가 1.0.3 Alpha 버전이 공개 되었다.

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

'Dev Story' 카테고리의 다른 글

IDE Fix Pack 2009 2.5 Released!!  (0) 2009.03.05
MySQL Connector/C++ 1.0.3 Alpha Library  (0) 2009.03.04
차기 C++ 표준 C++0x 미리보기  (0) 2009.03.02
SQLite Release 3.6.11  (0) 2009.02.18
국산 블럭 암호 알고리즘 SEED / ARIA  (0) 2009.02.12
Posted by NeoDreamer
:
BLOG main image
사람의 발목을 잡는건 '절망'이 아니라 '체념'이고 앞으로 나아가게 하는건 '희망'이 아니라 '의지'다. - 암스 중에서 - by NeoDreamer

공지사항

카테고리

전체보기 (793)
Life Story (1)
Thinking (2)
Nothing (5)
---------------* (0)
Dev Story (701)
Com. Story (80)
IT Story (1)
---------------+ (0)
Etc (2)

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

Total :
Today : Yesterday :
04-28 03:04