(config *PoolConfig)
| 136 | } |
| 137 | |
| 138 | func getSessionConfig(config *PoolConfig) *Config { |
| 139 | return &Config{ |
| 140 | Host: config.Host, |
| 141 | Port: config.Port, |
| 142 | UserName: config.UserName, |
| 143 | Password: config.Password, |
| 144 | FetchSize: config.FetchSize, |
| 145 | TimeZone: config.TimeZone, |
| 146 | ConnectRetryMax: config.ConnectRetryMax, |
| 147 | sqlDialect: config.sqlDialect, |
| 148 | Database: config.Database, |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | func getClusterSessionConfig(config *PoolConfig) *ClusterConfig { |
| 153 | return &ClusterConfig{ |
no outgoing calls
no test coverage detected
searching dependent graphs…