Fix index for #person.address in create_table/2
Cian Synnott <[email protected]> Sun, 18 Jan 2015 22:59:40 +0000
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <CAFS-AQ1VfxWYH-ZkHVtvjA-6+CizwMX5_5BW5gdJXBZn9JqcnA@mail.gmail.com> |
A tiny documentation nit:
{index, [2]} refers to #person.name rather than #person.address, which
caused a little confusion in #erlang today.
{index, [4]} is the correct "hard coded" field for #person.address.
git fetch git://github.com/emauton/otp.git mnesia_create_table_docfix
https://github.com/emauton/otp/compare/erlang:maint...mnesia_create_table_docfix
https://github.com/emauton/otp/compare/erlang:maint...mnesia_create_table_docfix.patch
https://github.com/erlang/otp/pull/591
Cian
_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches