apply security patch: v11.0.x/184-202409301526.patch

commit 52978144184ecdfea4fca8716c8aa194f42bf965
Author: Scott Lepper <scott.lepper@gmail.com>
Date:   Mon Sep 30 11:24:19 2024 -0400

    remove sql expressions 11.0.x
This commit is contained in:
github-actions[bot]
2024-10-01 22:31:22 +00:00
committed by joshhunt
parent 1ee903d794
commit a76fccbb75
3 changed files with 28 additions and 4 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ import (
"time"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/scottlepp/go-duck/duck"
"github.com/grafana/grafana/pkg/expr/mathexp"
"github.com/grafana/grafana/pkg/expr/sql"
@@ -85,7 +84,7 @@ func (gr *SQLCommand) Execute(ctx context.Context, now time.Time, vars mathexp.V
rsp := mathexp.Results{}
duckDB := duck.NewInMemoryDB()
duckDB := sql.NewInMemoryDB()
var frame = &data.Frame{}
err := duckDB.QueryFramesInto(gr.refID, gr.query, allFrames, frame)
if err != nil {