make compile
This commit is contained in:
parent
00acf5457e
commit
113bfd51ba
|
@ -37,7 +37,7 @@ void vnodeOptionsClear(SVnodeOptions *);
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
||||||
#include "taosMsg.h"
|
#include "taosmsg.h"
|
||||||
#include "trpc.h"
|
#include "trpc.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -21,8 +21,6 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#include "vnodeInt.h"
|
#include "vnodeInt.h"
|
||||||
|
|
||||||
typedef void SVnodeMsg;
|
|
||||||
|
|
||||||
void vnodeProcessReadMsg(SVnode *pVnode, SVnodeMsg *pMsg);
|
void vnodeProcessReadMsg(SVnode *pVnode, SVnodeMsg *pMsg);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void SVnodeMsg;
|
|
||||||
|
|
||||||
void vnodeProcessWriteMsg(SVnode* pVnode, SVnodeMsg* pMsg);
|
void vnodeProcessWriteMsg(SVnode* pVnode, SVnodeMsg* pMsg);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if 0
|
|
||||||
#define _DEFAULT_SOURCE
|
#define _DEFAULT_SOURCE
|
||||||
#include "vnodeInt.h"
|
#include "vnodeInt.h"
|
||||||
#include "tqueue.h"
|
#include "tqueue.h"
|
||||||
|
@ -21,7 +20,6 @@
|
||||||
int32_t vnodeInit(SVnodePara para) { return 0; }
|
int32_t vnodeInit(SVnodePara para) { return 0; }
|
||||||
void vnodeCleanup() {}
|
void vnodeCleanup() {}
|
||||||
|
|
||||||
SVnode *vnodeOpen(int32_t vgId, const char *path) { return NULL; }
|
|
||||||
void vnodeClose(SVnode *pVnode) {}
|
void vnodeClose(SVnode *pVnode) {}
|
||||||
int32_t vnodeAlter(SVnode *pVnode, const SVnodeCfg *pCfg) { return 0; }
|
int32_t vnodeAlter(SVnode *pVnode, const SVnodeCfg *pCfg) { return 0; }
|
||||||
SVnode *vnodeCreate(int32_t vgId, const char *path, const SVnodeCfg *pCfg) { return NULL; }
|
SVnode *vnodeCreate(int32_t vgId, const char *path, const SVnodeCfg *pCfg) { return NULL; }
|
||||||
|
@ -71,5 +69,3 @@ void vnodeProcessMsg(SVnode *pVnode, SVnodeMsg *pMsg, EVnMsgType msgType) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in New Issue