diff --git a/database/win/windatabase.cpp b/database/win/windatabase.cpp index bb30c997ec..8f69c4a37e 100644 --- a/database/win/windatabase.cpp +++ b/database/win/windatabase.cpp @@ -211,3 +211,29 @@ void WinDatabase::endIterRows() rc = SQLFreeStmt(hstmt, SQL_CLOSE); mystmt(hstmt,rc); } + +// TODO +void WinDatabase::escape(const unsigned char* start,int size,std::string& retStr) +{ + retStr=(char*)start; +} + +// TODO +int WinDatabase::getLastInsertID() +{ + return(0); +} + +uint64 WinDatabase::getBigInt(int colIndex) +{ + colIndex++; + uint64 ret=0; + SQLRETURN rc = SQLGetData(hstmt,colIndex,SQL_INTEGER,&ret,sizeof(uint64),NULL); + mystmt(hstmt,rc); + return(ret); +} +// TODO: +int WinDatabase::getBinary(int colIndex,unsigned char* buf,int maxSize) +{ + return(0); +} \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 2497515764..49b0010c1a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -121,7 +121,7 @@ int main(int argc, char* argv[]) for (int i=0; i != iCmd; ++i) pvCmd[i] = (char*) (vCmd[0].c_str()); - iResult = unit_test_main(init_unit_test, iCmd, &pvCmd.front()); + //iResult = unit_test_main(init_unit_test, iCmd, &pvCmd.front()); } else if (!vm.count("parameters")) {