@@ -592,6 +592,7 @@ func buildDatabaseSrcTaskConfigMap(config *models.SrcTaskConfig) map[string]inte
592592 addNotRequiredParamToMap (taskConfigInNomadFormat , config .MysqlSrcTaskConfig .BinlogRelay , "BinlogRelay" )
593593 addNotRequiredParamToMap (taskConfigInNomadFormat , config .MysqlSrcTaskConfig .Gtid , "Gtid" )
594594 addNotRequiredParamToMap (taskConfigInNomadFormat , config .MysqlSrcTaskConfig .ExpandSyntaxSupport , "ExpandSyntaxSupport" )
595+ addNotRequiredParamToMap (taskConfigInNomadFormat , config .MysqlSrcTaskConfig .DumpEntryLimit , "DumpEntryLimit" )
595596 taskConfigInNomadFormat ["ConnectionConfig" ] = buildMysqlConnectionConfigMap (config .ConnectionConfig )
596597 }
597598 // for Oracle
@@ -634,8 +635,8 @@ func buildMysqlTableConfigMap(configs []*models.TableConfig) []map[string]interf
634635 configMap := make (map [string ]interface {})
635636 if len (c .ColumnMapFrom ) != 0 {
636637 configMap ["ColumnMapFrom" ] = c .ColumnMapFrom
637- if len (c .ColumnMapTO ) != 0 {
638- configMap ["ColumnMapTo" ] = c .ColumnMapTO
638+ if len (c .ColumnMapTo ) != 0 {
639+ configMap ["ColumnMapTo" ] = c .ColumnMapTo
639640 }
640641 }
641642 addNotRequiredParamToMap (configMap , c .TableName , "TableName" )
@@ -799,6 +800,7 @@ func buildBasicTaskProfile(logger g.LoggerType, jobId string, srcTaskDetail *mod
799800 BinlogRelay : srcTaskDetail .TaskConfig .MysqlSrcTaskConfig .BinlogRelay ,
800801 WaitOnJob : srcTaskDetail .TaskConfig .MysqlSrcTaskConfig .WaitOnJob ,
801802 AutoGtid : srcTaskDetail .TaskConfig .MysqlSrcTaskConfig .AutoGtid ,
803+ DumpEntryLimit : srcTaskDetail .TaskConfig .MysqlSrcTaskConfig .DumpEntryLimit ,
802804 }
803805 } else if srcTaskDetail .TaskConfig .OracleSrcTaskConfig != nil {
804806 srcConfig .OracleSrcTaskConfig = & models.OracleSrcTaskConfig {
@@ -951,7 +953,7 @@ func buildSrcTaskDetail(taskName string, internalTaskConfig common.DtleTaskConfi
951953 TableRegex : tb .TableRegex ,
952954 TableRename : tb .TableRename ,
953955 ColumnMapFrom : tb .ColumnMapFrom ,
954- ColumnMapTO : tb .ColumnMapTo ,
956+ ColumnMapTo : tb .ColumnMapTo ,
955957 Where : tb .Where ,
956958 })
957959 }
@@ -1000,6 +1002,7 @@ func buildSrcTaskDetail(taskName string, internalTaskConfig common.DtleTaskConfi
10001002 Gtid : internalTaskConfig .Gtid ,
10011003 BinlogRelay : internalTaskConfig .BinlogRelay ,
10021004 WaitOnJob : internalTaskConfig .WaitOnJob ,
1005+ DumpEntryLimit : internalTaskConfig .DumpEntryLimit ,
10031006 }
10041007 }
10051008 srcTaskDetail .TaskConfig .ConnectionConfig = connectionConfig
@@ -1932,6 +1935,7 @@ func ReverseJobV2(c echo.Context, filterJobType DtleJobType) error {
19321935 BinlogRelay : originalJob .BasicTaskProfile .Configuration .SrcConfig .MysqlSrcTaskConfig .BinlogRelay ,
19331936 WaitOnJob : consulJobItem .JobId ,
19341937 AutoGtid : true ,
1938+ DumpEntryLimit : originalJob .BasicTaskProfile .Configuration .SrcConfig .MysqlSrcTaskConfig .DumpEntryLimit ,
19351939 },
19361940 }
19371941 reverseJobParam .DestTask = & models.DestTaskConfig {
0 commit comments