Skip to content
Snippets Groups Projects
Commit 5389e40b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

initialize nextid with NOID not -1.

parent 2318ea0f
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ldbm_back_init( ...@@ -27,7 +27,7 @@ ldbm_back_init(
li = (struct ldbminfo *) ch_calloc( 1, sizeof(struct ldbminfo) ); li = (struct ldbminfo *) ch_calloc( 1, sizeof(struct ldbminfo) );
/* arrange to read nextid later (on first request for it) */ /* arrange to read nextid later (on first request for it) */
li->li_nextid = -1; li->li_nextid = NOID;
/* default cache size */ /* default cache size */
li->li_cache.c_maxsize = DEFAULT_CACHE_SIZE; li->li_cache.c_maxsize = DEFAULT_CACHE_SIZE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment