作者 yangfu

修改starrocks 查询驱动

... ... @@ -4,6 +4,7 @@ import (
"database/sql"
_ "github.com/go-sql-driver/mysql"
"gitlab.fjmaimaimai.com/allied-creation/character-library-metadata-bastion/pkg/constant"
"gitlab.fjmaimaimai.com/allied-creation/character-library-metadata-bastion/pkg/log"
"time"
)
... ... @@ -23,6 +24,7 @@ func InitDBOfficial() error {
}
func ExecOfficial(sql string) error {
log.Logger.Debug(sql)
result, err := DBOfficial.Exec(sql)
if err != nil {
return err
... ...