10bet网址
MySQL Connector/ODBC Release Notes
Related Documentation Download these Release Notes
PDF (US Ltr)- 337.2Kb
PDF (A4)- 337.0Kb


MySQL Connector/ODBC Release Notes/MySQL连接器/ O的变化DBC Version 3.51/ Changes in MySQL Connector/ODBC 3.51.18 (2007-08-08)

MySQL连接器/ O的变化DBC 3.51.18 (2007-08-08)

Platform-Specific Notes

  • hp - ux 11.23 IA64二进制包没有include the GUI bits because of problems building Qt on that platform.

  • There is no binary package for OS X on 64-bit PowerPC because Apple does not currently provide a 64-bit PowerPC version of iODBC.

  • Binary packages for Sun Solaris are now available asPKGpackages.

  • Binary packages as disk images with installers are now available for OS X.

  • A binary package without an installer is available for Microsoft Windows x64 Edition. There are no installer packages for Microsoft Windows x64 Edition.

Functionality Added or Changed

  • Incompatible Change:TheFLAG_DEBUGoption was removed.

  • When connecting to a specific database when using a DSN, the system tables from themysqldatabase are no longer also available. Previously, tables from the mysql database (catalog) were listed asSYSTEM TABLESbySQLTables()even when a different catalog was being queried. (Bug #28662)

  • Installed for OS X has been reinstated. The installer registers the driver at a system (not user) level and makes it possible to create both user and system DSNs using the Connector/ODBC driver. The installer also fixes the situation where the necessary drivers would bge installed local to the user, not globally. (Bug #15326, Bug #10444)

  • Connector/ODBC now supports batched statements. To enable cached statement support, you must switch enable the batched statement option (FLAG_MULTI_STATEMENTS, 67108864, orAllow multiple statementswithin a GUI configuration). Be aware that batched statements create an increased chance of SQL injection attacks and you must ensure that your application protects against this scenario. (Bug #7445)

  • TheSQL_ATTR_ROW_BIND_OFFSET_PTRis now supported for row bind offsets. (Bug #6741)

  • TheTRACEandTRACEFILEDSN options have been removed. Use the ODBC driver manager trace options instead.

Bugs Fixed

  • When using a table with multipleTIMESTAMPcolumns, the finalTIMESTAMPcolumn within the table definition would not be updatable. Note that there is still a limitation in MySQL server regarding multipleTIMESTAMPcolumns. (Bug #30081)

    References: See also: Bug #9927.

  • Fixed an issue where themyodbc3iwould update the user ODBC configuration file (~/Library/ODBC/odbcinst.ini) instead of the system/Library/ODBC/odbcinst.ini. This was caused becausemyodbc3iwas not honoring thesandumodifiers for the-dcommand-line option. (Bug #29964)

  • Getting table metadata (through theSQLColumns()failed, returning a bad table definition to calling applications. (Bug #29888)

  • DATETIMEcolumn types would returnFALSEin place ofSQL_SUCCESSwhen requesting the column type information. (Bug #28657)

  • TheSQL_COLUMN_TYPE,SQL_COLUMN_DISPLAYandSQL_COLUMN_PRECISIONvalues would be returned incorrectly bySQLColumns(),SQLDescribeCol()andSQLColAttribute()when accessing character columns, especially those generated throughconcat(). The lengths returned should now conform to the ODBC specification. TheFLAG_FIELD_LENGTHoption no longer has any affect on the results returned. (Bug #27862)

  • Obtaining the length of a column when using a character set for the connection ofutf8would result in the length being returned incorrectly. (Bug #19345)

  • TheSQLColumns()function could return incorrect information aboutTIMESTAMPcolumns, indicating that the field was not nullable. (Bug #14414)

  • TheSQLColumns()function could return incorrect information aboutAUTO_INCREMENTcolumns, indicating that the field was not nullable. (Bug #14407)

  • A binary package without an installer is available for Microsoft Windows x64 Edition. There are no installer packages for Microsoft Windows x64 Edition.

  • There is no binary package for OS X on 64-bit PowerPC because Apple does not currently provide a 64-bit PowerPC version of iODBC.

  • BIT(n)columns are now treated asSQL_BITdata wheren = 1和二进制数据,n > 1.

  • The wrong value fromSQL_DESC_LITERAL_SUFFIXwas returned for binary fields.

  • TheSQL_DATETIME_SUBcolumn in SQLColumns() was not correctly set for date and time types.

  • The value forSQL_DESC_FIXED_PREC_SCALEwas not returned correctly for values in MySQL 5.0 and later.

  • The wrong value forSQL_DESC_TYPEwas returned for date and time types.

  • SQLConnect()andSQLDriverConnect()were rewritten to eliminate duplicate code and ensure all options were supported using both connection methods.SQLDriverConnect()now only requires the setup library to be present when the call requires it.

  • hp - ux 11.23 IA64二进制包没有include the GUI bits because of problems building Qt on that platform.

  • Binary packages as disk images with installers are now available for OS X.

  • Binary packages for Sun Solaris are now available asPKGpackages.

  • The wrong value forDECIMAL_DIGITSinSQLColumns()was reported forFLOATandDOUBLEfields, as well as the wrong value for the scale parameter toSQLDescribeCol(), and theSQL_DESC_SCALEattribute fromSQLColAttribute().

  • TheSQL_DATA_TYPEcolumn inSQLColumns()results did not report the correct value for date and time types.