Build.c属于代码生成器部分,处理以下语法:
CREATE TABLE
DROP TABLE
CREATE INDEX
DROP INDEX
creating ID lists
BEGIN TRANSACTION
COMMIT
ROLLBACK
(1)表的创建
(2)表的删除
(3)索引的创建
(4)索引的删除
(5)视图的创建
(6)ID序列的创建
(7)ID序列的删除
(8)事务的开始
(9)事务的提交
(10)事务的回滚
用到的函数有如下所示:
Sqlite3BeginParse
TableLock
Sqlite3NestedParse
Sqlite3LocateTable
freeIndex
Sqlite3ResetOneSchemal
Sqlite3StartTable
Sqlite3DeleteTable
Sqlite3AddColumn
Sqlite3AddCollateType
Sqlite3CreateView
Sqlite3ViewGetColumnNames
sqliteViewResetAll
Sqlite3RootPageMoved
destroyRootPage
Sqlite3CodeDropTable
Sqlite3DropTable
Sqlite3CreateForeignkey
Sqlite3DeferForeignkey
Sqlite3RefillIndex
Sqlite3CreateIndex
Sqlite3DropIndex
sqlite3IdListApped
Sqlite3IdListDelete
Sqlite3IdListIndex
Sqlite3BeginTransaction
Sqlite3CommitTransaction
Sqlite3RollbackTransaction
Sqlite3Savepiont
reindexTable
reindexDatabases
Sqlite3Reindex