Merge pull request #2378 from taosdata/hotfix/test

[TD-92]
This commit is contained in:
Shengliang Guan 2020-06-20 11:36:25 +08:00 committed by GitHub
commit 3db526894b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ uint32_t taosRand(void)
#endif
size_t twcslen(const wchar_t *wcs) {
#ifdef WINDOWS
int *wstr = (int *)wcs;
if (NULL == wstr) {
return 0;
@ -72,6 +73,9 @@ size_t twcslen(const wchar_t *wcs) {
}
return n;
#else
return wcslen(wcs);
#endif
}
int32_t strdequote(char *z) {