[management] disable prepareStmt for sqlite (#3228)

This commit is contained in:
Pascal Fischer
2025-01-22 19:53:20 +01:00
committed by GitHub
parent 8c965434ae
commit 69f48db0a3
5 changed files with 92 additions and 15 deletions

View File

@@ -319,7 +319,7 @@ func NewTestStoreFromSQL(ctx context.Context, filename string, dataDir string) (
}
file := filepath.Join(dataDir, storeStr)
db, err := gorm.Open(sqlite.Open(file), getGormConfig())
db, err := gorm.Open(sqlite.Open(file), getGormConfig(kind))
if err != nil {
return nil, nil, err
}