This commit is contained in:
Shengliang Guan 2022-02-27 11:05:46 +08:00
parent ea43a849b9
commit 15b18f4ce9
28 changed files with 27 additions and 36 deletions

View File

@ -13,11 +13,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "tdataformat.h" #include "tdataformat.h"
#include "ulog.h"
#include "talgo.h" #include "talgo.h"
#include "tcoding.h" #include "tcoding.h"
#include "wchar.h" #include "wchar.h"
#include "tarray.h" #include "tarray.h"
#include "tlog.h"
static void dataColSetNEleNull(SDataCol *pCol, int nEle); static void dataColSetNEleNull(SDataCol *pCol, int nEle);
#if 0 #if 0

View File

@ -24,7 +24,6 @@
#include "tglobal.h" #include "tglobal.h"
#include "tlog.h" #include "tlog.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h"
SConfig *tsCfg = NULL; SConfig *tsCfg = NULL;

View File

@ -21,7 +21,7 @@
#include "dnode.h" #include "dnode.h"
#include "taoserror.h" #include "taoserror.h"
#include "tglobal.h" #include "tglobal.h"
#include "ulog.h" #include "tlog.h"
#include "version.h" #include "version.h"
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -26,10 +26,10 @@
#include "tmsg.h" #include "tmsg.h"
#include "trpc.h" #include "trpc.h"
#include "tthread.h" #include "tthread.h"
#include "ulog.h"
#include "client.h" #include "client.h"
#include "server.h" #include "server.h"
#include "tlog.h"
class Testbase { class Testbase {
public: public:

View File

@ -15,7 +15,7 @@
#include "tglobal.h" #include "tglobal.h"
#include "tskiplist.h" #include "tskiplist.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
static std::string dir = "/tmp/index"; static std::string dir = "/tmp/index";

View File

@ -18,7 +18,7 @@
#include "tep.h" #include "tep.h"
#include "tglobal.h" #include "tglobal.h"
#include "trpc.h" #include "trpc.h"
#include "ulog.h" #include "tlog.h"
using namespace std; using namespace std;
const char *label = "APP"; const char *label = "APP";

View File

@ -22,7 +22,7 @@
#include "regex.h" #include "regex.h"
#include "thash.h" #include "thash.h"
#include "types.h" #include "types.h"
#include "ulog.h" #include "tlog.h"
#include "tdef.h" #include "tdef.h"
#include "taos.h" #include "taos.h"

View File

@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "os.h"
#include "ulog.h" #include "tlog.h"
#include "ttimer.h" #include "ttimer.h"
#include "tutil.h" #include "tutil.h"
#include "tcache.h" #include "tcache.h"

View File

@ -53,7 +53,7 @@
#include "td_sz.h" #include "td_sz.h"
#endif #endif
#include "tcompression.h" #include "tcompression.h"
#include "ulog.h" #include "tlog.h"
static const int TEST_NUMBER = 1; static const int TEST_NUMBER = 1;
#define is_bigendian() ((*(char *)&TEST_NUMBER) == 0) #define is_bigendian() ((*(char *)&TEST_NUMBER) == 0)

View File

@ -19,7 +19,7 @@
#include "tcfg.h" #include "tcfg.h"
#include "thash.h" #include "thash.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
#define CFG_NAME_PRINT_LEN 24 #define CFG_NAME_PRINT_LEN 24
#define CFG_SRC_PRINT_LEN 12 #define CFG_SRC_PRINT_LEN 12

View File

@ -18,7 +18,7 @@
#include "taoserror.h" #include "taoserror.h"
#include "tref.h" #include "tref.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
static int32_t tsFileRsetId = -1; static int32_t tsFileRsetId = -1;

View File

@ -15,7 +15,7 @@
#include "os.h" #include "os.h"
#include "thash.h" #include "thash.h"
#include "ulog.h" #include "tlog.h"
#include "taos.h" #include "taos.h"
#include "tdef.h" #include "tdef.h"

View File

@ -13,8 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h" #include "tlog.h"
#include "ulog.h"
typedef struct { typedef struct {
int maxId; int maxId;

View File

@ -15,7 +15,7 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
#define LOG_MAX_LINE_SIZE (1000) #define LOG_MAX_LINE_SIZE (1000)
#define LOG_MAX_LINE_BUFFER_SIZE (LOG_MAX_LINE_SIZE + 10) #define LOG_MAX_LINE_BUFFER_SIZE (LOG_MAX_LINE_SIZE + 10)

View File

@ -14,7 +14,7 @@
*/ */
#include "os.h" #include "os.h"
#include "ulog.h" #include "tlog.h"
#include "tlosertree.h" #include "tlosertree.h"
#include "taoserror.h" #include "taoserror.h"

View File

@ -13,8 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h" #include "tlog.h"
#include "ulog.h"
#include "tmempool.h" #include "tmempool.h"
#include "tutil.h" #include "tutil.h"

View File

@ -1,5 +1,4 @@
#include "os.h" #include "tlog.h"
#include "ulog.h"
#include "tpagedbuf.h" #include "tpagedbuf.h"
#include "taoserror.h" #include "taoserror.h"
#include "tcompression.h" #include "tcompression.h"

View File

@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "tqueue.h" #include "tqueue.h"
#include "taoserror.h" #include "taoserror.h"
#include "ulog.h" #include "tlog.h"
typedef struct STaosQnode STaosQnode; typedef struct STaosQnode STaosQnode;

View File

@ -14,8 +14,9 @@
*/ */
#include "os.h" #include "os.h"
#include "taoserror.h" #include "taoserror.h"
#include "ulog.h" #include "tlog.h"
#include "tutil.h" #include "tutil.h"
#define TSDB_REF_OBJECTS 50 #define TSDB_REF_OBJECTS 50

View File

@ -13,10 +13,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h"
#include "tdef.h" #include "tdef.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
#include "tsched.h" #include "tsched.h"
#include "ttimer.h" #include "ttimer.h"

View File

@ -14,12 +14,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "os.h"
#include "compare.h" #include "compare.h"
#include "tskiplist.h" #include "tskiplist.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
static int initForwardBackwardPtr(SSkipList *pSkipList); static int initForwardBackwardPtr(SSkipList *pSkipList);
static SSkipListNode * getPriorNode(SSkipList *pSkipList, const char *val, int32_t order, SSkipListNode **pCur); static SSkipListNode * getPriorNode(SSkipList *pSkipList, const char *val, int32_t order, SSkipListNode **pCur);

View File

@ -14,8 +14,7 @@
*/ */
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "os.h" #include "tlog.h"
#include "ulog.h"
#include "taoserror.h" #include "taoserror.h"
#include "tstep.h" #include "tstep.h"

View File

@ -14,11 +14,10 @@
*/ */
#include "tthread.h" #include "tthread.h"
#include "os.h"
#include "taoserror.h" #include "taoserror.h"
#include "tdef.h" #include "tdef.h"
#include "tutil.h" #include "tutil.h"
#include "ulog.h" #include "tlog.h"
// create new thread // create new thread
pthread_t* taosCreateThread(void* (*__start_routine)(void*), void* param) { pthread_t* taosCreateThread(void* (*__start_routine)(void*), void* param) {

View File

@ -17,7 +17,6 @@
#include "os.h" #include "os.h"
#include "taoserror.h" #include "taoserror.h"
#include "tdef.h" #include "tdef.h"
#include "ulog.h"
int32_t taosVersionStrToInt(const char *vstr, int32_t *vint) { int32_t taosVersionStrToInt(const char *vstr, int32_t *vint) {
if (vstr == NULL) { if (vstr == NULL) {

View File

@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE #define _DEFAULT_SOURCE
#include "tworker.h" #include "tworker.h"
#include "taoserror.h" #include "taoserror.h"
#include "ulog.h" #include "tlog.h"
typedef void *(*ThreadFp)(void *param); typedef void *(*ThreadFp)(void *param);

View File

@ -8,7 +8,7 @@
#include "tlog.h" #include "tlog.h"
#include "tglobal.h" #include "tglobal.h"
#include "taoserror.h" #include "taoserror.h"
#include "ulog.h" #include "tlog.h"
typedef struct { typedef struct {
int refNum; int refNum;

View File

@ -18,7 +18,7 @@
#include "taosdef.h" #include "taosdef.h"
#include "tmsg.h" #include "tmsg.h"
#include "taoserror.h" #include "taoserror.h"
#include "tulog.h" #include "tlog.h"
#include "tglobal.h" #include "tglobal.h"
#include "tsocket.h" #include "tsocket.h"
#include "trpc.h" #include "trpc.h"

View File

@ -19,7 +19,7 @@
#include "shell.h" #include "shell.h"
#include "shellCommand.h" #include "shellCommand.h"
#include "tkey.h" #include "tkey.h"
#include "ulog.h" #include "tlog.h"
#include "version.h" #include "version.h"
#include <wordexp.h> #include <wordexp.h>