mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 15:50:52 +01:00
234ed603e6
Doesn't buy us much, but makes everything a bit more consistent. Also removes the SQL trace driver, as it is unused and the output is hard to read anyway.
14 lines
189 B
Go
14 lines
189 B
Go
//go:build cgo
|
|
// +build cgo
|
|
|
|
package sqlutil
|
|
|
|
import (
|
|
_ "github.com/mattn/go-sqlite3"
|
|
)
|
|
|
|
const SQLITE_DRIVER_NAME = "sqlite3"
|
|
|
|
func sqliteDSNExtension(dsn string) string {
|
|
return dsn
|
|
}
|