From 917bd37518bbc618b85f05b6782d60908cd05d0b Mon Sep 17 00:00:00 2001 From: Alfred Hall Date: Mon, 18 Aug 2014 13:38:24 +0000 Subject: [PATCH] All cols not being reset, causes problems when using the session again after AllCols() Signed-off-by: Alfred Hall --- statement.go | 1 + 1 file changed, 1 insertion(+) diff --git a/statement.go b/statement.go index 332f87cb..e7a253d6 100644 --- a/statement.go +++ b/statement.go @@ -88,6 +88,7 @@ func (statement *Statement) Init() { statement.UseAutoTime = true statement.IsDistinct = false statement.allUseBool = false + statement.useAllCols = false statement.mustColumnMap = make(map[string]bool) statement.checkVersion = true statement.inColumns = make(map[string]*inParam)