fix MySQL provider initialization

this not caused any issue since the queries are basically the same
This commit is contained in:
Nicola Murino 2019-07-28 23:47:57 +02:00
parent 0bed768909
commit 645c4b4fa2

View file

@ -100,7 +100,7 @@ func Initialize(cnf Config, basePath string) error {
provider = PGSQLProvider{}
return initializePGSQLProvider()
} else if config.Driver == MySQLDataProviderName {
provider = SQLiteProvider{}
provider = MySQLProvider{}
return initializeMySQLProvider()
}
return fmt.Errorf("Unsupported data provider: %v", config.Driver)