[td-225] change error to warning
This commit is contained in:
parent
0944c0cd84
commit
cf840735e2
|
@ -245,10 +245,10 @@ static void taosGetSystemLocale() { // get and set default locale
|
|||
strncpy(tsCharset, revisedCharset, tListLen(tsCharset));
|
||||
|
||||
free(revisedCharset);
|
||||
uError("charset not configured, set to system default:%s", tsCharset);
|
||||
uWarn("charset not configured, set to system default:%s", tsCharset);
|
||||
} else {
|
||||
strcpy(tsCharset, "UTF-8");
|
||||
uError("can't get locale and charset from system, set it to UTF-8");
|
||||
uWarn("can't get locale and charset from system, set it to UTF-8");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue