math.Float64bits([f=0..100]) GetTotalRowsCopied returns the accurate number of rows being copied (affected) This is not exactly the same as the rows being iterated via chunks, but potentially close enough
()
| 623 | // GetTotalRowsCopied returns the accurate number of rows being copied (affected) |
| 624 | // This is not exactly the same as the rows being iterated via chunks, but potentially close enough |
| 625 | func (mctx *MigrationContext) GetTotalRowsCopied() int64 { |
| 626 | return atomic.LoadInt64(&mctx.TotalRowsCopied) |
| 627 | } |
| 628 | |
| 629 | func (mctx *MigrationContext) GetIteration() int64 { |
| 630 | return atomic.LoadInt64(&mctx.Iteration) |
no outgoing calls
no test coverage detected