新增非法字段检查

This commit is contained in:
2024-02-06 16:35:20 +08:00
parent d58c9d5177
commit 20cc78c667
3 changed files with 7 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ public partial class MySqlDestination : IDisposable, IAsyncDisposable
// 在这里处理特殊列
#region HandleFields
if (field.Length == 2 && field == @"\N") // MyDumper导出的NULL为'\N''\'不是转义字符)
if (field.Length == 2 && field == ConstVar.MyDumperNull) // MyDumper导出的NULL为'\N''\'不是转义字符)
{
recordSb.Append(ConstVar.Null);
goto Escape;