|
@@ -80,8 +80,6 @@ func parseDSN(dsn string) (cfg *config, err error) {
|
|
|
collation: defaultCollation,
|
|
collation: defaultCollation,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- // TODO: use strings.IndexByte when we can depend on Go 1.2
|
|
|
|
|
-
|
|
|
|
|
// [user[:password]@][net[(addr)]]/dbname[?param1=value1¶mN=valueN]
|
|
// [user[:password]@][net[(addr)]]/dbname[?param1=value1¶mN=valueN]
|
|
|
// Find the last '/' (since the password or the net addr might contain a '/')
|
|
// Find the last '/' (since the password or the net addr might contain a '/')
|
|
|
foundSlash := false
|
|
foundSlash := false
|