Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestPreparedStmtConcurrentClose (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/prepared_stmt_test.go

    	return err.Error() == "sql: statement is closed"
    }
    
    // TestPreparedStmtConcurrentClose test calling close 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 TestPreparedStmtConcurrentClose(t *testing.T) {
    	name := "prepared_stmt_concurrent_close"
    	user := *GetUser(name, Config{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top