mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	refactor: 数据库实例与凭证关联至标签&其他问题修复重构等
This commit is contained in:
		@@ -277,7 +277,7 @@ func (app *dbTransferAppImpl) transferData(ctx context.Context, logId uint64, ta
 | 
			
		||||
	logExtraKey := fmt.Sprintf("`%s` 当前已迁移数据量: ", tableName)
 | 
			
		||||
 | 
			
		||||
	// 游标查询源表数据,并批量插入目标表
 | 
			
		||||
	err = srcConn.WalkTableRows(context.Background(), tableName, func(row map[string]any, columns []*dbi.QueryColumn) error {
 | 
			
		||||
	_, err = srcConn.WalkTableRows(context.Background(), tableName, func(row map[string]any, columns []*dbi.QueryColumn) error {
 | 
			
		||||
		total++
 | 
			
		||||
		rawValue := map[string]any{}
 | 
			
		||||
		for _, column := range columns {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user