Fix some ci error.

This commit is contained in:
xiao-77 2024-11-26 10:07:00 +08:00
parent e4416d4935
commit 2b3dca319a
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ int32_t taosGetConfigObjSize(SConfigObj *obj) {
if (obj->dtype == CFG_DTYPE_STRING || obj->dtype == CFG_DTYPE_DIR || obj->dtype == CFG_DTYPE_LOCALE || if (obj->dtype == CFG_DTYPE_STRING || obj->dtype == CFG_DTYPE_DIR || obj->dtype == CFG_DTYPE_LOCALE ||
obj->dtype == CFG_DTYPE_CHARSET || obj->dtype == CFG_DTYPE_TIMEZONE) { obj->dtype == CFG_DTYPE_CHARSET || obj->dtype == CFG_DTYPE_TIMEZONE) {
if (obj->str != NULL) { if (obj->str != NULL) {
size += strlen(obj->str); size += strlen(obj->str) + 1;
} }
} }
return size; return size;

View File

@ -15,7 +15,7 @@ import sys
import os import os
import time import time
import datetime import datetime
from setuptools import logging as printf from distutils.log import warn as printf
class TDLog: class TDLog: