Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 136 for Mysql (0.09 sec)

  1. tests/error_translator_test.go

    	}
    
    	db, err := OpenTestConnection(&gorm.Config{TranslateError: true})
    	if err != nil {
    		t.Fatalf("failed to connect database, got error %v", err)
    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jul 12 13:21:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/networkfilter.go

    	}
    
    	return out
    }
    
    // buildMySQLFilter builds an outbound Envoy MySQLProxy filter.
    func buildMySQLFilter(statPrefix string) *listener.Filter {
    	mySQLProxy := &mysql.MySQLProxy{
    		StatPrefix: statPrefix, // MySQL stats are prefixed with mysql.<statPrefix> by Envoy.
    	}
    
    	out := &listener.Filter{
    		Name:       wellknown.MySQLProxy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. tests/gorm_test.go

    package tests_test
    
    import (
    	"testing"
    
    	"gorm.io/driver/mysql"
    
    	"gorm.io/gorm"
    )
    
    func TestOpen(t *testing.T) {
    	dsn := "gorm:gorm@tcp(localhost:9910)/gorm?loc=Asia%2FHongKong" // invalid loc
    	_, err := gorm.Open(mysql.Open(dsn), &gorm.Config{})
    	if err == nil {
    		t.Fatalf("should returns error but got nil")
    	}
    }
    
    func TestReturningWithNullToZeroValues(t *testing.T) {
    	dialect := DB.Dialector.Name()
    	switch dialect {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

        }
    
        public void test_getArtifactFromFileName3() {
            Artifact artifact = pluginHelper.getArtifactFromFileName(ArtifactType.UNKNOWN, "mysql-connector-java-8.0.17.jar");
            assertEquals("mysql-connector-java", artifact.getName());
            assertEquals("8.0.17", artifact.getVersion());
        }
    
        public void test_loadYaml() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pkg/dns/server/name_table.go

    					if instance.SubDomain != "" && sameNetwork {
    						// Follow k8s pods dns naming convention of "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>"
    						// i.e. "mysql-0.mysql.default.svc.cluster.local".
    						parts := strings.SplitN(hostName.String(), ".", 2)
    						if len(parts) != 2 {
    							continue
    						}
    						address := []string{instance.Address}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java

            return PerformanceDatabase.isAvailable()
                ? supplier.get()
                : NoResultsStore.getInstance();
        }
    
        /**
         * MySQL doesn't support array type. So array in H2 `1,2,3` will be a string like '(1,2,3)'
         */
        public static String toArray(List<String> list) {
            return list == null ? null : "(" + String.join(",", list) + ")";
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java-feature-variant/incompatible-variants/kotlin/producer/build.gradle.kts

    java {
        registerFeature("mysqlSupport") {
            usingSourceSet(sourceSets["mysqlSupport"])
            capability("org.gradle.demo", "producer-db-support", "1.0")
            capability("org.gradle.demo", "producer-mysql-support", "1.0")
        }
        registerFeature("postgresSupport") {
            usingSourceSet(sourceSets["postgresSupport"])
            capability("org.gradle.demo", "producer-db-support", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 05:16:22 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/networking_test.go

    			core.TrafficDirection_INBOUND,
    			ListenerProtocolHTTP,
    		},
    		{
    			"HTTP to HTTP",
    			protocol.HTTP_PROXY,
    			core.TrafficDirection_OUTBOUND,
    			ListenerProtocolHTTP,
    		},
    		{
    			"MySQL to TCP",
    			protocol.MySQL,
    			core.TrafficDirection_INBOUND,
    			ListenerProtocolTCP,
    		},
    		{
    			"Inbound unknown to Auto",
    			protocol.Unsupported,
    			core.TrafficDirection_INBOUND,
    			ListenerProtocolAuto,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. pkg/config/kube/conversion_test.go

    			expectedProto: protocol.Unsupported,
    		},
    		{
    			name:          "resolves based on known ports",
    			port:          3306, // mysql
    			portName:      "random-name",
    			expectedProto: protocol.TCP,
    		},
    		{
    			name:          "standard app protocol",
    			port:          3306, // mysql
    			portName:      "random-name",
    			appProto:      ptr.Of("kubernetes.io/h2c"),
    			expectedProto: protocol.HTTP2,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 15:30:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/java-feature-variant/incompatible-variants/groovy/producer/build.gradle

    // tag::producer[]
    java {
        registerFeature('mysqlSupport') {
            usingSourceSet(sourceSets.mysqlSupport)
            capability('org.gradle.demo', 'producer-db-support', '1.0')
            capability('org.gradle.demo', 'producer-mysql-support', '1.0')
        }
        registerFeature('postgresSupport') {
            usingSourceSet(sourceSets.postgresSupport)
            capability('org.gradle.demo', 'producer-db-support', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 05:16:22 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top