Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] commpiler, database, db3: We want also reader on root path

  • Loading branch information...
commit e2b8a85d64b3f8d60ede51d2600aad9c337dd57a 1 parent 4c07186
@BourgerieQuentin BourgerieQuentin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  libqmlcompil/dbGen/dbGen_private.ml
View
3  libqmlcompil/dbGen/dbGen_private.ml
@@ -403,8 +403,7 @@ module CodeGenerator ( Arg : DbGenByPass.S ) = struct
SchemaGraph0.fold_vertex
(fun n (d_acc,r_acc,w_acc) -> let nodeid = (V.label n).C.nodeid in
let d,r,w =
- if SchemaGraphLib.is_root n then None, None, None
- else match (V.label n).C.nlabel with
+ match (V.label n).C.nlabel with
| C.Leaf _l -> None, None, None
(* No accessors for leaves, they use the generic ones *)
| C.Multi when SchemaGraphLib.is_node_set sch n ->

0 comments on commit e2b8a85

Please sign in to comment.
Something went wrong with that request. Please try again.