aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src
diff options
context:
space:
mode:
authorAndras Boroska <[email protected]>2017-11-27 20:11:14 +0100
committerAndras Boroska <[email protected]>2017-11-27 21:25:33 +0100
commitf6edffebcfd7973a747513585b7e8490e694402e (patch)
treeb31de7393cacf474122efd0d855829fa3634e9cb /lib/mnesia/src
parent7716381b10e23709b3c383e3fb5c8fcd579bf799 (diff)
downloadotp-f6edffebcfd7973a747513585b7e8490e694402e.tar.gz
otp-f6edffebcfd7973a747513585b7e8490e694402e.tar.bz2
otp-f6edffebcfd7973a747513585b7e8490e694402e.zip
Fix type create_option() in mnesia
The create_option() type in mnesia lacks the user_properties field which is used by mnesia in various places.
Diffstat (limited to 'lib/mnesia/src')
-rw-r--r--lib/mnesia/src/mnesia.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia.erl b/lib/mnesia/src/mnesia.erl
index b68b2de028..1842769778 100644
--- a/lib/mnesia/src/mnesia.erl
+++ b/lib/mnesia/src/mnesia.erl
@@ -151,7 +151,8 @@
{'snmp', SnmpStruct::term()} |
{'storage_properties', [{Backend::module(), [BackendProp::_]}]} |
{'type', 'set' | 'ordered_set' | 'bag'} |
- {'local_content', boolean()}.
+ {'local_content', boolean()} |
+ {'user_properties', proplists:proplist()}.
-type t_result(Res) :: {'atomic', Res} | {'aborted', Reason::term()}.
-type activity() :: 'ets' | 'async_dirty' | 'sync_dirty' | 'transaction' | 'sync_transaction' |