| 699 | } |
| 700 | |
| 701 | void Connection::getServerVersion(const ConnectionTimeouts & timeouts, |
| 702 | String & name, |
| 703 | UInt64 & version_major, |
| 704 | UInt64 & version_minor, |
| 705 | UInt64 & version_patch, |
| 706 | UInt64 & revision) |
| 707 | { |
| 708 | if (!isConnected()) |
| 709 | connect(timeouts); |
| 710 | |
| 711 | name = server_name; |
| 712 | version_major = server_version_major; |
| 713 | version_minor = server_version_minor; |
| 714 | version_patch = server_version_patch; |
| 715 | revision = server_revision; |
| 716 | } |
| 717 | |
| 718 | UInt64 Connection::getServerRevision(const ConnectionTimeouts & timeouts) |
| 719 | { |
no test coverage detected