- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestPreparedStmtDeadlock (0.09 seconds)
-
tests/prepared_stmt_test.go
// If it is not 0, it means the statements in the cache have not expired as expected. AssertEqual(t, len(conn.Stmts.Keys()), 0) } func TestPreparedStmtDeadlock(t *testing.T) { tx, err := OpenTestConnection(&gorm.Config{}) AssertEqual(t, err, nil) sqlDB, _ := tx.DB() sqlDB.SetMaxOpenConns(1) tx = tx.Session(&gorm.Session{PrepareStmt: true})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0)