jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1755003 - in /jmeter/trunk: src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java xdocs/changes.xml
Date Tue, 02 Aug 2016 21:07:07 GMT
Author: pmouawad
Date: Tue Aug  2 21:07:07 2016
New Revision: 1755003

URL: http://svn.apache.org/viewvc?rev=1755003&view=rev
Log:
Bug 59113 - JDBC Connection Configuration : Transaction Isolation level not correctly set
if constant used instead of numerical
Bugzilla Id: 59113

Modified:
    jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java?rev=1755003&r1=1755002&r2=1755003&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
(original)
+++ jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
Tue Aug  2 21:07:07 2016
@@ -109,7 +109,7 @@ public class DataSourceElementBeanInfo e
      * <dl>
      * <dt>DEFAULT</dt><dd>-1</dd>
      * <dt>TRANSACTION_NONE</dt><dd>{@value java.sql.Connection#TRANSACTION_NONE}</dd>
-     * <dt>TRANSACTION_REAd_COMMITTED</dt><dd>{@value java.sql.Connection#TRANSACTION_READ_COMMITTED}</dd>
+     * <dt>TRANSACTION_READ_COMMITTED</dt><dd>{@value java.sql.Connection#TRANSACTION_READ_COMMITTED}</dd>
      * <dt>TRANSACTION_READ_UNCOMMITTED</dt><dd>{@value java.sql.Connection#TRANSACTION_READ_UNCOMMITTED}</dd>
      * <dt>TRANSACTION_REPEATABLE_READ</dt><dd>{@value java.sql.Connection#TRANSACTION_REPEATABLE_READ}</dd>
      * <dt>TRANSACTION_SERIALIZABLE</dt><dd>{@value java.sql.Connection#TRANSACTION_SERIALIZABLE}</dd>
@@ -126,6 +126,8 @@ public class DataSourceElementBeanInfo e
                 } catch (NumberFormatException e) {
                     log.warn("Illegal transaction isolation configuration '" + tag + "'");
                 }
+            } else {
+                return isolationMode.intValue();
             }
         }
         return -1;

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1755003&r1=1755002&r2=1755003&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Tue Aug  2 21:07:07 2016
@@ -147,6 +147,7 @@ Summary
 
 <h3>Other Samplers</h3>
 <ul>
+    <li><bug>59113</bug>JDBC Connection Configuration : Transaction Isolation
level not correctly set if constant used instead of numerical</li>
 </ul>
 
 <h3>Controllers</h3>



Mime
View raw message