1
0
mirror of https://github.com/rancher/steve.git synced 2025-06-29 08:17:20 +00:00
steve/pkg/sqlcache/db
Tom Lebreux b4db257cdb
Handle transaction failure due to canceled context.Context (#662)
* Re-order SQL event hooks so events are last

* Add QueryRowContext for single line queries

* Add test case for unknown resource version

* Properly check rows and close it

* More accurate error message when context.Context is canceled

* Re-order test check
2025-06-09 15:39:09 -04:00
..
transaction Handle transaction failure due to canceled context.Context (#662) 2025-06-09 15:39:09 -04:00
client_test.go sql: propagate and use contexts (#465) 2025-02-12 09:46:10 +01:00
client.go Handle transaction failure due to canceled context.Context (#662) 2025-06-09 15:39:09 -04:00
db_mocks_test.go sql: use a closure to wrap transactions (#469) 2025-02-05 10:05:52 +01:00
transaction_mocks_test.go Handle transaction failure due to canceled context.Context (#662) 2025-06-09 15:39:09 -04:00
utility.go Move lasso SQL cache in Steve (#452) 2025-01-17 09:34:48 -05:00