enh: clear assert remove tbuffer.h
This commit is contained in:
parent
70bc3fbb08
commit
2439c345d9
|
@ -20,7 +20,6 @@
|
||||||
#include "talgo.h"
|
#include "talgo.h"
|
||||||
#include "taosdef.h"
|
#include "taosdef.h"
|
||||||
#include "taoserror.h"
|
#include "taoserror.h"
|
||||||
#include "tbuffer.h"
|
|
||||||
#include "tdataformat.h"
|
#include "tdataformat.h"
|
||||||
#include "tdef.h"
|
#include "tdef.h"
|
||||||
#include "ttypes.h"
|
#include "ttypes.h"
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "tbuffer.h"
|
|
||||||
#include "tcommon.h"
|
#include "tcommon.h"
|
||||||
#include "tvariant.h"
|
#include "tvariant.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
#include "mndTelem.h"
|
#include "mndTelem.h"
|
||||||
#include "mndCluster.h"
|
#include "mndCluster.h"
|
||||||
#include "mndSync.h"
|
#include "mndSync.h"
|
||||||
#include "tbuffer.h"
|
|
||||||
#include "thttp.h"
|
#include "thttp.h"
|
||||||
#include "tjson.h"
|
#include "tjson.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "nodes.h"
|
#include "nodes.h"
|
||||||
#include "plannodes.h"
|
#include "plannodes.h"
|
||||||
#include "tbuffer.h"
|
|
||||||
#include "tcommon.h"
|
#include "tcommon.h"
|
||||||
#include "tpagedbuf.h"
|
#include "tpagedbuf.h"
|
||||||
#include "tsimplehash.h"
|
#include "tsimplehash.h"
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include "ttypes.h"
|
#include "ttypes.h"
|
||||||
|
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include "tbuffer.h"
|
|
||||||
#include "tcompression.h"
|
#include "tcompression.h"
|
||||||
#include "tdatablock.h"
|
#include "tdatablock.h"
|
||||||
#include "tfunctionInt.h"
|
#include "tfunctionInt.h"
|
||||||
|
|
|
@ -289,7 +289,7 @@ static void rbtree_delete_fixup(rbtree_t *rbtree, rbnode_t *child, rbnode_t *chi
|
||||||
sibling->color = child_parent->color;
|
sibling->color = child_parent->color;
|
||||||
child_parent->color = BLACK;
|
child_parent->color = BLACK;
|
||||||
if (child_parent->right == child) {
|
if (child_parent->right == child) {
|
||||||
ASSERT(sibling->left->color == RED, "slibing->left->color=%d not equal RED", sibling->left->color);
|
ASSERTS(sibling->left->color == RED, "slibing->left->color=%d not equal RED", sibling->left->color);
|
||||||
sibling->left->color = BLACK;
|
sibling->left->color = BLACK;
|
||||||
rbtree_rotate_right(rbtree, child_parent);
|
rbtree_rotate_right(rbtree, child_parent);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#define _DEFAULT_SOURCE
|
#define _DEFAULT_SOURCE
|
||||||
#include "tutil.h"
|
#include "tutil.h"
|
||||||
|
#include "tlog.h"
|
||||||
|
|
||||||
void *tmemmem(const char *haystack, int32_t hlen, const char *needle, int32_t nlen) {
|
void *tmemmem(const char *haystack, int32_t hlen, const char *needle, int32_t nlen) {
|
||||||
const char *limit;
|
const char *limit;
|
||||||
|
|
Loading…
Reference in New Issue