[TBASE-1296]
This commit is contained in:
parent
c246456c1f
commit
964b643bc8
|
@ -105,7 +105,7 @@ extern SSdbPeer *sdbPeer[];
|
|||
|
||||
#endif
|
||||
|
||||
void *sdbOpenTable(int maxRows, int32_t maxRowSize, char *name, char keyType, char *directory,
|
||||
void *sdbOpenTable(int maxRows, int32_t maxRowSize, char *name, uint8_t keyType, char *directory,
|
||||
void *(*appTool)(char, void *, char *, int, int *));
|
||||
|
||||
void *sdbGetRow(void *handle, void *key);
|
||||
|
|
|
@ -664,7 +664,7 @@ typedef struct {
|
|||
uint32_t destId;
|
||||
char meterId[TSDB_UNI_LEN];
|
||||
char empty[3];
|
||||
char msgType;
|
||||
uint8_t msgType;
|
||||
int32_t msgLen;
|
||||
uint8_t content[0];
|
||||
} SIntMsg;
|
||||
|
|
|
@ -127,7 +127,7 @@ typedef struct {
|
|||
} SMnodeStatus;
|
||||
|
||||
typedef struct {
|
||||
char dbId;
|
||||
uint8_t dbId;
|
||||
char type;
|
||||
uint64_t version;
|
||||
short dataLen;
|
||||
|
|
|
@ -287,7 +287,7 @@ sdb_exit1:
|
|||
return -1;
|
||||
}
|
||||
|
||||
void *sdbOpenTable(int maxRows, int32_t maxRowSize, char *name, char keyType, char *directory,
|
||||
void *sdbOpenTable(int maxRows, int32_t maxRowSize, char *name, uint8_t keyType, char *directory,
|
||||
void *(*appTool)(char, void *, char *, int, int *)) {
|
||||
SSdbTable *pTable = (SSdbTable *)malloc(sizeof(SSdbTable));
|
||||
if (pTable == NULL) return NULL;
|
||||
|
|
Loading…
Reference in New Issue