Open cursor for bulk retrieval

This commit is contained in:
Viktor Dukhovni
2012-05-17 19:21:01 +00:00
committed by Roland C. Dowdeswell
parent 7af81533ef
commit e41ff9c0f5

View File

@@ -345,7 +345,7 @@ DB_open(krb5_context context, HDB *db, int flags, mode_t mode)
return ret;
}
ret = (*d->cursor)(d, NULL, &dbc, 0);
ret = (*d->cursor)(d, NULL, &dbc, DB_CURSOR_BULK);
if (ret) {
krb5_set_error_message(context, ret, "d->cursor: %s", strerror(ret));
return ret;