log error while client version not matched with server version

This commit is contained in:
Shengliang Guan 2020-11-11 23:34:21 +08:00
parent 391e95bc58
commit ab6387cae2
1 changed files with 2 additions and 1 deletions

View File

@ -377,7 +377,8 @@ int taosCheckVersion(char *input_client_version, char *input_server_version, int
for(int32_t i = 0; i < comparedSegments; ++i) {
if (clientVersionNumber[i] != serverVersionNumber[i]) {
uError("the %d-th number of server version:%s not matched with client version:%s", i, server_version, version);
uError("the %d-th number of server version:%s not matched with client version:%s", i, server_version,
client_version);
return TSDB_CODE_TSC_INVALID_VERSION;
}
}