Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lastRunIndex (0.11 sec)

  1. tests/prepared_stmt_test.go

    	closeStartIdx := loopCount / 2 // close the database at the middle of the execution
    	var lastRunIndex int
    	var closeFinishedAt int64
    
    	wg.Add(1)
    	go func(id uint) {
    		defer wg.Done()
    		defer close(closeValid)
    		for lastRunIndex = 1; lastRunIndex <= loopCount; lastRunIndex++ {
    			if lastRunIndex == closeStartIdx {
    				closeValid <- struct{}{}
    			}
    			var tmp User
    			now := time.Now().UnixNano()
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top