| 6800 30.07.2008 16:53:03, by mmatthews:
Merged revisions 6750-6754,6756-6758,6760,6762-6772,6774-6778,6787-6788,6793-6799 via svnmerge from svn+ssh://mmatthews@bk-internal.mysql.com/connectors-svnroot/connector-j/branches/branch_5_1
........ r6750 | mmatthews | 2008-02-27 22:05:18 -0600 (Wed, 27 Feb 2008) | 8 lines The ConnectionLifecycleInterceptor interface now has callback methods for transaction initiation (transactionBegun()), and completion (transactionCompleted()), as reported by the *server* (i.e. calling Connection.setAutoCommit(false) will not trigger transactionBegun() being called, however the first statement which causes a transaction to start on the server will cause transactionBegun() to be called *after* the statement has been processed on the server). ........ r6751 | mmatthews | 2008-02-27 23:34:19 -0600 (Wed, 27 Feb 2008) | 3 lines Fixed Bug#34913 - ResultSet.getTimestamp() returns incorrect values for month/day of TIMESTAMPs when using server-side prepared statements (not enabled by default). ........ r6752 | mmatthews | 2008-02-28 12:26:22 -0600 (Thu, 28 Feb 2008) | 1 line I18N updates/fixes. ........ r6753 | mmatthews | 2008-02-28 21:39:49 -0600 (Thu, 28 Feb 2008) | 7 lines Fixed BUG#34937 - MysqlConnectionPoolDataSource does not support ReplicationConnection. Notice that we implemented com.mysql.jdbc.Connection for ReplicationConnection, however, only accessors from ConnectionProperties are implemented (not the mutators), and they return values from the currently active connection. All other methods from com.mysql.jdbc.Connection are implemented, and operate on the currently active connection, with the exception of resetServerState() and changeUser(). ........ r6754 | mmatthews | 2008-02-29 00:53:22 -0600 (Fri, 29 Feb 2008) | 7 lines Fixed BUG#34937 - MysqlConnectionPoolDataSource does not support ReplicationConnection. Notice that we implemented com.mysql.jdbc.Connection for ReplicationConnection, however, only accessors from ConnectionProperties are implemented (not the mutators), and they return values from the currently active connection. All other methods from com.mysql.jdbc.Connection are implemented, and operate on the currently active connection, with the exception of resetServerState() and changeUser(). ........ r6756 | mmatthews | 2008-03-03 15:27:51 -0600 (Mon, 03 Mar 2008) | 1 line Complete the fix for BUG#34937 (next time have someone review the testcase, to make sure you don't do something dumb and not create the right *type* of connection in the first place). ........ r6757 | mmatthews | 2008-03-05 08:45:05 -0600 (Wed, 05 Mar 2008) | 7 lines Connections created with jdbc:mysql:replication:// URLs now force roundRobinLoadBalance=true on the slaves, and round-robin loadbalancing now uses a "random" choice to more evenly distribute load across slave servers, especially in connection pools. Connections that are configured with "roundRobinLoadBalance=true" no longer set the failover state, as it's assumed that we're not attempting to fall-back to a master server. This fixes BUG#34963. ........ r6758 | mmatthews | 2008-03-05 09:00:59 -0600 (Wed, 05 Mar 2008) | 1 line Stack overflow w/ NotImplemented when not running JDBC4. ........ r6760 | mmatthews | 2008-03-06 12:21:53 -0600 (Thu, 06 Mar 2008) | 1 line Release date added, version incremented. ........ r6762 | mmatthews | 2008-03-13 13:46:04 -0500 (Thu, 13 Mar 2008) | 2 lines Fixed BUG#35170- ResultSet.isAfterLast() doesn't work with for streaming result sets. ........ r6763 | mmatthews | 2008-03-19 10:44:36 -0500 (Wed, 19 Mar 2008) | 1 line Fixed BUG#35199 - Parse error for metadata in stored function. ........ r6764 | mmatthews | 2008-03-25 05:49:44 -0500 (Tue, 25 Mar 2008) | 4 lines Fixed BUG#35415 - When result set is from views without access to underlying columns and is opened with CONCUR_UPDATABLE, don't throw SQLExceptions when checking updatability due to access permissions, instead return CONCUR_READONLY from getConcurrency. ........ r6765 | mmatthews | 2008-03-31 09:45:34 -0500 (Mon, 31 Mar 2008) | 1 line Committing non-working testcase. ........ r6766 | mmatthews | 2008-03-31 09:56:21 -0500 (Mon, 31 Mar 2008) | 2 lines Fixed BUG#35666 - NullPointerException when using "logSlowQueries=true" with server-side prepared statements enabled. ........ r6767 | mmatthews | 2008-03-31 10:27:25 -0500 (Mon, 31 Mar 2008) | 9 lines Fixed BUG#35660 - Calling equals() on connections created with "jdbc:mysql:loadbalance:" URLs did not have the same behavior as "plain" connections. The behavior we use is the implementation in java.lang.Object, load-balanced connections just happened to be using a java.lang.reflect.Proxy which required some custom behavior in equals() to make it work the same as "plain" connections. Note that there is no *specified* equals contract for JDBC connections in the JDBC specification itself, but the test makes sure that our implementation is at least consistent. ........ r6768 | mmatthews | 2008-04-03 13:03:10 -0500 (Thu, 03 Apr 2008) | 1 line Not enough field elements for a stored function call. ........ r6769 | mmatthews | 2008-04-03 15:28:35 -0500 (Thu, 03 Apr 2008) | 3 lines Fixed BUG#35810 - Properties set in URLs and then passed to DataSources via setUrl() did not take effect in certain circumstances. This also fixes related bugs BUG#13261 and BUG#35753. ........ r6770 | mmatthews | 2008-04-14 19:23:33 -0500 (Mon, 14 Apr 2008) | 2 lines Fixed BUG#36051 - ResultSet.getTime() won't accept value of '24' for hours component of a java.sql.Time. ........ r6771 | eherman | 2008-04-18 20:13:36 -0500 (Fri, 18 Apr 2008) | 1 line should build verbose messege if NOT paranoid() ........ r6772 | mmatthews | 2008-05-20 16:10:40 -0500 (Tue, 20 May 2008) | 2 lines Fixed BUG#36830 - DBMD.getColumns() doesn't return correct COLUMN_SIZE for SET columns. The logic wasn't accounting for the ","s in the column size. ........ r6774 | mmatthews | 2008-05-27 09:28:41 -0500 (Tue, 27 May 2008) | 1 line Fix for BUG 36948, needs testcase. ........ r6775 | mmatthews | 2008-05-28 09:53:25 -0500 (Wed, 28 May 2008) | 12 lines Fixed BUG#35610, BUG#35150- ResultSet.findColumn() and ResultSet.get...(String) doesn't allow column names to be used, and isn't congruent with ResultSetMetadata.getColumnName(). By default, we follow the JDBC Specification here, in that the 4.0 behavior is correct. Calling programs should use ResultSetMetaData.getColumnLabel() to dynamically determine the correct "name" to pass to ResultSet.findColumn() or ResultSet.get...(String) whether or not the query specifies an alias via "AS" for the column. ResultSetMetaData.getColumnName() will return the actual name of the column, if it exists, and this name can *not* be used as input to ResultSet.findColumn() or ResultSet.get...(String). The JDBC-3.0 (and earlier) specification has a bug, but you can get the buggy behavior (allowing column names *and* labels to be used for ResultSet.findColumn() and get...(String)) by setting "useColumnNamesInFindColumn" to "true". ........ r6776 | mmatthews | 2008-05-28 10:24:59 -0500 (Wed, 28 May 2008) | 1 line Lifecycle of StatementInterceptors should be scoped by connections, not physical i/o to the server. ........ r6777 | mmatthews | 2008-05-28 10:25:56 -0500 (Wed, 28 May 2008) | 1 line Make asSql() work with stored functions. ........ r6778 | mmatthews | 2008-05-28 10:33:28 -0500 (Wed, 28 May 2008) | 1 line Missed test case for 35170. ........ r6787 | mmatthews | 2008-06-03 10:44:40 -0500 (Tue, 03 Jun 2008) | 1 line Entire dev team is on Mac now, use default paths for Java6 compilation appropriate to that environment. ........ r6788 | mmatthews | 2008-06-22 08:08:48 -0500 (Sun, 22 Jun 2008) | 1 line Last packet received/sent is reported by the driver in millis, not seconds. ........ r6793 | mmatthews | 2008-07-16 09:59:08 -0500 (Wed, 16 Jul 2008) | 1 line Fixed BUG#35489 - Prepared statements from pooled connections cause NPE when closed() under JDBC-4.0. ........ r6794 | mmatthews | 2008-07-16 10:09:38 -0500 (Wed, 16 Jul 2008) | 3 lines Added useLocalTransactionState connection property - Should the driver use the in-transaction state provided by the MySQL protocol to determine if a commit() or rollback() should actually be sent to the database? Fixups for statement interceptors being "owned" by their connection. ........ r6795 | mmatthews | 2008-07-16 10:11:10 -0500 (Wed, 16 Jul 2008) | 1 line Don't continue a batch inside a transaction if it has been rolled back due to deadlock (because a new transaction will start). ........ r6796 | mmatthews | 2008-07-16 10:14:13 -0500 (Wed, 16 Jul 2008) | 1 line Documenting change of "useLocalTransactionState" ........ r6797 | mmatthews | 2008-07-17 16:00:18 -0500 (Thu, 17 Jul 2008) | 1 line Handle object identifier case sensitivity for mysql on HFS+ (backported from trunk). ........ r6798 | mmatthews | 2008-07-22 14:01:05 -0500 (Tue, 22 Jul 2008) | 1 line Use socket timeouts for JDBC-4.0's Connection.isValid(int timeout) instead of timer tasks, for scalability. As a side effect internally, any communications with the database can use a timeout different than the configured timeout, but this isn't currently used. ........ r6799 | mmatthews | 2008-07-23 17:02:34 -0500 (Wed, 23 Jul 2008) | 1 line The number and position of columns for "SHOW INNODB STATUS" changed in MySQL-5.1, which caused the "includeInnodbStatusInDeadlockExceptions" feature to not show data about the deadlock. ........ |