grafana/pkg/services/sqlstore
Arve Knudsen 5a0780801b
SQLStore: Close session in withDbSession (#31775)
* SQLStore: Close session in withDbSession

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* SQLStore.WithDbSession: Never use session from context

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-18 14:27:59 +01:00
..
migrations Auth: Allow soft token revocation (#31601) 2021-03-16 17:44:02 +01:00
migrator log skipped, performed and duration for migrations (#31722) 2021-03-07 21:26:29 +01:00
permissions Chore: Start harmonizing linting with plugin SDK (#25854) 2020-06-29 14:08:32 +02:00
searchstore PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
sqlutil Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
alert_notification_test.go Alerting: Log alert warnings for obsolete notifiers when extracting alerts and remove spammy error (#28162) 2020-10-22 14:43:12 +03:00
alert_notification.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
alert_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
alert.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
annotation_cleanup_test.go Bugfix 29848: Remove annotation_tag entries as part of annotations cleanup (#29534) 2020-12-08 19:41:35 +01:00
annotation_cleanup.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
annotation_test.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
annotation.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
apikey_test.go Chore: Fix staticcheck issues (#28860) 2020-11-05 13:07:06 +01:00
apikey.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
dashboard_acl_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_acl.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_folder_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_provisioning_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_provisioning.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_snapshot_test.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard_snapshot.go Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 (#30773) 2021-02-15 09:59:39 +01:00
dashboard_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_version_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_version.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
database_wrapper.go instrumentation: make the first database histogram bucket smaller (#30995) 2021-02-08 19:51:48 +01:00
datasource_test.go Chore: Collect elasticsearch version usage stats (#31787) 2021-03-17 09:14:53 +00:00
datasource.go Chore: Collect elasticsearch version usage stats (#31787) 2021-03-17 09:14:53 +00:00
health_test.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
health.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
logger.go Chore: Update the xorm dependency (#22376) 2020-04-01 15:57:21 +02:00
login_attempt_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
login_attempt.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
org_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
org_users.go chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
org.go Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 (#30773) 2021-02-15 09:59:39 +01:00
playlist_test.go playlist: Improve test (#29120) 2020-11-18 09:16:49 +01:00
playlist.go Chore: Require OrgId to be specified in delete playlist command (#29117) 2020-11-14 09:49:07 +01:00
plugin_setting.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
preferences_test.go Move middleware context handler logic to service (#29605) 2020-12-11 11:44:44 +01:00
preferences.go Move middleware context handler logic to service (#29605) 2020-12-11 11:44:44 +01:00
quota_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
quota.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
session.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
sql_test_data.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
sqlbuilder_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
sqlbuilder.go LibraryPanels: Adds permissions to getAllHandler (#31416) 2021-02-24 14:06:22 +01:00
sqlstore_test.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
sqlstore.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
sqlstore.goconvey feat(invite): small progress 2015-07-17 14:42:49 +02:00
star.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
stars_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
stats_integration_test.go Usage Stats: Remove unused method for getting user stats (#30074) 2021-01-26 14:13:25 +01:00
stats_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
stats.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
tables.go Began work on real sql schema definitions, and migration engine 2015-01-17 21:40:22 +01:00
tags_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
tags.go Chore: Enable Go linter gocritic (#26224) 2020-07-16 14:39:01 +02:00
team_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
team.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
temp_user_test.go Short URL: Cleanup unvisited/stale short URLs (#28867) 2020-11-09 18:08:16 +01:00
temp_user.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
tls_mysql.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
transactions_test.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
transactions.go Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
user_auth_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
user_auth.go Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
user_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
user.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00