summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Zeller <luz@synthesis.ch>2010-03-15 09:37:27 +0100
committerLukas Zeller <luz@synthesis.ch>2010-03-18 14:03:57 +0100
commit7794e9205ca27de103cb1dccda52daa248c98d25 (patch)
tree19041ae3f8e1f314066895ff438b1e02e2944bb8
parentdd52581bd2a16e01a2cd52d3a691dc029004c9a7 (diff)
engine: compilable again without engineinterface and AsKey
-rwxr-xr-xsrc/DB_interfaces/api_db/pluginapids.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DB_interfaces/api_db/pluginapids.cpp b/src/DB_interfaces/api_db/pluginapids.cpp
index ca11384..17c49f8 100755
--- a/src/DB_interfaces/api_db/pluginapids.cpp
+++ b/src/DB_interfaces/api_db/pluginapids.cpp
@@ -1167,7 +1167,9 @@ localstatus TPluginApiDS::apiReadSyncSet(bool aNeedAll)
#endif
if (dberr!=LOCERR_OK) {
PDEBUGPRINTFX(DBG_ERROR,("DBapi::ReadNextItem fatal error = %hd",dberr));
+ #if defined(DBAPI_ASKEYITEMS) && defined(ENGINEINTERFACE_SUPPORT)
if (mfitemP) delete mfitemP;
+ #endif
goto endread;
}
// check if we have seen all items