things up.
* kdb_db2.h: Fix typo.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10137
dc483132-0cff-0310-8789-
dd5450dbe970
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.
bti.flags = 0;
bti.cachesize = 0;
- bti.psize = 1024; /* ??? */
+ bti.psize = 4096;
bti.lorder = 0;
bti.minkeypage = 0;
bti.compare = NULL;
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;
}
#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