From: František Dvořák Date: Tue, 5 Jan 2010 15:46:47 +0000 (+0000) Subject: Update test utility too (for make check). X-Git-Tag: glite-lb-server_R_2_0_5_1~1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f4ba58b03b7e853f11dadad2a303538b6e7b0e21;p=jra1mw.git Update test utility too (for make check). --- diff --git a/org.glite.lb.server/test/test_query_events.cpp b/org.glite.lb.server/test/test_query_events.cpp index 5224281..ab2a9a3 100644 --- a/org.glite.lb.server/test/test_query_events.cpp +++ b/org.glite.lb.server/test/test_query_events.cpp @@ -112,7 +112,7 @@ int QueryEventsTest::ExecStmt(const char *qry, glite_lbu_Statement *stmt_out) } extern "C" { -int glite_lbu_InitDBContext(glite_lbu_DBContext *ctx) { return 0; } +int glite_lbu_InitDBContext(glite_lbu_DBContext *ctx, int backend) { return 0; } void glite_lbu_FreeDBContext(glite_lbu_DBContext ctx) { } int glite_lbu_DBConnect(glite_lbu_DBContext ctx, const char*str) { return 0; } void glite_lbu_DBClose(glite_lbu_DBContext ctx) { } @@ -145,8 +145,8 @@ void glite_lbu_FreeStmt(glite_lbu_Statement *) {} int debug; int glite_lbu_QueryColumns(glite_lbu_Statement stmt, char**cols) { return 0; } -void glite_lbu_TimeToDB(long t, char **s) { *s = NULL; } -time_t glite_lbu_DBToTime(const char *c) { return (time_t)-1; } +void glite_lbu_TimeToStr(long t, char **s) { *s = NULL; } +time_t glite_lbu_StrToTime(const char *c) { return (time_t)-1; } int glite_lbu_Transaction(glite_lbu_DBContext ctx) { return 0; } int glite_lbu_Commit(glite_lbu_DBContext ctx) { return 0; }