aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/doc/src/Mnesia_chap2.xmlsrc
diff options
context:
space:
mode:
authorBoris 'billiob' Faure <[email protected]>2010-11-01 22:13:45 +0100
committerBoris 'billiob' Faure <[email protected]>2010-11-01 22:13:45 +0100
commit0d66208766000c58222b2ba471178fb956fc8f31 (patch)
tree712dbd09e63bc062234c2ac1b7c5b7b023dba469 /lib/mnesia/doc/src/Mnesia_chap2.xmlsrc
parent61b173e47e4157e784f32fc46a9867fbadc9a53a (diff)
downloadotp-0d66208766000c58222b2ba471178fb956fc8f31.tar.gz
otp-0d66208766000c58222b2ba471178fb956fc8f31.tar.bz2
otp-0d66208766000c58222b2ba471178fb956fc8f31.zip
remove '\011' from mnesia doc
Diffstat (limited to 'lib/mnesia/doc/src/Mnesia_chap2.xmlsrc')
-rw-r--r--lib/mnesia/doc/src/Mnesia_chap2.xmlsrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mnesia/doc/src/Mnesia_chap2.xmlsrc b/lib/mnesia/doc/src/Mnesia_chap2.xmlsrc
index f263ea4ed2..2e2cc386b7 100644
--- a/lib/mnesia/doc/src/Mnesia_chap2.xmlsrc
+++ b/lib/mnesia/doc/src/Mnesia_chap2.xmlsrc
@@ -551,7 +551,7 @@ In_proj</tcaption>
stored in the database:
</p>
<pre>
-\011 mnesia:select(employee, [{#employee{sex = female, name = '$1', _ = '_'},[], ['$1']}]).
+mnesia:select(employee, [{#employee{sex = female, name = '$1', _ = '_'},[], ['$1']}]).
</pre>
<p>Select must always run within an activity such as a
transaction. To be able to call from the shell we might
@@ -585,8 +585,8 @@ In_proj</tcaption>
</p>
<pre>
Q = qlc:q([E#employee.name || E <![CDATA[<-]]> mnesia:table(employee),
-\011 E#employee.sex == female]),
-\011 qlc:e(Q),
+ E#employee.sex == female]),
+ qlc:e(Q),
</pre>
<p>Accessing mnesia tables from a QLC list comprehension must
always be done within a transaction. Consider the following