Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPreparedStmtConcurrentClose (0.14 sec)

  1. tests/prepared_stmt_test.go

    	go func() {
    		defer wg.Done()
    		<-writerFinish
    		pdb.Reset()
    	}()
    
    	wg.Wait()
    
    	if unexpectedError {
    		t.Fatalf("should is a unexpected error")
    	}
    }
    
    // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently
    // for example: one goroutine found error and just close the database, and others are executing SQL
    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