Open cursor for bulk retrieval
This commit is contained in:

committed by
Roland C. Dowdeswell

parent
7af81533ef
commit
e41ff9c0f5
@@ -345,7 +345,7 @@ DB_open(krb5_context context, HDB *db, int flags, mode_t mode)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = (*d->cursor)(d, NULL, &dbc, 0);
|
ret = (*d->cursor)(d, NULL, &dbc, DB_CURSOR_BULK);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
krb5_set_error_message(context, ret, "d->cursor: %s", strerror(ret));
|
krb5_set_error_message(context, ret, "d->cursor: %s", strerror(ret));
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user