From e2635e8cf92ab68ec2c9a693ba0643290770a6b2 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 13 May 2021 10:09:51 +0100 Subject: [PATCH] Fix bug with record id parsing --- sql/ast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/ast.go b/sql/ast.go index 21a7ea50..009ddca1 100644 --- a/sql/ast.go +++ b/sql/ast.go @@ -674,7 +674,7 @@ type Thing struct { func ParseThing(val string) *Thing { r := strings.NewReader(val) s := newScanner(r) - if t, _, v := s.scanThing(); t == THING { + if t, _, v := s.scanIdiom(); t == THING { return v.(*Thing) } return nil