2020-05-23 09:58:05 +00:00
|
|
|
// +build nomysql
|
|
|
|
|
|
|
|
package dataprovider
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2020-06-19 15:08:51 +00:00
|
|
|
"github.com/drakkan/sftpgo/version"
|
2020-05-23 09:58:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2020-06-19 15:08:51 +00:00
|
|
|
version.AddFeature("-mysql")
|
2020-05-23 09:58:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func initializeMySQLProvider() error {
|
|
|
|
return errors.New("MySQL disabled at build time")
|
|
|
|
}
|