Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for num_inputs (0.17 sec)

  1. src/database/sql/convert.go

    	// placeholders, so we won't sanity check input here and instead let the
    	// driver deal with errors.
    	want := -1
    
    	var si driver.Stmt
    	var cc ccChecker
    	if ds != nil {
    		si = ds.si
    		want = ds.si.NumInput()
    		cc.want = want
    	}
    
    	// Check all types of interfaces from the start.
    	// Drivers may opt to use the NamedValueChecker for special
    	// argument types, then return driver.ErrSkip to pass it along
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/database/sql/sql_test.go

    			}
    		}()
    		f()
    	}
    
    	expectPanic("Exec Exec", func() { db.Exec("PANIC|Exec|WIPE") })
    	exec(t, db, "WIPE") // check not deadlocked
    	expectPanic("Exec NumInput", func() { db.Exec("PANIC|NumInput|WIPE") })
    	exec(t, db, "WIPE") // check not deadlocked
    	expectPanic("Exec Close", func() { db.Exec("PANIC|Close|WIPE") })
    	exec(t, db, "WIPE")             // check not deadlocked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top