Fix copy lock for prepared statement, close #3642, #3607

This commit is contained in:
Jinzhu
2020-10-21 15:47:46 +08:00
parent 33a11767ea
commit bdb30da0a7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
type PreparedStmtDB struct {
Stmts map[string]*sql.Stmt
PreparedSQL []string
Mux sync.RWMutex
Mux *sync.RWMutex
ConnPool
}