diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2014-04-16 07:00:18 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2014-04-16 07:00:18 +0100 |
| commit | d322055e28be2bfbee71e9400d2aa55752795cf3 (patch) | |
| tree | 19b54e972992c59dc08d52e999ab3d8f29a5db4a | |
| parent | beb47817caa0f0a4a72a1588062b7b9c8a05f673 (diff) | |
| download | rabbitmq-server-git-d322055e28be2bfbee71e9400d2aa55752795cf3.tar.gz | |
cosmetic-ish: add a missing ?TABLE abstraction
| -rw-r--r-- | src/mirrored_supervisor.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl index 7a35245167..1ed6d71098 100644 --- a/src/mirrored_supervisor.erl +++ b/src/mirrored_supervisor.erl @@ -446,10 +446,10 @@ supervisor(Pid) -> with_exit_handler(fun() -> dead end, fun() -> delegate(Pid) end). write(Group, Overall, ChildSpec) -> - ok = mnesia:write( - #mirrored_sup_childspec{key = {Group, id(ChildSpec)}, - mirroring_pid = Overall, - childspec = ChildSpec}), + S = #mirrored_sup_childspec{key = {Group, id(ChildSpec)}, + mirroring_pid = Overall, + childspec = ChildSpec}, + ok = mnesia:write(?TABLE, S, write), ChildSpec. delete(Group, Id) -> |
