Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for qrerun (0.83 sec)

  1. src/cmd/go/internal/work/buildid.go

    	// much larger, so the cache-footprint-to-utility ratio
    	// of binaries is much lower for binaries.
    	// Not caching the link step also makes sure that repeated "go run" at least
    	// always rerun the linker, so that they don't get too fast.
    	// (We don't want people thinking go is a scripting language.)
    	// Note also that if we start caching binaries, then we will
    	// copy the binaries out of the cache to run them, and then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. callbacks/query.go

    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    				return
    			}
    			defer func() {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	if strings.Contains(stderr, "unrecognized command line option") {
    		// We're using an old version of GCC that doesn't understand
    		// -fdiagnostics-color. Those versions can't print color anyway,
    		// so just rerun without that option.
    		stderr = p.gccErrors(b.Bytes())
    	}
    	if stderr == "" {
    		fatalf("%s produced no output\non input:\n%s", gccBaseCmd[0], b.Bytes())
    	}
    
    	completed := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. callbacks.go

    				sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...)
    			}
    			return db.Dialector.Explain(sql, vars...), db.RowsAffected
    		}, db.Error)
    	}
    
    	if !stmt.DB.DryRun {
    		stmt.SQL.Reset()
    		stmt.Vars = nil
    	}
    
    	if resetBuildClauses {
    		stmt.BuildClauses = nil
    	}
    
    	return db
    }
    
    func (p *processor) Get(name string) func(*DB) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. callbacks/update.go

    					db.Statement.AddClause(set)
    				} else {
    					return
    				}
    			}
    
    			db.Statement.Build(db.Statement.BuildClauses...)
    		}
    
    		checkMissingWhereConditions(db)
    
    		if !db.DryRun && db.Error == nil {
    			if ok, mode := hasReturning(db, supportReturning); ok {
    				if rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...); db.AddError(err) == nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. tests/joins_test.go

    	if len(users6) != 1 {
    		t.Errorf("should find one users using left join with conditions, but got %v", len(users6))
    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/cmd/go/go_test.go

    	tg.grepStderr(`([\\/]link|gccgo).*t3\.test`, "did not relink t3_test")
    	tg.grepStderr(`t3\.test.*-test.short`, "did not rerun t3_test")
    	tg.grepStdoutNot(`ok  \tt/t3\t\(cached\)`, "reported cached t3_test result")
    
    	// t4 imports p2, but p2 did not change, so t4 should be relinked, not recompiled,
    	// and not rerun.
    	tg.grepStderrNot(`([\\/]compile|gccgo).*t4_test.go`, "incorrectly recompiled t4")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  8. tests/create_test.go

    func TestCreateFromSubQuery(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    	DB.Create(&user)
    
    	subQuery := DB.Table("users").Where("name=?", user.Name).Select("id")
    
    	result := DB.Session(&gorm.Session{DryRun: true}).Model(&Pet{}).Create([]map[string]interface{}{
    		{
    			"name":    "cat",
    			"user_id": gorm.Expr("(?)", DB.Table("(?) as tmp", subQuery).Select("@uid:=id")),
    		},
    		{
    			"name":    "dog",
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/debug_test.go

    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    var (
    	update  = flag.Bool("u", false, "update test reference files")
    	verbose = flag.Bool("v", false, "print debugger interactions (very verbose)")
    	dryrun  = flag.Bool("n", false, "just print the command line and first debugging bits")
    	useGdb  = flag.Bool("g", false, "use Gdb instead of Delve (dlv), use gdb reference files")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. tests/query_test.go

    	result := DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&simpleUsers, user.ID)
    
    	if !regexp.MustCompile("SELECT .*id.*name.*updated_at.*created_at.* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&User{}, user.ID)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top