grafana/pkg/tsdb/mysql
Marcus Efraimsson 3de693af49
MySQL: Limit datasource error details returned from the backend (#19373)
Only return certain mysql errors from backend.
The following errors is returned as is from backend:
error code 1064 (parse error)
error code 1054 (bad column/field selected)
error code 1146 (table not exists)
Any other errors is logged and returned as a generic
error.
Restrict use of certain functions:
Do not allow usage of the following in query:
system_user()
session_user()
current_user() or current_user
user()
show grants

Fixes #19360
2019-09-24 20:50:49 +02:00
..
macros_test.go MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
macros.go MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00
mysql_test.go Refactor: Move sql_engine to sub package of tsdb (#18991) 2019-09-10 15:50:04 -04:00
mysql.go MySQL: Limit datasource error details returned from the backend (#19373) 2019-09-24 20:50:49 +02:00