fix compile error

This commit is contained in:
Shengliang Guan 2021-10-06 11:23:30 +08:00
parent f3fb6c8b34
commit 951bcc7c94
4 changed files with 14 additions and 4 deletions

View File

@ -11,4 +11,9 @@
* *
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "tq.h"
int tqPushMsg(void * p) {return 0;}
int tqCommit(STQ *pTQ) {return 0;}

View File

@ -5,8 +5,8 @@ target_include_directories(
PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tsdb" PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tsdb"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc" PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
) )
target_include_directories( target_link_libraries(
tsdb tsdb
PRIVATE os PUBLIC os
PRIVATE common PRIVATE common
) )

View File

@ -11,4 +11,9 @@
* *
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "tsdb.h"
int tsdbInsert(STsdb *pTsdb, SSubmitReq *pMsg) { return 0; }
int tsdbCommit(STsdb *pTsdb) { return 0; }