Skip to content

Commit 8ae751b

Browse files
LordofAvernusffffwh
authored and
ffffwh
committed
fix : oracle special character sync error
1 parent 71510a1 commit 8ae751b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/mysql/mysql/oracle/extractor/sql_parse.go

-2
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ const (
147147
var CONCATENATIONPATTERN = "\\|\\|"
148148

149149
func columnsValueConverter(value string) interface{} {
150-
value = strings.TrimLeft(strings.TrimRight(value, "'"), "'")
151150
value = strings.ReplaceAll(value, `\\`, `\`)
152-
// value = value[1 : len(value)-1]
153151
switch {
154152
case value == "":
155153
return nil

0 commit comments

Comments
 (0)