ASF Bugzilla – Attachment 20035 Details for
Bug 42018
JDBC Sampler always commits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
set auto-commit configuration parameter at the same level as pool-controller
DataSourceElement.patch (text/plain), 1.12 KB, created by
Rubén Laguna
on 2007-04-24 23:49:00 UTC
(
hide
)
Description:
set auto-commit configuration parameter at the same level as pool-controller
Filename:
MIME Type:
Creator:
Rubén Laguna
Created:
2007-04-24 23:49:00 UTC
Size:
1.12 KB
patch
obsolete
>Index: C:/eclipse/eclipse322workspaces/eclipsercp/jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java >=================================================================== >--- C:/eclipse/eclipse322workspaces/eclipsercp/jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java (revision 532089) >+++ C:/eclipse/eclipse322workspaces/eclipsercp/jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java (working copy) >@@ -152,8 +152,12 @@ > poolController.setAttribute("blocking", "true"); > poolController.setAttribute("timeout", getTimeout()); > poolController.setAttribute("trim-interval", getTrimInterval()); >- poolController.setAttribute("auto-commit", String.valueOf(isAutocommit())); > config.addChild(poolController); >+ DefaultConfiguration autoCommit = new DefaultConfiguration("auto-commit"); >+ autoCommit.setValue(String.valueOf(isAutocommit())); >+ config.addChild(autoCommit); >+ >+// config.setAttribute("auto-commit", String.valueOf(isAutocommit())); > > if (log.isDebugEnabled()) { > StringBuffer sb = new StringBuffer(40);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42018
: 20035 |
20036