jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1802688 - in /jmeter/trunk: src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java xdocs/changes.xml
Date Sat, 22 Jul 2017 12:55:58 GMT
Author: pmouawad
Date: Sat Jul 22 12:55:58 2017
New Revision: 1802688

URL: http://svn.apache.org/viewvc?rev=1802688&view=rev
Log:
Bug 61259 - JDBC Request : since JMeter 3.0, when JDBC auto-commit is false, a rollback statement
happens each time a Request is executed
Bugzilla Id: 61259

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

Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java?rev=1802688&r1=1802687&r2=1802688&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
(original)
+++ jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
Sat Jul 22 12:55:58 2017
@@ -221,6 +221,7 @@ public class DataSourceElement extends A
         int poolSize = Integer.parseInt(maxPool);
         dataSource.setMinIdle(0);
         dataSource.setInitialSize(poolSize);
+        dataSource.setEnableAutoCommitOnReturn(false);
         dataSource.setRollbackOnReturn(false);
         dataSource.setMaxIdle(poolSize);
         dataSource.setMaxTotal(poolSize);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1802688&r1=1802687&r2=1802688&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Sat Jul 22 12:55:58 2017
@@ -161,7 +161,7 @@ Summary
 <h3>Other Samplers</h3>
 <ul>
     <li><bug>60889</bug>JMeter JDBC sample calls SELECT USER() when testing
with MySQL JDBC due to Connection#toString call for response headers.</li>
-    <li><bug>61259</bug>JDBC Request : since JMeter 3.0, when JDBC auto-commit
is false, a rollback statement happens each time a Request is executed</li>
+    <li><bug>61259</bug>JDBC Request : since JMeter 3.0, when JDBC auto-commit
is false, a rollback statement happens each time a Request is executed. Partly contributed
by Liu XP (liu_xp2003 at sina.com)</li>
     <li><bug>61319</bug>Fix regression: SMTP Sampler could not send mails,
when no attachements where specified.</li>
 </ul>
 
@@ -220,9 +220,10 @@ Summary
 <p>We thank all contributors mentioned in bug and improvement sections above:
 </p>
 <ul>
-<li>Anass Benomar (abenomar at umanis.com, Mithrandir0407 @ github)</li>
+<li>Anass Benomar (abenomar at umanis.com, Mithrandir0407 at github)</li>
 <li>Anthony Kearns (anthony.kearns atrightside.co)</li>
-<li>Emilian Bold (emi @ apache.org)</li>
+<li>Emilian Bold (emi at apache.org)</li>
+<li>Liu XP (liu_xp2003 at sina.com)</li>
 <li><a href="http://ubikloadpack.com">Ubik Load Pack</a></li>
 </ul>
 <p>We also thank bug reporters who helped us improve JMeter. <br/>



Mime
View raw message