From d02cb10687ef2a9c6b65c64971b432e15514c494 Mon Sep 17 00:00:00 2001 From: Travis Date: Tue, 1 Sep 2020 17:34:29 -0500 Subject: [PATCH] return *Row instead of Row on empty key result --- executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor.go b/executor.go index 036d1572d..f5fc4fa2c 100644 --- a/executor.go +++ b/executor.go @@ -90,7 +90,7 @@ func emptyResult(c *pql.Call) interface{} { return false case "Row": - return Row{Keys: []string{}} + return &Row{Keys: []string{}} case "Rows": return RowIdentifiers{Keys: []string{}}