rpm  5.2.1
Files | Data Structures | Functions
RPMDBI DataBase Index Element API.
Collaboration diagram for RPMDBI DataBase Index Element API.:

Files

file  rpmlib.h
 In Memoriam: Steve Taylor stayl.nosp@m.or@r.nosp@m.edhat.nosp@m..com was here, now he's not.
 
file  rpmdb.c
 
file  rpmdb.h
 Access RPM indices using Berkeley DB interface(s).
 

Data Structures

struct  dbiHStats_s
 Hash database statistics. More...
 
struct  dbiBStats_s
 B-tree database statistics. More...
 

Functions

static int sql_stat (dbiIndex dbi, unsigned int flags)
 Save statistics in database handle.
 

Detailed Description

Function Documentation

static int sql_stat ( dbiIndex  dbi,
unsigned int  flags 
)
static

Save statistics in database handle.

Parameters
dbiindex database handle
flagsretrieve statistics that don't require traversal?
Returns
0 on success

Definition at line 1536 of file sqlite.c.

References _free(), D_, _sql_db_s::db, enterChroot(), leaveChroot(), rpmlog(), RPMLOG_DEBUG, scpFree(), scpNew(), and xcalloc().