Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix type in test_schema.c. (CVS 3258) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d65d83d38321258a7bb8c38f4b265765 |
User & Date: | danielk1977 2006-06-15 16:26:45.000 |
Context
2006-06-16
| ||
06:17 | Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259) (check-in: afa39a4632 user: danielk1977 tags: trunk) | |
2006-06-15
| ||
16:26 | Fix type in test_schema.c. (CVS 3258) (check-in: d65d83d383 user: danielk1977 tags: trunk) | |
15:59 | Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257) (check-in: de8d32ac71 user: danielk1977 tags: trunk) | |
Changes
Changes to src/test_schema.c.
︙ | ︙ | |||
9 10 11 12 13 14 15 | ** May you share freely, never taking more than you give. ** ************************************************************************* ** Code for testing the virtual table interfaces. This code ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ** May you share freely, never taking more than you give. ** ************************************************************************* ** Code for testing the virtual table interfaces. This code ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** ** $Id: test_schema.c,v 1.2 2006/06/15 16:26:45 danielk1977 Exp $ */ /* The code in this file defines a sqlite3 module that provides ** a read-only view of the current database schema. There is one ** row in the schema table for each column in the database. */ #define SCHEMA \ |
︙ | ︙ | |||
35 36 37 38 39 40 41 | /* If SQLITE_TEST is defined this code is preprocessed for use as part ** of the sqlite test binary "testfixture". Otherwise it is preprocessed ** to be compiled into an sqlite dynamic extension. */ #ifdef SQLITE_TEST #include "sqliteInt.h" #include "tcl.h" | | | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /* If SQLITE_TEST is defined this code is preprocessed for use as part ** of the sqlite test binary "testfixture". Otherwise it is preprocessed ** to be compiled into an sqlite dynamic extension. */ #ifdef SQLITE_TEST #include "sqliteInt.h" #include "tcl.h" #define MALLOC(x) sqliteMallocRaw(x) #define FREE(x) sqliteFree(x) #else #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 #define MALLOC(x) malloc(x) #define FREE(x) free(x) #endif |
︙ | ︙ |