--- parser3/src/include/Attic/pa_db_table.h 2001/10/26 13:48:18 1.3 +++ parser3/src/include/Attic/pa_db_table.h 2001/10/28 11:40:48 1.6 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_db_table.h,v 1.3 2001/10/26 13:48:18 paf Exp $ + $Id: pa_db_table.h,v 1.6 2001/10/28 11:40:48 paf Exp $ */ #ifndef PA_DB_TABLE_H @@ -14,8 +14,11 @@ #include "pa_globals.h" #include "pa_pool.h" -#ifdef HAVE_DB_H +#ifdef DB2 # include +# if DB_VERSION_MAJOR != 2 +# error Parser needs DB 2.x.x version of libdb to compile +# endif #endif // defines @@ -161,6 +164,7 @@ public: ~DB_Cursor(); /// pass empty strings to key&data, would fill them bool get(Pool& pool, String *& key, String *& data, u_int32_t flags); + bool move(u_int32_t flags); void remove(u_int32_t flags); private: const String *fsource;