aboutsummaryrefslogtreecommitdiffstats
path: root/lib/planner.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2025-07-03 19:43:29 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2025-07-03 19:43:29 -0300
commit481063c322ecc729bc9d3c5d2bca830f70ce8022 (patch)
tree948d88af8345a3a493bffff796c5b212f29acd85 /lib/planner.ml
parentab7ce52387d0de7160f1fac71f61c76ab1b150f7 (diff)
downloadSakura-ocaml_archive.tar.gz
Sakura-ocaml_archive.zip
schema propagation commandocaml_archive
Diffstat (limited to 'lib/planner.ml')
-rw-r--r--lib/planner.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/planner.ml b/lib/planner.ml
index c66e46b..8127c41 100644
--- a/lib/planner.ml
+++ b/lib/planner.ml
@@ -162,6 +162,8 @@ module Executor = struct
open Disk.Executor
let perform (commit : Executor.commit) (locations : Executor.locations) (command : Command.t) =
match command with
+ | State ->
+ Ok ((commit, locations), Command.Schema (StringMap.to_list commit.schema))
| Nest {relation_name;} ->
let results = Join.nest commit locations relation_name in
Ok ((commit, locations), Command.Read results)