TD-803: increase bufsize

This commit is contained in:
Bomin Zhang 2020-07-01 11:17:48 +08:00
parent c1252c2dbe
commit 29adf9c752
2 changed files with 3 additions and 2 deletions

View File

@ -272,7 +272,7 @@ typedef struct {
int16_t offset; int16_t offset;
} SColIdx; } SColIdx;
#define TD_KV_ROW_HEAD_SIZE 2 * sizeof(int16_t) #define TD_KV_ROW_HEAD_SIZE (2 * sizeof(int16_t))
#define kvRowLen(r) (*(int16_t *)(r)) #define kvRowLen(r) (*(int16_t *)(r))
#define kvRowNCols(r) (*(int16_t *)POINTER_SHIFT(r, sizeof(int16_t))) #define kvRowNCols(r) (*(int16_t *)POINTER_SHIFT(r, sizeof(int16_t)))

View File

@ -26,6 +26,7 @@ extern "C" {
#include "taosdef.h" #include "taosdef.h"
#include "taoserror.h" #include "taoserror.h"
#include "trpc.h" #include "trpc.h"
#include "tdataformat.h"
// message type // message type
@ -674,7 +675,7 @@ typedef struct SMultiTableMeta {
typedef struct { typedef struct {
int32_t dataLen; int32_t dataLen;
char name[TSDB_TABLE_ID_LEN]; char name[TSDB_TABLE_ID_LEN];
char data[TSDB_MAX_TAGS_LEN]; char data[TSDB_MAX_TAGS_LEN + TD_KV_ROW_HEAD_SIZE + sizeof(SColIdx) * TSDB_MAX_TAGS];
} STagData; } STagData;
/* /*