Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make sure {fn now()} jdbc translation is not performed in dollar-quoted strings #512

Merged
merged 1 commit into from Feb 18, 2016

Conversation

vlsi
Copy link
Member

@vlsi vlsi commented Feb 10, 2016

closes #511

@codecov-io
Copy link

Current coverage is 57.53%

Merging #512 into master will increase coverage by +0.02% as of d697e9d

@@            master    #512   diff @@
======================================
  Files          143     143       
  Stmts        15108   15131    +23
  Branches      2961    2966     +5
  Methods          0       0       
======================================
+ Hit           8690    8706    +16
- Partial       1170    1176     +6
- Missed        5248    5249     +1

Review entire Coverage Diff as of d697e9d

Powered by Codecov. Updated on successful CI builds.

private final String[] args;
private final String expected;

public QuotationTest(QuoteStyle quoteStyle, String expected, String expr, String[] args) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is args necessary ? It doesn't appear to be used ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Initially I thought to use it as "bind arguments", then it turned out to be unused.

@vlsi vlsi merged commit 9109451 into pgjdbc:master Feb 18, 2016
@vlsi vlsi deleted the dollar_quotes branch February 19, 2016 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing of $ABC$ ... $ABC$ string literals
3 participants