Skip to content

Commit

Permalink
change createStatement signature
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamL-RG committed Sep 24, 2024
1 parent df72dce commit cd48007
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected ParsedSqlStatement createStatement(PeekingReader reader, Recorder reco
int statementPos, int statementLine, int statementCol,
int nonCommentPartPos, int nonCommentPartLine, int nonCommentPartCol,
StatementType statementType, boolean canExecuteInTransaction,
Delimiter delimiter, String sql, boolean batchable) throws IOException {
Delimiter delimiter, String sql, List<Token> tokens, boolean batchable) throws IOException {
LOG.debug(sql);
if (statementType == DB2Z_CALL_STATEMENT) {
Matcher callMatcher = DB2Z_CALL_WITH_PARMS_REGEX.matcher(sql);
Expand Down Expand Up @@ -108,7 +108,7 @@ protected ParsedSqlStatement createStatement(PeekingReader reader, Recorder reco
LOG.debug("createStatement: DB2Z CALL no parms " + statementType + " " + sql);
return super.createStatement(reader, recorder, statementPos, statementLine, statementCol,
nonCommentPartPos, nonCommentPartLine, nonCommentPartCol,
statementType, canExecuteInTransaction, delimiter, sql, batchable
statementType, canExecuteInTransaction, delimiter, sql, tokens, batchable
);
}

Expand Down

0 comments on commit cd48007

Please sign in to comment.