--- parser3/src/main/Attic/pa_db_connection.C 2001/10/28 14:19:27 1.21 +++ parser3/src/main/Attic/pa_db_connection.C 2001/10/28 14:24:26 1.22 @@ -4,7 +4,7 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_db_connection.C,v 1.21 2001/10/28 14:19:27 paf Exp $ + $Id: pa_db_connection.C,v 1.22 2001/10/28 14:24:26 paf Exp $ developed with LIBDB 2.7.4 */ @@ -50,11 +50,11 @@ static void db_errcall(const char *, cha } static void expire_table(const Hash::Key& key, Hash::Val *& value, void *info) { - DB_Connection& table=*static_cast(value); + DB_Table& table=*static_cast(value); time_t older_dies=reinterpret_cast(info); if(table.expired(older_dies)) { - table.~DB_Connection(); value=0; + table.~DB_Table(); value=0; } }