(host string, port string, userName string, passWord string, fetchSize int32, timeZone string, connectRetryMax int, database string, sqlDialect string)
| 1399 | } |
| 1400 | |
| 1401 | func getConfig(host string, port string, userName string, passWord string, fetchSize int32, timeZone string, connectRetryMax int, database string, sqlDialect string) *Config { |
| 1402 | return &Config{ |
| 1403 | Host: host, |
| 1404 | Port: port, |
| 1405 | UserName: userName, |
| 1406 | Password: passWord, |
| 1407 | FetchSize: fetchSize, |
| 1408 | TimeZone: timeZone, |
| 1409 | ConnectRetryMax: connectRetryMax, |
| 1410 | sqlDialect: sqlDialect, |
| 1411 | Database: database, |
| 1412 | } |
| 1413 | } |
| 1414 | |
| 1415 | func (s *Session) reconnect() bool { |
| 1416 | var err error |
no outgoing calls
no test coverage detected
searching dependent graphs…