1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-27 08:52:26 +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

@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle INSERT statements in SQLite.
**
** $Id: insert.c,v 1.166 2006/06/14 19:00:21 drh Exp $
** $Id: insert.c,v 1.167 2006/06/15 07:29:01 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -632,7 +632,7 @@ void sqlite3Insert(
*/
#ifndef SQLITE_OMIT_VIRTUALTABLE
if( IsVirtual(pTab) ){
sqlite3VdbeOp3(v, OP_VUpdate, 0, pTab->nCol+1,
sqlite3VdbeOp3(v, OP_VUpdate, 0, pTab->nCol+2,
(const char*)pTab->pVtab, P3_VTAB);
}else
#endif