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

Add tests to improve coverage of vtab.c. (CVS 3291)

FossilOrigin-Name: 0c5f4ee39cb76747cf01398867fed2c7ae3edc84
This commit is contained in:
danielk1977
2006-06-24 09:34:22 +00:00
parent 33b3933c15
commit 5017dc387d
6 changed files with 87 additions and 19 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: test_schema.c,v 1.6 2006/06/22 09:53:50 danielk1977 Exp $
** $Id: test_schema.c,v 1.7 2006/06/24 09:34:23 danielk1977 Exp $
*/
/* The code in this file defines a sqlite3 virtual-table module that
@@ -170,7 +170,7 @@ static int schemaEof(sqlite3_vtab_cursor *cur){
** Advance the cursor to the next row.
*/
static int schemaNext(sqlite3_vtab_cursor *cur){
int rc;
int rc = SQLITE_OK;
schema_cursor *pCur = (schema_cursor *)cur;
schema_vtab *pVtab = (schema_vtab *)(cur->pVtab);
char *zSql = 0;