Documentation Source Text

Check-in [9ceaba9f7f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in the RTREE documentation.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9ceaba9f7f831c8fca0daa978b4363e5c508bfd7
User & Date: drh 2013-08-19 14:26:23
Context
2013-08-20
17:06
Fix typos in the cache_spill pragma documentation. check-in: 4bfef7edb7 user: drh tags: trunk
2013-08-19
21:17
Initial docs for tointeger() and toreal() SQL functions. check-in: 083cd58817 user: mistachkin tags: toTypeFuncs
14:26
Fix a typo in the RTREE documentation. check-in: 9ceaba9f7f user: drh tags: trunk
2013-08-17
17:56
Add documentation for the cache_spill pragma. check-in: 74740a2d9e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to pages/rtree.in.

   323    323   
   324    324   <p>
   325    325   The default virtual table ("rtree") normally stores coordinates as
   326    326   single-precision (4-byte) floating point numbers.  If integer coordinates
   327    327   are desired, declare the table using "rtree_i32" instead:
   328    328   
   329    329   <blockquote><pre>
   330         -CREATE VIRTUAL TABLE intrtree USING rtree_i32(id,x0,x1,y0,y1,z0,y1);
          330  +CREATE VIRTUAL TABLE intrtree USING rtree_i32(id,x0,x1,y0,y1,z0,z1);
   331    331   </pre></blockquote>
   332    332   
   333    333   <p>
   334    334   An rtree_i32 stores coordinates as 32-bit signed integers.  But it still
   335    335   using floating point computations internally as part of the r-tree algorithm.
   336    336   For applications running on processors without hardware floating point,
   337    337   it might be desirable to have a pure integer implementation of r-trees.