diff options
| author | Paul Buetow <paul@buetow.org> | 2021-09-12 19:04:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-02 12:26:29 +0300 |
| commit | 2ebe7e9d63ba62c6f19749c39fe0a577d86ca775 (patch) | |
| tree | 2ae6d11a3cbc82152085a9d7755adef436b3ce46 /internal/clients | |
| parent | 842fd5800000bb68d6306a9ecad80a98ed762a2f (diff) | |
bugfix: dmap skipped the last couple of mapreduce lines
Diffstat (limited to 'internal/clients')
| -rw-r--r-- | internal/clients/maprclient.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/clients/maprclient.go b/internal/clients/maprclient.go index 2cad15d..68352ea 100644 --- a/internal/clients/maprclient.go +++ b/internal/clients/maprclient.go @@ -158,7 +158,8 @@ func (c *MaprClient) reportResults() { func (c *MaprClient) printResults() { var result string var err error - var numRows, rowsLimit int + var numRows int + rowsLimit := -1 if c.query.Limit == -1 { // Limit output to 10 rows when the result is printed to stdout. |
