Skip to content

Commit

Permalink
fix wrongly paste
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Feb 13, 2023
1 parent 2e9da99 commit 79f2d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/lightning/mydump/csv_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (parser *CSVParser) unescapeString(input field) (unescaped string, isNull b
isNull = !parser.cfg.NotNull &&
slices.Contains(parser.cfg.Null, unescaped)
if parser.escFlavor == escapeFlavorMySQLWithNull && unescaped == parser.escapedBy+`N` {
// avoid \\Nbr/pkg/lightning/config/config.g
// avoid \\N
isNull = false
}
}
Expand Down

0 comments on commit 79f2d6b

Please sign in to comment.