Fix index for #person.address in create_table/2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fix index for #person.address in create_table/2

Cian Synnott-2
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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-patches