Commit 80bbe1d9 authored by gwenn's avatar gwenn

Set a default busy timeout to make go-sql-test pass.

parent 624e05cd
...@@ -39,6 +39,7 @@ func (d *Driver) Open(name string) (driver.Conn, error) { ...@@ -39,6 +39,7 @@ func (d *Driver) Open(name string) (driver.Conn, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
c.BusyTimeout(500)
return &connImpl{c}, nil return &connImpl{c}, nil
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment