Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for tidb (0.02 sec)

  1. tests/compose.yml

          - "127.0.0.1:9930:1433"
        environment:
          - TZ=Asia/Shanghai
          - ACCEPT_EULA=Y
          - MSSQL_SA_PASSWORD=LoremIpsum86
      tidb:
        image: 'pingcap/tidb:v6.5.0'
        ports:
          - "127.0.0.1:9940:4000"
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 798 bytes
    - Viewed (0)
  2. tests/tests_test.go

    		// ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];
    		// GO
    		log.Println("testing sqlserver...")
    		if dbDSN == "" {
    			dbDSN = sqlserverDSN
    		}
    		db, err = gorm.Open(sqlserver.Open(dbDSN), cfg)
    	case "tidb":
    		log.Println("testing tidb...")
    		if dbDSN == "" {
    			dbDSN = tidbDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	default:
    		log.Println("testing sqlite3...")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. .github/workflows/tests.yml

      tidb:
        strategy:
          matrix:
            dbversion: [ 'v6.5.0' ]
            go: ['1.22', '1.21', '1.20']
            platform: [ ubuntu-latest ]
        runs-on: ${{ matrix.platform }}
    
        steps:
          - name: Setup TiDB
            uses: Icemap/tidb-action@main
            with:
              port: 9940
              version: ${{matrix.dbversion}}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tests/tests_all.sh

    #!/bin/bash -e
    
    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 30 03:21:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/README.vendor

    Requirements may be added, updated, and removed with 'go get'.
    The vendor directory may be updated with 'go mod vendor'.
    A typical sequence might be:
    
        cd src  # or src/cmd
        go get golang.org/x/net@master
        go mod tidy
        go mod vendor
    
    Use caution when passing '-u' to 'go get'. The '-u' flag updates
    modules providing all transitively imported packages, not only
    the module providing the target package.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build/builder.packages.txt

    file
    flex
    g++
    make
    patch
    rpm2cpio
    unar
    wget
    xz-utils
    cpio
    
    # Other build-related tools
    apt-transport-https
    autoconf
    automake
    build-essential
    ca-certificates
    llvm-18
    clang-18
    clang-tidy-18
    lld-18
    clang-format-12
    curl
    git
    parallel
    sudo
    swig
    unzip
    zip
    openjdk-21-jdk
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 11 22:54:10 UTC 2024
    - 360 bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    #### C++ coding style
    
    Changes to TensorFlow C++ code should conform to
    [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
    
    Use `clang-tidy` to check your C/C++ changes. To install `clang-tidy` on ubuntu:16.04, do:
    
    ```bash
    apt-get install -y clang-tidy
    ```
    
    You can check a C/C++ file by doing:
    
    
    ```bash
    clang-format <my_cc_file> --style=google > /tmp/my_cc_file.cc
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
        }
      }
    
      // TODO: investigate some API changes to SampleElements that would tidy up
      // parts of the following classes.
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          TestSetGenerator<K> keySetGenerator(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. Makefile

    crosscompile: ## cross compile minio
    	@(env bash $(PWD)/buildscripts/cross-compile.sh)
    
    verifiers: lint check-gen
    
    check-gen: ## check for updated autogenerated files
    	@go generate ./... >/dev/null
    	@go mod tidy -compat=1.21
    	@(! git diff --name-only | grep '_gen.go$$') || (echo "Non-committed changes in auto-generated code is detected, please commit them to proceed." && false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. tests/transaction_test.go

    	}
    
    	tx.Rollback()
    
    	if err := DB.First(&User{}, "name = ?", "transaction").Error; err == nil {
    		t.Fatalf("Should not find record after rollback, but got %v", err)
    	}
    
    	txDB := DB.Where("fake_name = ?", "fake_name")
    	tx2 := txDB.Session(&gorm.Session{NewDB: true}).Begin()
    	user2 := *GetUser("transaction-2", Config{})
    	if err := tx2.Save(&user2).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top