All cols not being reset, causes problems when using the session again after AllCols()

Signed-off-by: Alfred Hall <ahall@ahall.org>
This commit is contained in:
Alfred Hall 2014-08-18 13:38:24 +00:00
parent c5a437680d
commit 917bd37518
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ func (statement *Statement) Init() {
statement.UseAutoTime = true statement.UseAutoTime = true
statement.IsDistinct = false statement.IsDistinct = false
statement.allUseBool = false statement.allUseBool = false
statement.useAllCols = false
statement.mustColumnMap = make(map[string]bool) statement.mustColumnMap = make(map[string]bool)
statement.checkVersion = true statement.checkVersion = true
statement.inColumns = make(map[string]*inParam) statement.inColumns = make(map[string]*inParam)