Commit b4e2960
committed
issue #75: fix crash when retrieving cache info
It seems there are chances in which :mnesia.table_info can return
:undefined for :size and :memory entries.
This might be happening when Mnesia table is not yet fully loaded.
Signed-off-by: Matteo Cafasso <[email protected]>1 parent 9608636 commit b4e2960
1 file changed
+11
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
140 | 143 | | |
141 | 144 | | |
| |||
0 commit comments