//go:build !enterprise
// +build !enterprise

package v1

import (
	e "errors"

	"github.com/actiontech/sqle/sqle/errors"
	"github.com/labstack/echo/v4"
)

var ErrCommunityEditionNotSupportSqlManage = errors.New(errors.EnterpriseEditionFeatures, e.New("sql manage is enterprise version feature"))

func batchUpdateSqlManage(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func sendSqlManage(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getSqlManageRuleTips(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getSqlManageSqlAnalysisV1(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getSqlManageSqlAnalysisChartV1(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getAuditPlanUnsolvedSQLCount(auditPlanId uint) (int64, error) {
	return 0, nil
}

func getGlobalSqlManageList(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getGlobalSqlManageStatistics(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}

func getAbnormalInstanceAuditPlans(c echo.Context) error {
	return ErrCommunityEditionNotSupportSqlManage
}
