mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-21 19:39:04 -05:00
go/store/datas/pull: puller.go: Avoid writing empty table files.
This commit is contained in:
@@ -411,7 +411,7 @@ func (p *Puller) Pull(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
if p.wr != nil {
|
||||
if p.wr != nil && p.wr.Size() > 0 {
|
||||
select {
|
||||
case completedTables <- FilledWriters{p.wr}:
|
||||
case <-ctx.Done():
|
||||
|
||||
Reference in New Issue
Block a user