|
a/src/rcldb/rcldb.cpp |
|
b/src/rcldb/rcldb.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.83 2006-10-24 09:28:30 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.84 2006-10-25 10:52:02 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
94 |
: m_db(db),
|
94 |
: m_db(db),
|
95 |
m_isopen(false), m_iswritable(false), enquire(0)
|
95 |
m_isopen(false), m_iswritable(false), enquire(0)
|
96 |
{ }
|
96 |
{ }
|
97 |
|
97 |
|
98 |
~Native() {
|
98 |
~Native() {
|
|
|
99 |
if (m_iswritable)
|
|
|
100 |
LOGDEB(("Rcl::Db: xapian will close. Flush may take some time\n"));
|
99 |
delete enquire;
|
101 |
delete enquire;
|
100 |
}
|
102 |
}
|
101 |
|
103 |
|
102 |
string makeAbstract(Xapian::docid id, const list<string>& terms);
|
104 |
string makeAbstract(Xapian::docid id, const list<string>& terms);
|
103 |
|
105 |
|