forked from mirror/go-sqlite3
fix #362
This commit is contained in:
parent
056f235aa6
commit
5b064f2d05
|
@ -45,8 +45,8 @@ func (c *SQLiteConn) PrepareContext(ctx context.Context, query string) (driver.S
|
||||||
return c.prepare(ctx, query)
|
return c.prepare(ctx, query)
|
||||||
}
|
}
|
||||||
|
|
||||||
// BeginContext implement ConnBeginContext.
|
// BeginTx implement ConnBeginTx.
|
||||||
func (c *SQLiteConn) BeginContext(ctx context.Context) (driver.Tx, error) {
|
func (c *SQLiteConn) BeginTx(ctx context.Context) (driver.Tx, error) {
|
||||||
return c.begin(ctx)
|
return c.begin(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue