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

Simple tests and fixes for writing to virtual tables. (CVS 3252)

FossilOrigin-Name: 88fa510e4c684513bbb59031d034fdb5c51a6a15
This commit is contained in:
danielk1977
2006-06-15 07:29:00 +00:00
parent d1ab1ba5ed
commit c7d5410126
8 changed files with 82 additions and 39 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains code used to help implement virtual tables.
**
** $Id: vtab.c,v 1.12 2006/06/15 04:28:13 danielk1977 Exp $
** $Id: vtab.c,v 1.13 2006/06/15 07:29:01 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_VIRTUALTABLE
#include "sqliteInt.h"
@@ -194,12 +194,8 @@ void sqlite3VtabFinishParse(Parse *pParse, Token *pEnd){
}
/* If we are rereading the sqlite_master table create the in-memory
** record of the table.
**
** TODO: If the module is already registered, should we call xConnect()
** here, or should it wait until the table is first referenced? Maybe
** it's better to be lazy here, in case xConnect() is expensive to call
** and the schema is reparsed a number of times.
** record of the table. If the module has already been registered,
** also call the xConnect method here.
*/
else {
Table *pOld;