mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sqlparser
This commit is contained in:
@@ -592,7 +592,7 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
|
||||
|
||||
String text = x.getText();
|
||||
text = text.replaceAll("'", "''");
|
||||
text = text.replaceAll("\\\\", "\\\\");
|
||||
text = text.replace("\\", "\\\\");
|
||||
|
||||
print(text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user