Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPreparedStmtConcurrentReset (0.18 sec)

  1. tests/prepared_stmt_test.go

    	return err.Error() == "sql: statement is closed"
    }
    
    // TestPreparedStmtConcurrentReset test calling reset and executing SQL concurrently
    // this test making sure that the gorm would not get a Segmentation Fault, and the only error cause by this is using a closed Stmt
    func TestPreparedStmtConcurrentReset(t *testing.T) {
    	name := "prepared_stmt_concurrent_reset"
    	user := *GetUser(name, Config{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top