Merged
Conversation
# Conflicts: # src/main/java/net/sf/jsqlparser/statement/drop/Drop.java # src/main/java/net/sf/jsqlparser/util/deparser/DropDeParser.java
- Enables `\` as escape character in String Literals (beside SQL:2016 compliant `'`) - Default is OFF (since its not SQL:2016 compliant) - Activate per Parser Feature - Fixes JSQLParser#1638 - Fixes JSQLParser#1209 - Fixes JSQLParser#1173 - Fixes JSQLParser#1172 - Fixes JSQLParser#832 - Fixes JSQLParser#827 - Fixes JSQLParser#578 BREAKING-CHANGE: Backslash Escaping needs to be activated explicitly or else Backslash won't work as Escape Character.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SQL:2016 Standard compliant Unicode characters based on https://www.unicode.org/Public/UNIDATA/UnicodeData.txt and its Categories
Merge
REPLACEintoUPSERTREPLACE OR INSERT ...DROP TEMPORARY TABLE ...feat: Configurable backslash
\escapingEnables
\as escape character in String Literals (beside SQL:2016 compliant')(which even the GitHub Syntax Highlighter fucks up 👍 )
Default is OFF (since its not SQL:2016 compliant)
Activate per Parser Feature
Fixes ESCAPE <expression> must not interpret Escape codes. #1638
Fixes Error while parsing literals with backslash #1209
Fixes Lexical error from backslash in string literal #1173
Fixes <S_CHAR_LITERAL> wrongly matches the chars with ' #1172
Fixes Fail to parse ESCAPE '\' with two Columns Escaped #832
Fixes Escaping a backslash in an insert statement #827
Fixes Parsing issue in LIKE ESCAPE '\' #578
Fixes JSqlParser cannot recognize \' #875