SQLite

Check-in [a026189aa4]
Login

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

Overview
Comment:Tweak the tool/cg_anno.tcl script so that it can run on systems without /usr/bin/tclsh.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a026189aa46114d2de4f1da5882aeef9cf446a5aa6ea068d51c27df0d7302ddb
User & Date: dan 2019-03-19 11:35:18.533
Context
2019-03-19
15:36
When computing the amount of scratch memory needed during a rebalance operation, assume the worst case for the number of cells per page, rather than relying on the BtPage.nCell value, which might be incorrect for a corrupt database. (check-in: a420ebd08f user: drh tags: trunk)
11:35
Tweak the tool/cg_anno.tcl script so that it can run on systems without /usr/bin/tclsh. (check-in: a026189aa4 user: dan tags: trunk)
09:57
Add a LICENSE.md, containing the text of the blessing. (check-in: cbb7e60272 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to tool/cg_anno.tcl.
1


2
3
4
5
6
7
8
#!/usr/bin/tclsh


#
# A wrapper around cg_annotate that sets appropriate command-line options
# and rearranges the output so that annotated files occur in a consistent
# sorted order.  Used by the speed-check.tcl script.
#

set in [open "|cg_annotate --show=Ir --auto=yes --context=40 $argv" r]
|
>
>







1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# \
exec tclsh "$0" ${1+"$@"}
#
# A wrapper around cg_annotate that sets appropriate command-line options
# and rearranges the output so that annotated files occur in a consistent
# sorted order.  Used by the speed-check.tcl script.
#

set in [open "|cg_annotate --show=Ir --auto=yes --context=40 $argv" r]