From: Date: May 29 2008 7:30pm Subject: Connector/J commit: r6785 - trunk/src/com/mysql/jdbc List-Archive: http://lists.mysql.com/commits/47216 Message-Id: <200805291730.m4THUZmd007440@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified: trunk/src/com/mysql/jdbc/ConnectionPropertiesImpl.java trunk/src/com/mysql/jdbc/LocalizedErrorMessages.properties Log: included a Localized Message for the 'mysqlIOFactory' Connection Property Modified: trunk/src/com/mysql/jdbc/ConnectionPropertiesImpl.java =================================================================== --- trunk/src/com/mysql/jdbc/ConnectionPropertiesImpl.java 2008-05-29 02:38:47 UTC (rev 6784) +++ trunk/src/com/mysql/jdbc/ConnectionPropertiesImpl.java 2008-05-29 17:30:35 UTC (rev 6785) @@ -1081,10 +1081,10 @@ Messages.getString("ConnectionProperties.metadataCacheSize"), //$NON-NLS-1$ "3.1.1", PERFORMANCE_CATEGORY, 5); //$NON-NLS-1$ - StringConnectionProperty mysqlIOFactory = new StringConnectionProperty( + private StringConnectionProperty mysqlIOFactory = new StringConnectionProperty( "mysqlIOFactory", //$NON-NLS-1$ MysqlIOprotocol.class.getName(), - Messages.getString("ConnectionProperties.mysqlIOFactory"), //$NON-NLS-1$ + Messages.getString("ConnectionProperties.mysqlIOFactory", new Object[] { MysqlIO.class.getName(), MysqlIOprotocol.class.getName() }), //$NON-NLS-1$ "6.0.0", CONNECTION_AND_AUTH_CATEGORY, Integer.MIN_VALUE); //$NON-NLS-1$ private IntegerConnectionProperty netTimeoutForStreamingResults = new IntegerConnectionProperty( Modified: trunk/src/com/mysql/jdbc/LocalizedErrorMessages.properties =================================================================== --- trunk/src/com/mysql/jdbc/LocalizedErrorMessages.properties 2008-05-29 02:38:47 UTC (rev 6784) +++ trunk/src/com/mysql/jdbc/LocalizedErrorMessages.properties 2008-05-29 17:30:35 UTC (rev 6785) @@ -507,6 +507,7 @@ ConnectionProperties.maxQuerySizeToLog=Controls the maximum length/size of a query that will get logged when profiling or tracing ConnectionProperties.maxReconnects=Maximum number of reconnects to attempt if autoReconnect is true, default is '3'. ConnectionProperties.maxRows=The maximum number of rows to return (0, the default means return all rows). +ConnectionProperties.mysqlIOFactory=The name of the class which implements \"{0}\" for communicating with mysqld. (default is \"{1}\") ConnectionProperties.allVersions=all versions ConnectionProperties.metadataCacheSize=The number of queries to cache ResultSetMetadata for if cacheResultSetMetaData is set to 'true' (default 50) ConnectionProperties.netTimeoutForStreamingResults=What value should the driver automatically set the server setting 'net_write_timeout' to when the streaming result sets feature is in use? (value has unit of seconds, the value '0' means the driver will not try and adjust this value)