forked from mirror/go-sqlite3
parent
ca65b399cb
commit
283f0f8809
|
@ -767,6 +767,7 @@ func (cfg *Config) createConnection() (driver.Conn, error) {
|
|||
|
||||
// Create basic connection
|
||||
conn := &SQLiteConn{
|
||||
cfg: cfg,
|
||||
db: db,
|
||||
tz: cfg.TimeZone,
|
||||
txlock: cfg.TransactionLock.Value(),
|
||||
|
|
|
@ -37,6 +37,7 @@ var (
|
|||
|
||||
// SQLiteConn implement sql.Conn.
|
||||
type SQLiteConn struct {
|
||||
cfg *Config
|
||||
mu sync.Mutex
|
||||
db *C.sqlite3
|
||||
tz *time.Location
|
||||
|
|
Loading…
Reference in New Issue