mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Website redesign in preparation for adding version 3 documentation. (CVS 1506)
FossilOrigin-Name: 2052911b1fd119af9dbd81fdfe80244685f58212
This commit is contained in:
@ -1,19 +1,12 @@
|
||||
#
|
||||
# Run this Tcl script to generate the sqlite.html file.
|
||||
#
|
||||
set rcsid {$Id: opcode.tcl,v 1.12 2003/06/29 16:11:13 drh Exp $}
|
||||
|
||||
puts {<html>
|
||||
<head>
|
||||
<title>SQLite Virtual Machine Opcodes</title>
|
||||
</head>
|
||||
<body bgcolor=white>
|
||||
<h1 align=center>
|
||||
SQLite Virtual Machine Opcodes
|
||||
</h1>}
|
||||
puts "<p align=center>
|
||||
(This page was last modified on [lrange $rcsid 3 4] UTC)
|
||||
</p>"
|
||||
set rcsid {$Id: opcode.tcl,v 1.13 2004/05/31 15:06:30 drh Exp $}
|
||||
source common.tcl
|
||||
header {SQLite Virtual Machine Opcodes}
|
||||
puts {
|
||||
<h2>SQLite Virtual Machine Opcodes</h2>
|
||||
}
|
||||
|
||||
set fd [open [lindex $argv 0] r]
|
||||
set file [read $fd [file size [lindex $argv 0]]]
|
||||
@ -46,7 +39,7 @@ foreach line [split $file \n] {
|
||||
unset file
|
||||
|
||||
puts {
|
||||
<h2>Introduction</h2>
|
||||
<h3>Introduction</h3>
|
||||
|
||||
<p>In order to execute an SQL statement, the SQLite library first parses
|
||||
the SQL, analyzes the statement, then generates a short program to execute
|
||||
@ -147,7 +140,7 @@ There are operations to read or write to memory slots of the aggregator
|
||||
in focus. There are also operations to change the focus aggregator
|
||||
and to scan through all aggregators.</p>
|
||||
|
||||
<h2>Viewing Programs Generated By SQLite</h2>
|
||||
<h3>Viewing Programs Generated By SQLite</h3>
|
||||
|
||||
<p>Every SQL statement that SQLite interprets results in a program
|
||||
for the virtual machine. But if you precede the SQL statement with
|
||||
@ -224,7 +217,7 @@ PRAGMA vdbe_trace=on;
|
||||
You can turn tracing back off by entering a similar statement but
|
||||
changing the value "on" to "off".</p>
|
||||
|
||||
<h2>The Opcodes</h2>
|
||||
<h3>The Opcodes</h3>
|
||||
}
|
||||
|
||||
puts "<p>There are currently [llength $OpcodeList] opcodes defined by
|
||||
@ -242,11 +235,4 @@ foreach op [lsort -dictionary $OpcodeList] {
|
||||
puts "<td>[string trim $Opcode($op:text)]</td></tr>"
|
||||
}
|
||||
puts {</table></p>}
|
||||
|
||||
puts {
|
||||
<p><hr /></p>
|
||||
<p><a href="index.html"><img src="/goback.jpg" border=0 />
|
||||
Back to the SQLite Home Page</a>
|
||||
</p>
|
||||
|
||||
</body></html>}
|
||||
footer $rcsid
|
||||
|
Reference in New Issue
Block a user