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

BaseJdbcLogger.removeBreakingWhitespace strips whitespace in inline parameter constants #459

Closed
szgabsz91 opened this issue Aug 8, 2015 · 1 comment

Comments

@szgabsz91
Copy link

If you have whitespace between quotation marks or apostrophes, it gets replaced with one space and thus the logged SQL statement becomes deceptive as it isn't the same that gets executed.

For example during logging

SELECT x FROM y WHERE z = '        ';

will become

SELECT x FROM y WHERE z = ' ';

The method could be modified to use a regular expression that leaves such whitespace intact.

@hazendaz
Copy link
Member

believe this was resolved by #1901

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

No branches or pull requests

2 participants