diff --git a/include/vlog/edb.h b/include/vlog/edb.h index 7ddfb36f..d52872bb 100644 --- a/include/vlog/edb.h +++ b/include/vlog/edb.h @@ -148,21 +148,21 @@ class EDBLayer { VLIBEXP void addTridentTable(const EDBConf::Table &tableConf, bool multithreaded); - void addTopKTable(const EDBConf::Table &tableConf); + VLIBEXP void addTopKTable(const EDBConf::Table &tableConf); - void addEmbTable(const EDBConf::Table &tableConf); + VLIBEXP void addEmbTable(const EDBConf::Table &tableConf); #ifdef MYSQL - void addMySQLTable(const EDBConf::Table &tableConf); + VLIBEXP void addMySQLTable(const EDBConf::Table &tableConf); #endif #ifdef ODBC - void addODBCTable(const EDBConf::Table &tableConf); + VLIBEXP void addODBCTable(const EDBConf::Table &tableConf); #endif #ifdef MAPI - void addMAPITable(const EDBConf::Table &tableConf); + VLIBEXP void addMAPITable(const EDBConf::Table &tableConf); #endif #ifdef MDLITE - void addMDLiteTable(const EDBConf::Table &tableConf); + VLIBEXP void addMDLiteTable(const EDBConf::Table &tableConf); #endif VLIBEXP void addInmemoryTable(const EDBConf::Table &tableConf); VLIBEXP void addSparqlTable(const EDBConf::Table &tableConf); @@ -178,7 +178,7 @@ class EDBLayer { NamedSemiNaiver prevSemiNaiver; // need to import the mapping predid -> Predicate from prevSemiNaiver - void handlePrevSemiNaiver(); + VLIBEXP void handlePrevSemiNaiver(); std::string name; diff --git a/include/vlog/edbconf.h b/include/vlog/edbconf.h index d4f05fa3..6f3306c5 100644 --- a/include/vlog/edbconf.h +++ b/include/vlog/edbconf.h @@ -32,7 +32,7 @@ class EDBConf { void setRootPath(std::string path); - std::string getRootPath() const; + VLIBEXP std::string getRootPath() const; const std::vector &getTables() const { return tables; diff --git a/src/vlog/forward/edbfcinternaltable.cpp b/src/vlog/forward/edbfcinternaltable.cpp index 0d7e6457..72e75d1f 100644 --- a/src/vlog/forward/edbfcinternaltable.cpp +++ b/src/vlog/forward/edbfcinternaltable.cpp @@ -38,7 +38,7 @@ std::pair, SegmentInserter oldTuples(nfields); SegmentInserter newTuples(nfields); auto itr = getSortedIterator(); - Term_t row[nfields]; + Term_t row[256]; while (itr->hasNext()) { itr->next(); for(size_t i = 0; i < nfields; ++i) { diff --git a/src/vlog/forward/fcinttable.cpp b/src/vlog/forward/fcinttable.cpp index 8d34dcd0..f58296dc 100644 --- a/src/vlog/forward/fcinttable.cpp +++ b/src/vlog/forward/fcinttable.cpp @@ -558,7 +558,7 @@ std::pair, SegmentInserter newTuples(nfields); auto itr = getSortedIterator(); - Term_t row[nfields]; + Term_t row[256]; while (itr->hasNext()) { itr->next(); for(size_t i = 0; i < nfields; ++i) { diff --git a/src/vlog/ml/helper.cpp b/src/vlog/ml/helper.cpp index 64076ff7..245f21d4 100644 --- a/src/vlog/ml/helper.cpp +++ b/src/vlog/ml/helper.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include using namespace std; diff --git a/win64/vlog-core/vlog-core.vcxproj b/win64/vlog-core/vlog-core.vcxproj index dbc73c4e..873122a8 100644 --- a/win64/vlog-core/vlog-core.vcxproj +++ b/win64/vlog-core/vlog-core.vcxproj @@ -27,9 +27,12 @@ - - - + + + + + + @@ -48,9 +51,16 @@ + + + + + + +