Merge pull request #158 from ahall/master

All cols not being reset, causes problems when using the session again a...
This commit is contained in:
Lunny Xiao 2014-08-18 23:14:27 +08:00
commit a5eef1b878
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)