From a62fffcb3fa449db71a2d52f3f641fc849f5ffed Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 13 Jul 2022 13:14:16 -0500 Subject: [PATCH] convert checkColMetadata from a template to a proc --- datastore/sqlite_datastore.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore/sqlite_datastore.nim b/datastore/sqlite_datastore.nim index 75e09d1..2ef54ee 100644 --- a/datastore/sqlite_datastore.nim +++ b/datastore/sqlite_datastore.nim @@ -97,7 +97,7 @@ const ) VALUES (?, ?, ?); """ -template checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) = +proc checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) = let colName = sqlite3_column_origin_name(s, i.cint)