diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/kdb/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/kdb/kdb_db2.c | 6 | ||||
-rw-r--r-- | src/lib/kdb/kdb_db2.h | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/kdb/ChangeLog b/src/lib/kdb/ChangeLog index 05497b1..054827e 100644 --- a/src/lib/kdb/ChangeLog +++ b/src/lib/kdb/ChangeLog @@ -1,5 +1,10 @@ Fri Jul 25 15:29:03 1997 Tom Yu <tlyu@mit.edu> + * kdb_db2.c: Fix typo; also, tweak page size in attempt to speed + things up. + + * kdb_db2.h: Fix typo. + * t_kdb.c: Reflect changes in the API, mostly db_create. * Makefile.in: Bump version due to major reworking. diff --git a/src/lib/kdb/kdb_db2.c b/src/lib/kdb/kdb_db2.c index 703c11d..83f7055 100644 --- a/src/lib/kdb/kdb_db2.c +++ b/src/lib/kdb/kdb_db2.c @@ -180,7 +180,7 @@ k5db2_dbopen(dbc, fname, flags, mode) bti.flags = 0; bti.cachesize = 0; - bti.psize = 1024; /* ??? */ + bti.psize = 4096; bti.lorder = 0; bti.minkeypage = 0; bti.compare = NULL; @@ -1180,10 +1180,8 @@ kdb5_context_size(kcontext, arg, sizep) kret = EINVAL; if ((dbctx = (krb5_db2_context *) arg)) { required = (sizeof(krb5_int32) * 7); -#ifdef notdef - if (dbctx->db_inited && dbctx->db_dispatch && dbctx->db_name) + if (dbctx->db_inited && dbctx->db_name) required += strlen(dbctx->db_name); -#endif kret = 0; *sizep += required; } diff --git a/src/lib/kdb/kdb_db2.h b/src/lib/kdb/kdb_db2.h index 2c02219..30359d7 100644 --- a/src/lib/kdb/kdb_db2.h +++ b/src/lib/kdb/kdb_db2.h @@ -32,7 +32,7 @@ #define krb5_db2_db_fini krb5_db_fini #define krb5_db2_db_get_age krb5_db_get_age #define krb5_db2_db_create krb5_db_create -#define krb5_db2_db_destroy kdb5_db_destroy +#define krb5_db2_db_destroy krb5_db_destroy #define krb5_db2_db_rename krb5_db_rename #define krb5_db2_db_get_principal krb5_db_get_principal #define krb5_db2_db_free_principal krb5_db_free_principal |