ASF Bugzilla – Attachment 23357 Details for
Bug 46821
JDBC select request doesn't store the first column in the variables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposal patch
proposal_patch_46821.txt (text/plain), 962 bytes, created by
Milamber
on 2009-03-08 15:38:19 UTC
(
hide
)
Description:
Proposal patch
Filename:
MIME Type:
Creator:
Milamber
Created:
2009-03-08 15:38:19 UTC
Size:
962 bytes
patch
obsolete
>Index: /Workspaces-JMeter/Jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java >=================================================================== >--- /Workspaces-JMeter/Jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java (revision 751535) >+++ /Workspaces-JMeter/Jmeter/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java (working copy) >@@ -444,8 +444,8 @@ > } else { > sb.append('\t'); > } >- if (jmvars != null && i < varnames.length) { >- String name = varnames[i].trim(); >+ if (jmvars != null && i <= varnames.length) { >+ String name = varnames[i - 1].trim(); > if (name.length()>0){ // Save the value in the variable if present > jmvars.put(name+UNDERSCORE+j, o == null ? null : o.toString()); > } >
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 46821
: 23357