diff options
author | Dan Gudmundsson <[email protected]> | 2016-05-24 16:17:51 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-05-24 16:17:51 +0200 |
commit | cba63cdb2c236c7e0a90070bb10217d5297f9dd7 (patch) | |
tree | 9fe9a457d85b0a0942dbecac36333885d39e0ebf /lib/mnesia/test/mnesia_examples_test.erl | |
parent | 83b3007c6776be6e35ad8909af1a9d0707baa4d9 (diff) | |
download | otp-cba63cdb2c236c7e0a90070bb10217d5297f9dd7.tar.gz otp-cba63cdb2c236c7e0a90070bb10217d5297f9dd7.tar.bz2 otp-cba63cdb2c236c7e0a90070bb10217d5297f9dd7.zip |
mnesia: Fix index match return patterns
When building match result patterns the tuples they must qouted
with { }, which causes a problem with variable patterns.
Use element(1, Match) instead of trying to build the two tuple.
Diffstat (limited to 'lib/mnesia/test/mnesia_examples_test.erl')
0 files changed, 0 insertions, 0 deletions