aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/doc
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-02-13 15:16:40 +0100
committerZandra Hird <[email protected]>2015-02-13 15:16:40 +0100
commitef8b1e3e8c908379cec8376ed515c920682224f9 (patch)
treeb9d27327477aef11d5f9d3a40e2620b101042082 /lib/mnesia/doc
parent61ba469b7c5aa2ea68eba3268544543be5d7b0d6 (diff)
parenteb87eaca8c4ec7beab490cb8dcca5941408e8662 (diff)
downloadotp-ef8b1e3e8c908379cec8376ed515c920682224f9.tar.gz
otp-ef8b1e3e8c908379cec8376ed515c920682224f9.tar.bz2
otp-ef8b1e3e8c908379cec8376ed515c920682224f9.zip
Merge branch 'emauton/mnesia_create_table_docfix' into maint
* emauton/mnesia_create_table_docfix: Fix index for #person.address in create_table/2
Diffstat (limited to 'lib/mnesia/doc')
-rw-r--r--lib/mnesia/doc/src/mnesia.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/doc/src/mnesia.xml b/lib/mnesia/doc/src/mnesia.xml
index 5e450cbb3a..ed5b879f7f 100644
--- a/lib/mnesia/doc/src/mnesia.xml
+++ b/lib/mnesia/doc/src/mnesia.xml
@@ -863,7 +863,7 @@ mnesia:create_table(person,
{attributes, record_info(fields,person)}]).
</code>
<p>The specification of <c>index</c> and <c>attributes</c> may be
- hard coded as <c>{index, [2]}</c> and
+ hard coded as <c>{index, [4]}</c> and
<c>{attributes, [name, age, address, salary, children]}</c>
respectively.
</p>