亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? opcode.tcl

?? 這是一個嵌入式系統上運行的輕量級數據庫
?? TCL
字號:
## 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 fd [open [lindex $argv 0] r]set file [read $fd [file size [lindex $argv 0]]]close $fdset current_op {}foreach line [split $file \n] {  set line [string trim $line]  if {[string index $line 1]!="*"} {    set current_op {}    continue  }  if {[regexp {^/\* Opcode: } $line]} {    set current_op [lindex $line 2]    set Opcode($current_op:args) [lrange $line 3 end]    lappend OpcodeList $current_op    continue  }  if {$current_op==""} continue  if {[regexp {^\*/} $line]} {    set current_op {}    continue  }  set line [string trim [string range $line 3 end]]  if {$line==""} {    append Opcode($current_op:text) \n<p>  } else {    append Opcode($current_op:text) \n$line  }}unset fileputs {<h2>Introduction</h2><p>In order to execute an SQL statement, the SQLite library first parsesthe SQL, analyzes the statement, then generates a short program to executethe statement.  The program is generated for a "virtual machine" implementedby the SQLite library.  This document describes the operation of thatvirtual machine.</p><p>This document is intended as a reference, not a tutorial.A separate <a href="vdbe.html">Virtual Machine Tutorial</a> is available.  If you are looking for a narrative descriptionof how the virtual machine works, you should read the tutorialand not this document.  Once you have a basic idea of what thevirtual machine does, you can refer back to this document forthe details on a particular opcode.Unfortunately, the virtual machine tutorial was written forSQLite version 1.0.  There are substantial changes in the virtualmachine for version 2.0 and the document has not been updated.</p><p>The source code to the virtual machine is in the <b>vdbe.c</b> sourcefile.  All of the opcode definitions further down in this document arecontained in comments in the source file.  In fact, the opcode tablein this documentwas generated by scanning the <b>vdbe.c</b> source file and extracting the necessary information from comments.  So the source code comments are really the canonical source of informationabout the virtual macchine.  When in doubt, refer to the source code.</p><p>Each instruction in the virtual machine consists of an opcode andup to three operands named P1, P2 and P3.  P1 may be an arbitraryinteger.  P2 must be a non-negative integer.  P2 is always thejump destination in any operation that might cause a jump.P3 is a null-terminatedstring or NULL.  Some operators use all three operands.  Some useone or two.  Some operators use none of the operands.<p><p>The virtual machine begins execution on instruction number 0.Execution continues until (1) a Halt instruction is seen, or (2) the program counter becomes one greater than the address oflast instruction, or (3) there is an execution error.When the virtual machine halts, all memorythat it allocated is released and all database cursors it mayhave had open are closed.  If the execution stopped due to anerror, any pending transactions are terminated and changes madeto the database are rolled back.</p><p>The virtual machine also contains an operand stack of unlimiteddepth.  Many of the opcodes use operands from the stack.  See theindividual opcode descriptions for details.</p><p>The virtual machine can have zero or more cursors.  Each cursoris a pointer into a single table or index within the database.There can be multiple cursors pointing at the same index or table.All cursors operate independently, even cursors pointing to the sameindices or tables.The only way for the virtual machine to interact with a databasefile is through a cursor.Instructions in the virtualmachine can create a new cursor (Open), read data from a cursor(Column), advance the cursor to the next entry in the table(Next) or index (NextIdx), and many other operations.All cursors are automaticallyclosed when the virtual machine terminates.</p><p>The virtual machine contains an arbitrary number of fixed memorylocations with addresses beginning at zero and growing upward.Each memory location can hold an arbitrary string.  The memorycells are typically used to hold the result of a scalar SELECTthat is part of a larger expression.</p><p>The virtual machine contains a single sorter.The sorter is able to accumulate records, sort those records,then play the records back in sorted order.  The sorter is usedto implement the ORDER BY clause of a SELECT statement.</p><p>The virtual machine contains a single "List".The list stores a list of integers.  The list is used to hold therowids for records of a database table that needs to be modified.The WHERE clause of an UPDATE or DELETE statement scans throughthe table and writes the rowid of every record to be modifiedinto the list.  Then the list is played back and the table is modifiedin a separate step.</p><p>The virtual machine can contain an arbitrary number of "Sets".Each set holds an arbitrary number of strings.  Sets are used toimplement the IN operator with a constant right-hand side.</p><p>The virtual machine can open a single external file for reading.This external read file is used to implement the COPY command.</p><p>Finally, the virtual machine can have a single set of aggregators.An aggregator is a device used to implement the GROUP BY clauseof a SELECT.  An aggregator has one or more slots that can holdvalues being extracted by the select.  The number of slots is thesame for all aggregators and is defined by the AggReset operation.At any point in time a single aggregator is current or "has focus".There are operations to read or write to memory slots of the aggregatorin focus.  There are also operations to change the focus aggregatorand to scan through all aggregators.</p><h2>Viewing Programs Generated By SQLite</h2><p>Every SQL statement that SQLite interprets results in a programfor the virtual machine.  But if you precede the SQL statement withthe keyword "EXPLAIN" the virtual machine will not execute theprogram.  Instead, the instructions of the program will be returnedlike a query result.  This feature is useful for debugging andfor learning how the virtual machine operates.</p><p>You can use the <b>sqlite</b> command-line tool to see theinstructions generated by an SQL statement.  The following isan example:</p>}proc Code {body} {  puts {<blockquote><tt>}  regsub -all {&} [string trim $body] {\&amp;} body  regsub -all {>} $body {\&gt;} body  regsub -all {<} $body {\&lt;} body  regsub -all {\(\(\(} $body {<b>} body  regsub -all {\)\)\)} $body {</b>} body  regsub -all { } $body {\&nbsp;} body  regsub -all \n $body <br>\n body  puts $body  puts {</tt></blockquote>}}Code {$ (((sqlite ex1)))sqlite> (((.explain)))sqlite> (((explain delete from tbl1 where two<20;)))addr  opcode        p1     p2     p3                                      ----  ------------  -----  -----  ----------------------------------------0     Transaction   0      0                                              1     VerifyCookie  219    0                                              2     ListOpen      0      0                                              3     Open          0      3      tbl1                                    4     Rewind        0      0                                              5     Next          0      12                                             6     Column        0      1                                              7     Integer       20     0                                              8     Ge            0      5                                              9     Recno         0      0                                              10    ListWrite     0      0                                              11    Goto          0      5                                              12    Close         0      0                                              13    ListRewind    0      0                                              14    OpenWrite     0      3                                              15    ListRead      0      19                                             16    MoveTo        0      0                                              17    Delete        0      0                                              18    Goto          0      15                                             19    ListClose     0      0                                              20    Commit        0      0                                              }puts {<p>All you have to do is add the "EXPLAIN" keyword to the front of theSQL statement.  But if you use the ".explain" command to <b>sqlite</b>first, it will set up the output mode to make the program more easilyviewable.</p><p>If <b>sqlite</b> has been compiled without the "-DNDEBUG=1" option(that is, with the NDEBUG preprocessor macro not defined) then youcan put the SQLite virtual machine in a mode where it will trace itsexecution by writing messages to standard output.  The non-standardSQL "PRAGMA" comments can be used to turn tracing on and off.  Toturn tracing on, enter:</p><blockquote><pre>PRAGMA vdbe_trace=on;</pre></blockquote><p>You can turn tracing back off by entering a similar statement butchanging the value "on" to "off".</p><h2>The Opcodes</h2>}puts "<p>There are currently [llength $OpcodeList] opcodes defined bythe virtual machine."puts {All currently defined opcodes are described in the table below.This table was generated automatically by scanning the source codefrom the file <b>vdbe.c</b>.</p>}puts {<p><table cellspacing="1" border="1" cellpadding="10"><tr><th>Opcode&nbsp;Name</th><th>Description</th></tr>}foreach op [lsort -dictionary $OpcodeList] {  puts {<tr><td valign="top" align="center">}  puts "<a name=\"$op\">$op</a>"  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>}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色综合影院| 51午夜精品国产| 欧美精品自拍偷拍| 精品播放一区二区| 一区二区视频在线| 久久国产综合精品| 色欧美日韩亚洲| 欧美精品一区二区三区久久久| 国产精品乱码一区二区三区软件| 亚洲国产精品一区二区久久恐怖片 | 欧美一区二区三区在线| 日韩亚洲电影在线| 亚洲美女在线一区| 国产一区二区三区日韩 | 蜜臀av国产精品久久久久| 成人sese在线| 欧美电影免费观看高清完整版在线 | 亚洲免费在线看| 久久成人精品无人区| 91一区在线观看| 久久久蜜臀国产一区二区| 日韩精品每日更新| 一本色道久久综合亚洲91| 精品国产三级电影在线观看| 一区二区免费视频| 99国产精品久久久久| 久久久久久久久久久电影| 视频一区在线播放| 日本韩国一区二区三区视频| 欧美a级一区二区| 亚洲精品伦理在线| 欧美老女人在线| 午夜电影一区二区三区| 91美女福利视频| 久久久久久久久久久久久久久99 | 亚洲一区二区av在线| 懂色av一区二区三区蜜臀| 日韩一区二区在线免费观看| 亚洲国产精品久久久男人的天堂 | 韩国理伦片一区二区三区在线播放| 欧美性猛交一区二区三区精品| 综合色天天鬼久久鬼色| 成人国产电影网| 国产欧美日韩中文久久| 国产偷v国产偷v亚洲高清| 精品国产网站在线观看| 91精品国产丝袜白色高跟鞋| 欧美群妇大交群中文字幕| 一区二区三区欧美亚洲| 色婷婷综合中文久久一本| 国产精品无遮挡| 国产精品亚洲成人| 国产精品色呦呦| eeuss鲁片一区二区三区在线看| 国产精品午夜免费| 91麻豆蜜桃一区二区三区| 亚洲裸体xxx| 欧美日韩mp4| 激情综合色播五月| 中文字幕不卡一区| 91国产成人在线| 日韩在线卡一卡二| 日韩美女主播在线视频一区二区三区| 毛片av一区二区| 国产精品污www在线观看| 波多野结衣的一区二区三区| 不卡的电影网站| 国产精品99精品久久免费| 国产亚洲成年网址在线观看| jizzjizzjizz欧美| 天天综合天天综合色| 精品对白一区国产伦| 成人精品国产福利| 亚洲成人精品在线观看| 日韩精品一区二区三区四区视频 | 国产精品天天摸av网| 91丨九色丨黑人外教| 三级欧美在线一区| 亚洲国产精品传媒在线观看| 在线精品视频一区二区| 久久99精品久久久久久久久久久久| 国产欧美综合在线观看第十页| 色av综合在线| 久久福利视频一区二区| 国产精品成人一区二区三区夜夜夜| 欧美性感一类影片在线播放| 国产最新精品免费| 亚洲一区二区av在线| 久久亚洲影视婷婷| 在线观看视频一区| 国产成人午夜精品影院观看视频| 亚洲黄色小说网站| 久色婷婷小香蕉久久| 成人动漫一区二区三区| 日韩欧美国产午夜精品| 国产一区二三区| 亚洲色图视频网| 精品国精品自拍自在线| 欧美日韩一级片网站| 成人综合婷婷国产精品久久免费| 丝袜诱惑亚洲看片| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲1区2区3区视频| 久久五月婷婷丁香社区| 制服.丝袜.亚洲.中文.综合| 91论坛在线播放| 成人免费的视频| 国产一区二区三区av电影 | 欧美一级生活片| 在线看日韩精品电影| 亚洲欧洲日产国码二区| 亚洲一区中文日韩| 国产精品欧美经典| ww亚洲ww在线观看国产| 91精品国产综合久久精品app| 99国产精品视频免费观看| 国产91在线观看丝袜| 精品无码三级在线观看视频| 日韩激情一二三区| 亚洲va国产天堂va久久en| 亚洲综合激情网| 亚洲综合成人在线视频| 亚洲综合色成人| 亚洲成人激情社区| 亚洲乱码国产乱码精品精的特点| 亚洲欧洲成人精品av97| 国产精品久久久99| 最近中文字幕一区二区三区| 国产精品第一页第二页第三页| 久久久国产精华| 国产欧美日本一区二区三区| 国产亚洲视频系列| 国产区在线观看成人精品| 亚洲美女屁股眼交3| 在线观看亚洲成人| 麻豆精品一二三| 国产精品久久久久久久裸模| 精品裸体舞一区二区三区| 日韩欧美一级精品久久| 久久亚洲精精品中文字幕早川悠里| 精品成人一区二区三区四区| 国产网站一区二区| 亚洲色大成网站www久久九九| 亚洲欧美激情一区二区| 亚洲精品视频在线| 日韩精品电影在线| 国产一区二区三区在线观看免费视频 | 亚洲自拍偷拍图区| 亚洲chinese男男1069| 青青草国产成人av片免费| 国产一区二区三区香蕉| 成人开心网精品视频| 91福利精品第一导航| 91麻豆精品91久久久久同性| 国产欧美日韩综合| 91久久精品网| 国产精一区二区三区| 波波电影院一区二区三区| 欧美亚洲图片小说| 精品1区2区在线观看| 国产精品国产三级国产aⅴ中文| 亚洲精品美国一| 韩日精品视频一区| 在线一区二区三区四区| 精品国产免费久久| 亚洲色图19p| 精品无人区卡一卡二卡三乱码免费卡| 成人精品国产一区二区4080| 欧美日韩成人一区二区| 欧美激情综合在线| 日韩中文字幕亚洲一区二区va在线| 国产中文一区二区三区| 欧美性猛交xxxxxxxx| 中文字幕欧美激情| 日韩精品乱码av一区二区| jlzzjlzz亚洲日本少妇| 欧美刺激脚交jootjob| 亚洲精品成人少妇| 粉嫩嫩av羞羞动漫久久久| 欧美一区二区在线不卡| 亚洲免费伊人电影| 国产成人在线视频网址| 欧美一级日韩一级| 亚洲一级二级三级| 99免费精品在线观看| 男人操女人的视频在线观看欧美| 精品99999| 国产精品456| 这里是久久伊人| 国产精品三级久久久久三级| 免费成人你懂的| 在线国产电影不卡| 中文字幕国产一区二区| 极品瑜伽女神91| 日韩区在线观看| 水蜜桃久久夜色精品一区的特点| 91视频国产资源| 国产精品久久久久aaaa樱花 | 日韩精品一区二区在线观看| 亚洲成人在线观看视频|