1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Add column_value, declare_vtab and create_module to the function table used by dynamic extensions. (CVS 3256)

FossilOrigin-Name: 25c475087892fea83bce9d140b46651793b85a86
This commit is contained in:
danielk1977
2006-06-15 15:38:41 +00:00
parent dc3e10b9c9
commit d6e8dd00ac
5 changed files with 28 additions and 16 deletions

View File

@@ -13,7 +13,7 @@
** is not included in the SQLite library. It is used for automated
** testing of the SQLite library.
**
** $Id: test8.c,v 1.22 2006/06/15 10:41:16 danielk1977 Exp $
** $Id: test8.c,v 1.23 2006/06/15 15:38:42 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -25,11 +25,14 @@ typedef struct echo_vtab echo_vtab;
typedef struct echo_cursor echo_cursor;
/*
** An echo virtual-table object
** An echo virtual-table object.
**
** If it is not NULL, the aHasIndex array is allocated so that it has
** the same number of entries as there are columns in the underlying
** real table.
** echo.vtab.aIndex is an array of booleans. The nth entry is true if
** the nth column of the real table is the left-most column of an index
** (implicit or otherwise). In other words, if SQLite can optimize
** a query like "SELECT * FROM real_table WHERE col = ?".
**
** Member variable contains copies of the column names of the real table.
*/
struct echo_vtab {
sqlite3_vtab base;