This commit is contained in:
Nuno Cruces
2024-08-12 17:50:23 +01:00
parent e92999bfe3
commit bd141fec92
3 changed files with 13 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ func init() {
func Open(dataSourceName string, fn ...func(*sqlite3.Conn) error) (*sql.DB, error) {
var drv SQLite
if len(fn) > 2 {
return nil, util.ArgErr
return nil, sqlite3.MISUSE
}
if len(fn) > 1 {
drv.term = fn[1]