Optimized datastore access by ensuring REPORT_ALL in memory and EXPLICIT in file

This commit is contained in:
Olof hagsand 2024-02-01 20:14:10 +01:00
parent 9989ee4d52
commit f8de2b7c0a
12 changed files with 183 additions and 217 deletions

View file

@ -1660,7 +1660,10 @@ xml_copy_marked(cxobj *x0,
char *name;
char *prefix;
assert(x0 && x1);
if (x0 == NULL || x1 == NULL){
clixon_err(OE_UNIX, EINVAL, "x0 or x1 is NULL");
goto done;
}
yt = xml_spec(x0); /* can be null */
xml_spec_set(x1, yt);
/* Copy prefix*/