From 3d1df12527d281b453c4ef97714bbd74d07ce7a9 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 26 Sep 2007 01:59:24 +0000 Subject: [PATCH] set mod->sm_numvals --- servers/slapd/overlays/pcache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 5506c22e3a..70ef66ac55 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1449,6 +1449,7 @@ remove_query_data( mod.sml_type = ad_queryId->ad_cname; mod.sml_values = vals; mod.sml_nvalues = NULL; + mod.sml_numvals = 1; mod.sml_next = NULL; Debug( pcache_debug, "REMOVING TEMP ATTR : TEMPLATE=%s\n", @@ -3353,6 +3354,7 @@ pcache_db_close( mod.sml_type = ad_cachedQueryURL->ad_cname; mod.sml_values = vals; mod.sml_nvalues = NULL; + mod.sml_numvals = 1; mod.sml_next = NULL; Debug( pcache_debug, "%sSETTING CACHED QUERY URLS\n", -- 2.39.5