SQL: Fix 32 bit arm builds (#113270)
* add arm specific frame_db_conf * use proper field type and fix error * add extra mising func
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//go:build arm
|
||||
|
||||
package sql
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
mysql "github.com/dolthub/go-mysql-server/sql"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/data"
|
||||
)
|
||||
|
||||
// TODO: Implement for 32-bit arm
|
||||
func MySQLColToFieldType(col *mysql.Column) (data.FieldType, error) {
|
||||
return data.FieldTypeUnknown, errors.New("arm not implemented")
|
||||
}
|
||||
|
||||
func SchemaFromFrame(frame *data.Frame) mysql.Schema {
|
||||
return mysql.Schema{}
|
||||
}
|
||||
Reference in New Issue
Block a user