Any ideas why this db code chews the data while doing a DB walk with "seq"
and replacing data with "put"?
#include
#include
#include
#include
int main()
{
DB *db_p;
DBT db_key, db_val;
char buf[16];
int i, r, flags;
db_p = dbopen("test.db", O_RDWR|O_CR
Any ideas why this db code chews the data while doing a DB walk with "seq"
and replacing data with "put"?
#include
#include
#include
#include
int main()
{
DB *db_p;
DBT db_key, db_val;
char buf[16];
int i, r, flags;
db_p = dbopen("test.db", O_RDWR|O_CR