mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 06:52:13 +08:00
Chore: remove xorm from preference (#53803)
* Chore: remove xorm from preference * separte feature toggle * fix comments * fix comments * remove the dublicated namedexec
This commit is contained in:
@ -299,6 +299,10 @@ func (ss *SQLStore) buildConnectionString() (string, error) {
|
||||
cnnstr += "&sql_mode='ANSI_QUOTES'"
|
||||
}
|
||||
|
||||
if ss.Cfg.IsFeatureToggleEnabled("newDBLibrary") {
|
||||
cnnstr += "&parseTime=true"
|
||||
}
|
||||
|
||||
cnnstr += ss.buildExtraConnectionString('&')
|
||||
case migrator.Postgres:
|
||||
addr, err := util.SplitHostPortDefault(ss.dbCfg.Host, "127.0.0.1", "5432")
|
||||
|
Reference in New Issue
Block a user