Lines Matching refs:root
55 # Set the right-child of a B-Tree rootpage to refer to the root-page itself.
58 set ::root [execsql {SELECT rootpage FROM sqlite_master}]
59 set ::offset [expr {($::root-1)*1024}]
60 hexio_write test.db [expr $offset+8] [hexio_render_int32 $::root]
68 # root-page itself.
74 hexio_write test.db [expr $offset+$cell_offset] [hexio_render_int32 $::root]
100 # Set the right-child pointer of the right-child of the root page to point
101 # back to the root page.
107 hexio_write test.db [expr $c_offset+8] [hexio_render_int32 $::root]
114 # Set the left-child pointer of a cell of the right-child of the root page to
115 # point back to the root page.
121 hexio_write test.db [expr $c_offset+$cell_offset] [hexio_render_int32 $::root]
135 hexio_write test.db [expr $c_offset+8] [hexio_render_int32 $::root]
142 # Set the left-child pointer of a cell of the right-child of the root page to
143 # point back to the root page.
149 hexio_write test.db [expr $c_offset+$cell_offset] [hexio_render_int32 $::root]