1999-02-06 00:23:03 +08:00
|
|
|
/* abandon.c - ldbm backend abandon routine */
|
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <ac/string.h>
|
1999-03-06 08:57:25 +08:00
|
|
|
#include <ac/time.h>
|
|
|
|
#include <ac/unistd.h>
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
#include "slap.h"
|
|
|
|
#include "back-bdb2.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*ARGSUSED*/
|
|
|
|
static int
|
|
|
|
bdb2i_back_abandon_internal(
|
1999-02-08 19:42:14 +08:00
|
|
|
BackendDB *be,
|
1999-02-06 00:23:03 +08:00
|
|
|
Connection *c,
|
|
|
|
Operation *o,
|
|
|
|
int msgid )
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
bdb2_back_abandon(
|
1999-02-08 19:42:14 +08:00
|
|
|
BackendDB *be,
|
1999-02-12 22:36:16 +08:00
|
|
|
Connection *conn,
|
|
|
|
Operation *op,
|
1999-02-06 00:23:03 +08:00
|
|
|
int msgid )
|
|
|
|
{
|
1999-02-12 22:36:16 +08:00
|
|
|
struct timeval time1;
|
|
|
|
int ret;
|
1999-02-06 00:23:03 +08:00
|
|
|
|
1999-02-12 23:22:43 +08:00
|
|
|
bdb2i_start_timing( be->bd_info, &time1 );
|
1999-02-06 00:23:03 +08:00
|
|
|
|
1999-02-12 22:36:16 +08:00
|
|
|
ret = bdb2i_back_abandon_internal( be, conn, op, msgid );
|
1999-02-06 00:23:03 +08:00
|
|
|
|
1999-02-12 23:22:43 +08:00
|
|
|
bdb2i_stop_timing( be->bd_info, time1, "ABND", conn, op );
|
1999-02-06 00:23:03 +08:00
|
|
|
|
|
|
|
return( ret );
|
|
|
|
}
|
|
|
|
|
|
|
|
|