minor changes
This commit is contained in:
parent
fb34af9106
commit
08a0bc9b05
|
@ -82,7 +82,7 @@ SRpcMsg* Testbase::SendReq(tmsg_t msgType, void* pCont, int32_t contLen) {
|
||||||
void Testbase::SendShowMetaReq(int8_t showType, const char* db) {
|
void Testbase::SendShowMetaReq(int8_t showType, const char* db) {
|
||||||
SShowReq showReq = {0};
|
SShowReq showReq = {0};
|
||||||
showReq.type = showType;
|
showReq.type = showType;
|
||||||
//strcpy(showReq.db, db);
|
strcpy(showReq.db, db);
|
||||||
|
|
||||||
int32_t contLen = tSerializeSShowReq(NULL, 0, &showReq);
|
int32_t contLen = tSerializeSShowReq(NULL, 0, &showReq);
|
||||||
char* pReq = (char*)rpcMallocCont(contLen);
|
char* pReq = (char*)rpcMallocCont(contLen);
|
||||||
|
|
Loading…
Reference in New Issue