mirror of https://github.com/apache/lucene.git
SOLR-1076 followup -- Fix bug with resolving batchSize
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6610c0489d
commit
67fa0ec527
|
@ -62,7 +62,7 @@ public class JdbcDataSource extends
|
|||
|
||||
String bsz = initProps.getProperty("batchSize");
|
||||
if (bsz != null) {
|
||||
bsz = (String) context.getVariableResolver().resolve(bsz);
|
||||
bsz = (String) context.getVariableResolver().replaceTokens(bsz);
|
||||
try {
|
||||
batchSize = Integer.parseInt(bsz);
|
||||
if (batchSize == -1)
|
||||
|
|
Loading…
Reference in New Issue