File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 7979 env :
8080 CGO_ENABLED : 0
8181
82- - name : run integration tests
82+ - name : Contract Test
8383 run : make test-integration
8484 env :
8585 CGO_ENABLED : 0
Original file line number Diff line number Diff line change @@ -21,10 +21,15 @@ type connector struct {
2121
2222func (c * connector ) Connect (ctx context.Context ) (driver.Conn , error ) {
2323 var initialNamespace * cli_service.TNamespace
24+
2425 if c .cfg .Catalog != "" {
26+ initialNamespace = & cli_service.TNamespace {}
2527 initialNamespace .CatalogName = cli_service .TIdentifierPtr (cli_service .TIdentifier (c .cfg .Catalog ))
2628 }
2729 if c .cfg .Schema != "" {
30+ if initialNamespace == nil {
31+ initialNamespace = & cli_service.TNamespace {}
32+ }
2833 initialNamespace .SchemaName = cli_service .TIdentifierPtr (cli_service .TIdentifier (c .cfg .Schema ))
2934 }
3035
You can’t perform that action at this time.
0 commit comments