Files
tasks/common/persistence/sql/sqlplugin
Prathyush PVandGitHub 4dd80da229 Fix sqlite connection closed issue (#6815)
## What changed?
Use an sqlite connection that has ResetSession() and IsValid()
implemented.

## Why?
If these methods are not implemented, sql library will close the
connection when the context is cancelled during a transaction. We will
lose the database if this happens.
IsValid() will always return true in this case. We should always have a
valid database connection, otherwise we would have already lost the
database. Similarly ResetSession() does nothing.

## How did you test it?
Tried to reproduce the issue by cancelling a transaction context.

## Potential risks
None

## Documentation

## Is hotfix candidate?
No
2024-11-14 21:31:03 +00:00
..
2024-08-23 14:48:10 -06:00
2024-08-23 14:48:10 -06:00
2024-08-23 14:48:10 -06:00
2024-05-09 12:17:52 -07:00
2023-02-02 16:06:23 -08:00
2024-08-23 14:48:10 -06:00