你的位置:首页 > 软件开发 > 数据库 > SQLite学习笔记(十一)虚拟机原理

SQLite学习笔记(十一)虚拟机原理

发布时间:2016-01-21 10:00:39
前言 我们知道任何一种关系型数据库管理系统都支持SQL(Structured Query Language),相对于文件管理系统,用户不用关心数据在数据库内部如何存取,也不需要知道底层的存储结构,熟悉SQL,就能熟练使用数据库。SQL的引入,使得数据库系统需 ...

SQLite学习笔记(十一)虚拟机原理

前言VDBE数据结构和API

struct Vdbe{sqlite3 *db;   /* The database connection that owns this statement */Op *aOp;     /* Space to hold the virtual machine's program */int nOp;     /* Number of instructions in the program */Mem **apArg;  /* Arguments to currently executing user function */Parse *pParse; /* Parsing context used to create this Vdbe */int pc;     /* The program counter */Mem *aMem;   /* The memory locations */int nMem;    /* Number of memory locations currently allocated */Mem *aColName; /* Column names to return */u16 nResColumn; /* Number of columns in one row of the result set */char *zSql;   /* Text of the SQL statement that generated this */}

原标题:SQLite学习笔记(十一)虚拟机原理

关键词:sql

sql
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。