Skip to content

Commit

Permalink
DBM config: allow <delayloading val="false"/>
Browse files Browse the repository at this point in the history
  • Loading branch information
balat committed May 22, 2024
1 parent 2daa77d commit edd5f14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dbm/ocsipersist_config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ let rec parse_global_config ((store, ocsidbm, delayloading) as d) = function
| [] -> d
| Xml.Element ("delayloading", [("val", ("true" | "1"))], []) :: ll ->
parse_global_config (store, ocsidbm, true) ll
| Xml.Element ("delayloading", [("val", ("false" | "0"))], []) :: ll ->
parse_global_config (store, ocsidbm, false) ll
| Xml.Element ("store", [("dir", s)], []) :: ll ->
if store = None
then parse_global_config (Some s, ocsidbm, delayloading) ll
Expand Down

0 comments on commit edd5f14

Please sign in to comment.