Skip to content

Commit

Permalink
Merge pull request #426 from tejones/teiiddes-2410
Browse files Browse the repository at this point in the history
teiiddes-2410
  • Loading branch information
blafond committed Jan 5, 2015
2 parents e2c45d3 + e37cfbc commit 32c8b9a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,11 @@ public String getSQLStatement(ITeiidXmlFileInfo xmlFileInfo,
if( rootPath != null && rootPath.length() > 0 ) {
xQueryExp = rootPath;
}
sb.append(S_QUOTE).append(xQueryExp).append(S_QUOTE);
//If this is JSON, we already have a starting quote with 'response.
if (!isJson) {
sb.append(S_QUOTE);
}
sb.append(xQueryExp).append(S_QUOTE);

tokens.add(sb.toString());

Expand Down

0 comments on commit 32c8b9a

Please sign in to comment.