Minor IDL tweaks

This commit is contained in:
Howard Chu 2002-02-08 06:42:34 +00:00
parent 01c6a1946e
commit b2eec644fa

View File

@ -226,14 +226,14 @@ bdb_idl_fetch_key(
#ifdef BDB_IDL_MULTI #ifdef BDB_IDL_MULTI
{ {
DBC *cursor; DBC *cursor;
ID buf[BDB_IDL_UM_SIZE]; ID buf[BDB_IDL_DB_SIZE];
ID *i; ID *i;
void *ptr; void *ptr;
size_t len; size_t len;
int rc2; int rc2;
int flags = bdb->bi_db_opflags | DB_MULTIPLE; int flags = bdb->bi_db_opflags | DB_MULTIPLE;
data.data = buf; data.data = buf;
data.ulen = BDB_IDL_UM_SIZEOF; data.ulen = sizeof(buf);
data.flags = DB_DBT_USERMEM; data.flags = DB_DBT_USERMEM;
if ( tid ) if ( tid )
@ -343,7 +343,7 @@ bdb_idl_insert_key(
DBTzero( &data ); DBTzero( &data );
#ifdef BDB_IDL_MULTI #ifdef BDB_IDL_MULTI
{ {
ID buf[BDB_IDL_DB_MAX]; ID buf[BDB_IDL_DB_SIZE];
DBC *cursor; DBC *cursor;
ID lo, hi; ID lo, hi;
char *err; char *err;