Switch to unified view

a/src/rcldb/rcldups.cpp b/src/rcldb/rcldups.cpp
...
...
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
17
18
////////////////////////////////////////////////////////////////////
18
////////////////////////////////////////////////////////////////////
19
19
20
/** Retrieve the dups of a given document. The input has to be a query result
21
  * because we use the xdocid */
22
23
#include "autoconfig.h"
20
#include "autoconfig.h"
24
21
25
#include <string>
22
#include <string>
26
using namespace std;
23
using namespace std;
27
24
...
...
35
#include "searchdata.h"
32
#include "searchdata.h"
36
#include "rclquery.h"
33
#include "rclquery.h"
37
34
38
namespace Rcl {
35
namespace Rcl {
39
36
40
// File name wild card expansion. This is a specialisation ot termMatch
37
/** Retrieve the dups of a given document. The input has to be a query result
38
  * because we use the xdocid. We get the md5 from this, then the dups */
41
bool Db::docDups(const Doc& idoc, vector<Doc>& odocs)
39
bool Db::docDups(const Doc& idoc, vector<Doc>& odocs)
42
{
40
{
43
    if (m_ndb == 0) {
41
    if (m_ndb == 0) {
44
    LOGERR(("Db::docDups: no db\n"));
42
    LOGERR(("Db::docDups: no db\n"));
45
    return false;
43
    return false;