Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 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"
        command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 &
      gaussdb:
        image: 'opengauss/opengauss:7.0.0-RC1.B023'
        hostname: opengauss-server
        ports:
          - "127.0.0.1:9950:5432"
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 04 04:07:30 UTC 2025
    - 1.9K 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. tests/tests_all.sh

    #!/bin/bash -e
    
    dialects=("sqlite" "mysql" "postgres" "gaussdb" "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 && -d tests ]]; then
      cd tests
      if [[ $(uname -a) == *" arm64" ]]; then
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. .github/workflows/tests.yml

      tidb:
        strategy:
          matrix:
            dbversion: [ 'v6.5.0' ]
            go: ['1.24', '1.25']
            platform: [ ubuntu-latest ]
        runs-on: ${{ matrix.platform }}
    
        steps:
          - name: Setup TiDB
            uses: Icemap/tidb-action@main
            with:
              port: 9940
              version: ${{matrix.dbversion}}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. tests/helper_test.go

    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    func isSqlite() bool {
    	return os.Getenv("GORM_DIALECT") == "sqlite"
    }
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    		t.Fatalf("Should not find index for user's name after delete")
    	}
    }
    
    func TestTiDBMigrateColumns(t *testing.T) {
    	if !isTiDB() {
    		t.Skip()
    	}
    
    	// TiDB can't change column constraint and has auto_random feature
    	type ColumnStruct struct {
    		ID    int `gorm:"primarykey;default:auto_random()"`
    		Name  string
    		Age   int    `gorm:"default:18;comment:my age"`
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
        @DisplayName("Test setTid with zero value")
        void testSetTidWithZero() {
            // Given
            int tid = 0;
            doNothing().when(request).setTid(tid);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test minimum valid TID
                smb2Response.setTreeId(0);
                assertTrue(smb2Response.isValidTid(), "TID 0 should be valid");
    
                // Test maximum valid TID
                smb2Response.setTreeId(Integer.MAX_VALUE);
                assertTrue(smb2Response.isValidTid(), "Maximum TID should be valid");
    
                // Test invalid TID
                smb2Response.setTreeId(-1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. internal/event/targetid.go

    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    // MarshalJSON - encodes to JSON data.
    func (tid TargetID) MarshalJSON() ([]byte, error) {
    	return json.Marshal(tid.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. .github/CODEOWNERS

    build-logic/kotlin-dsl/                                     @gradle/bt-tide
    build-logic/kotlin-dsl-shared-runtime/                      @gradle/bt-tide
    platforms/core-configuration/kotlin-dsl/                    @gradle/bt-tide
    platforms/core-configuration/kotlin-dsl-integ-tests/        @gradle/bt-tide
    platforms/core-configuration/kotlin-dsl-plugins/            @gradle/bt-tide
    platforms/core-configuration/kotlin-dsl-provider-plugins/   @gradle/bt-tide
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Nov 07 21:47:29 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top