aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/efficiency_guide/tablesDatabases.xml
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-01-27 11:49:57 +0100
committerHenrik Nord <[email protected]>2011-03-25 14:40:51 +0100
commite2ad0e63077cc08c14edebae54925c50828cde3a (patch)
tree206c66a2a8112a891d92431c9cd7f907ac4d238d /system/doc/efficiency_guide/tablesDatabases.xml
parentb2f3b6b3b254015e0fd6540353b22ccb3df71bf7 (diff)
downloadotp-e2ad0e63077cc08c14edebae54925c50828cde3a.tar.gz
otp-e2ad0e63077cc08c14edebae54925c50828cde3a.tar.bz2
otp-e2ad0e63077cc08c14edebae54925c50828cde3a.zip
Fix typos in efficiency guide
Diffstat (limited to 'system/doc/efficiency_guide/tablesDatabases.xml')
-rw-r--r--system/doc/efficiency_guide/tablesDatabases.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/doc/efficiency_guide/tablesDatabases.xml b/system/doc/efficiency_guide/tablesDatabases.xml
index 4b53348c4c..2f5103a08b 100644
--- a/system/doc/efficiency_guide/tablesDatabases.xml
+++ b/system/doc/efficiency_guide/tablesDatabases.xml
@@ -280,9 +280,9 @@ lists:filter(fun(X) -> X#person.name == "Bryan" end, TabList),
<p>A simple solution would be to use the <c>name</c> field as
the key instead of the <c>idno</c> field, but that would cause
problems if the names were not unique. A more general solution
- would be create a second table with name as key and idno as
- data, i.e. to index (invert) the table with regards to the
- <c>name</c> field. The second table would of course have to be
+ would be to create a second table with <c>name</c> as key and
+ <c>idno</c> as data, i.e. to index (invert) the table with regards
+ to the <c>name</c> field. The second table would of course have to be
kept consistent with the master table. Mnesia could do this
for you, but a home brew index table could be very efficient
compared to the overhead involved in using Mnesia.</p>