/ File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/vtab.c

2019-12-11
15:07
When trying to drop a virtual table that has no xDestroy method, invoke the xDisconnect method rather than doing nothing, to avoid a memory leak. file: [2736f853] check-in: [1fa29a5f] user: drh branch: trunk, size: 41542
14:25
The xDestroy method of a module might be NULL if the schema is corrupt. file: [eff1ab4a] check-in: [0457e7d1] user: drh branch: trunk, size: 41474
2019-12-10
18:10
Use a statement journal on a CREATE VIRTUAL TABLE statement in case the VCreate opcode fails. file: [6ea921d0] check-in: [aa3b0eb8] user: drh branch: trunk, size: 41529
2019-10-17
17:54
Some (but not all) INSERT and UPDATE statements now work for STORED columns. file: [108f7916] check-in: [fe7517bf] user: drh branch: generated-columns, size: 41499
2019-10-05
19:24
Optimization to sqlite3VtabUnlockList() for the common case when there is no work to do. file: [27998d5d] check-in: [fc8d4508] user: drh branch: trunk, size: 41498
2019-09-16
12:35
Merge all recent trunk enhancements into the reuse-schema branch. file: [043b188f] check-in: [27eb2236] user: drh branch: reuse-schema, size: 42718
2019-08-20
02:19
Fix a typo and a harmless compiler warning. file: [5a0b7193] check-in: [ec4c63e0] user: mistachkin branch: trunk, size: 41496
2019-08-19
20:35
Omit the "_except" term from the name of the new interface. file: [6b36944f] check-in: [e5ba47c2] user: drh branch: sqlite3_drop_modules_except, size: 41508
2019-08-17
19:45
The experimental sqlite3_drop_modules_except() interface. file: [8849cbd6] check-in: [0851db4d] user: drh branch: sqlite3_drop_modules_except, size: 41515
19:31
Fix the new ability to unregister virtual table modules so that it works for the automatic PRAGMA virtual tables. file: [994a4686] check-in: [5d6f4dfe] user: drh branch: trunk, size: 40834
2019-08-16
22:58
Add the ability to unregister a virtual table module by invoking sqlite3_create_module() with a NULL sqlite3_module pointer. file: [4d833811] check-in: [31e34fa3] user: drh branch: trunk, size: 40786
2019-08-09
14:54
In shared-schema mode, handle the case where a connection has created a virtual-table object, but is later assigned a different shared-schema object for which the virtual-table schema has not yet been initialized. file: [9dd05ccb] check-in: [e30c7414] user: dan branch: reuse-schema, size: 41328
2019-05-14
22:25
Merge all the latest trunk enhancements into the reuse-schema branch. file: [4bb74407] check-in: [018f3199] user: drh branch: reuse-schema, size: 41123
2019-04-30
15:36
Fix a problem allowing a Table object to be deleted from within a call to the xDestroy method of the associated virtual table, causing a use-after-free error. file: [1fa256c6] check-in: [1dbbb010] user: dan branch: trunk, size: 40106
2019-04-15
15:35
Merge recent changes from trunk into reuse-schema file: [9fe701fe] check-in: [5c6c9e7f] user: drh branch: reuse-schema, size: 41068
2019-04-13
04:01
Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables. file: [4c5959e0] check-in: [0b6ae032] user: drh branch: trunk, size: 40051
2019-04-04
20:21
Provide a DBCONFIG to enable or disable virtual tables that match a LIKE pattern. file: [64ae9225] check-in: [b40a4edc] user: drh branch: disable-vtab, size: 39809
2019-03-21
17:13
Disable the feature on this branch in non-SQLITE_ENABLE_SHARED_SCHEMA builds. file: [b7214e9c] check-in: [b8e53608] user: dan branch: reuse-schema, size: 40807
2019-03-20
20:02
Use the IsReuseSchema() macro more consistently. Also, rename it to IsSharedSchema(). file: [e6309a17] check-in: [c1be211c] user: dan branch: reuse-schema, size: 40542
2019-02-18
18:16
Ensure that creating temp schema items does not cause an OPEN_SHARABLE_SCHEMA connection to load all schemas into memory. file: [be7ef1a3] check-in: [88cbf54e] user: dan branch: reuse-schema, size: 40546
2019-02-09
17:47
Fix virtual table support for SQLITE_OPEN_REUSABLE_SCHEMA connections. file: [7d0f8470] check-in: [3ca8856a] user: dan branch: reuse-schema, size: 40540
2019-02-05
19:51
Merge latest trunk into this branch. file: [79b66d04] check-in: [c089cc4f] user: dan branch: reuse-schema, size: 39795
2019-02-04
16:25
Fix problems with SAVEPOINT and related commands within transactions on a corrupt database that include fts5 or some other virtual tables. file: [2462b7d6] check-in: [b0da6e0d] user: dan branch: trunk, size: 39790
2018-11-20
16:02
Consolidate the two sqlite3SchemaToIndex() routines. file: [9b380532] check-in: [dfab7170] user: dan branch: reuse-schema1, size: 40075
2018-11-19
20:41
Fix a problem with virtual tables in shared schemas. file: [bad08f46] check-in: [84be9220] user: dan branch: reuse-schema1, size: 40056
2018-10-08
18:58
Merge latest trunk changes into this branch. file: [df409cba] check-in: [2ac72114] user: dan branch: reuse-schema, size: 39729
2018-09-21
23:41
Fix harmless compiler warning when compiled with SQLITE_OMIT_AUTHORIZATION. file: [70188a74] check-in: [50f2fa19] user: mistachkin branch: trunk, size: 39724
2018-09-20
19:02
Combine the Expr.pTab and Expr.pWin fields into a union named "y". Add a new EP_WinFunc property that is only true if Expr.y.pWin is a valid pointer. This reduces the size of the Expr object by 8 bytes, reduces the overall amount of code, and shaves over 1 million cycles off of the speed test. file: [9ada8a26] check-in: [ad130bb8] user: drh branch: trunk, size: 39740
2018-09-19
20:14
Reduce the size of Expr to 64-bytes. This works somewhat, but there are test failures. More importantly, the size reduction from 80- to 64-bytes has not lowered the schema memory usage, but it has made the code a little bigger and a little slower. So the initial evidence is that this Expr refactoring experiment is not working... file: [0d613164] check-in: [24b0f66a] user: drh branch: expr-simplify, size: 39755
2018-08-09
20:47
Experimental implementation of ALTER TABLE ... RENAME COLUMN. Still buggy. file: [8665561f] check-in: [fa0fc01e] user: dan branch: alter-table-rename-column, size: 39738
2018-07-24
22:02
Do not abort running queries due to a CREATE INDEX statement. Allow them to run to completion before being reprepared. Fix for ticket [c694113e50321afdf9]. file: [678992ac] check-in: [2bd59333] user: drh branch: trunk, size: 39702
2018-05-26
16:00
Store application-defined function names as lower-case to avoid the need for case conversions before calling xFindFunction on virtual tables. Avoid using lookaside to store the destructors for application defined functions, as lookaside should be reserved for transient allocations. file: [10ea07de] check-in: [777189ce] user: drh branch: trunk, size: 39699
2017-10-02
13:20
Avoid using lookaside memory for persistent virtual table structures. file: [0e488549] check-in: [d815f255] user: drh branch: trunk, size: 39554
2017-08-10
15:19
Experimental changes that allow a WITHOUT ROWID virtual table to be writable as long as it has only a single-column PRIMARY KEY. file: [f1d5c231] check-in: [ab9ee4c1] user: drh branch: writable-vtab-without-rowid, size: 39514
2017-08-09
22:55
Preserve the error code from xConnect or xCreate methods in virtual table implementations when they are encountered during parsing. file: [45d2aab3] check-in: [dcdf0913] user: drh branch: trunk, size: 39245
20:35
Add experimental sqlite3_open_v2() flag SQLITE_OPEN_REUSE_SCHEMA. For sharing identical in-memory schema objects between connections. file: [33ee6b2a] check-in: [a6256980] user: dan branch: reuse-schema, size: 39227
2017-08-01
20:59
Slightly smaller and faster by allocating Parser objects on the stack. file: [a305582d] check-in: [436a89b9] user: drh branch: trunk, size: 39222
2017-04-21
17:03
Remove a NEVER macro for a condition that may be true as of [a47efb7c]. Problem reported by OSSFuzz. file: [35b9bdc2] check-in: [bdc50d8d] user: dan branch: trunk, size: 39430
2017-02-16
15:06
Remove two redundant initializations from the virtual table logic. file: [007513c2] check-in: [6bd82b95] user: drh branch: trunk, size: 39437
14:48
Always use the IsVirtual() macro to determine if a Table object is a virtual table. Slightly smaller and faster code. file: [f7f26f9d] check-in: [6affb1c8] user: drh branch: trunk, size: 39419
2016-12-16
02:14
Minor bug fixes and enhancements to the pragma eponymous virtual tables. file: [c4bbe0f8] check-in: [3f8f4615] user: drh branch: pragma-as-vtab, size: 39584
01:09
Merge enhancements from trunk, and especially the ability to use temp.sqlite_master as an alias for sqlite_temp_master. file: [10490764] check-in: [994a4401] user: drh branch: pragma-as-vtab, size: 39568
01:00
All temp.sqlite_master to be used as an alias for sqlite_temp_master. file: [fd64fd37] check-in: [8d646905] user: drh branch: trunk, size: 38917
2016-12-15
20:59
Code to automatically create eponymous virtual tables for read-only pragmas. Compiles, but does not yet work. file: [24f3412e] check-in: [988a61e8] user: drh branch: pragma-as-vtab, size: 39574
2016-12-14
14:07
Refactor the Table.nRef field as Table.nTabRef for easier grepping. file: [2d5db3fd] check-in: [9cae4c2e] user: drh branch: trunk, size: 38923
2016-08-27
20:21
Fix typos in comments. No changes to running code. file: [e02cacb5] check-in: [a07269f2] user: drh branch: trunk, size: 38920
2016-08-18
14:33
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. file: [5ca4fa8b] check-in: [92a22f01] user: drh branch: zDbSName, size: 38920
2016-08-05
15:34
Remove an incorrect ALWAYS() statement and add a test case to show when the condition is sometimes false. file: [6b3cfaff] check-in: [0f57effa] user: drh branch: trunk, size: 38905
2016-08-02
11:29
Fix a problem introduced by [77948b5eceab92a7] causing duplicate calls to be made to the xSavepoint() method of virtual tables under some circumstances. file: [6fece06f] check-in: [e64a4173] user: dan branch: trunk, size: 38905
2016-06-03
18:21
Fix a memory leak when a WITHOUT ROWID eponymous virtual table is used. file: [948d2d49] check-in: [31b83a7d] user: drh branch: without-rowid-vtab, size: 38832
17:27
Disallow access to the rowid column on WITHOUT ROWID virtual tables. file: [7a143175] check-in: [d31c2597] user: drh branch: without-rowid-vtab, size: 38719
01:01
Performance optimizations on the CSV virtual table. Disallow WITHOUT ROWID virtual tables that have an xUpdate method, for now. file: [a9e81754] check-in: [3134b326] user: drh branch: without-rowid-vtab, size: 38699
2016-06-02
16:22
Fix corner cases in the WITHOUT ROWID virtual table logic. file: [a80b4e40] check-in: [a393bbb9] user: drh branch: without-rowid-vtab, size: 38585
2016-05-31
21:18
An experimental branch with code that allows virtual tables to be declared as WITHOUT ROWID tables. This might be useful for virtual tables that model external data sources that do not have a convenient way of computing a unique rowid. The current check-in almost works, but there are still serious issues. file: [694e4449] check-in: [49638f18] user: drh branch: without-rowid-vtab, size: 38407
2016-05-20
15:15
Use sqlite3VdbeAddOp0() to code OP_Expire, to save a few bytes. file: [ce0f2ebb] check-in: [3d55d24d] user: drh branch: trunk, size: 38295
2016-03-28
14:57
Open a statement transaction for "CREATE VIRTUAL TABLE" statements in order to ensure that if the xCreate() call fails, changes made to the sqlite_master and possibly other tables are rolled back. file: [708a9c55] check-in: [d0a3853b] user: dan branch: vcreate-stmt, size: 38328
2016-03-22
20:05
The sqlite3_column_decltype() routine should return NULL, not an empty string, if the column has no declared type. file: [23b6cdfa] check-in: [605eba4a] user: drh branch: trunk, size: 38301
2016-02-29
15:53
Reduce the amount of heap required to store many schemas by storing each column datatype appended to the column name, rather than as a separate allocation. file: [fd69fd39] check-in: [842b2116] user: drh branch: schema-storage, size: 38486
2016-02-24
19:57
Change a char* to const char* in order to suppress some harmless compiler warnings. file: [943c23b3] check-in: [56f62e34] user: drh branch: trunk, size: 38460
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [c27c0232] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 38451
2016-02-05
13:38
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. file: [bef51b4f] check-in: [0a802e96] user: drh branch: oom-handling, size: 38431
01:55
Improvements to the way that OOM errors are processed. file: [2cc0b7bb] check-in: [c3ef0347] user: drh branch: oom-handling, size: 38429
2016-01-14
22:19
Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. file: [320682cc] check-in: [0d1b3d7d] user: drh branch: trunk, size: 38433
2015-10-08
02:44
Remove two unused lines of code - discovered by scan-build. file: [2a8b44aa] check-in: [77b707b7] user: drh branch: trunk, size: 38429
2015-09-29
17:51
This condition was not always true after all.....    Change an always-true condition in the virtual table transaction interface into an assert(). file: [b404327e] check-in: [3e15dea5] user: drh branch: mistake, size: 38465
16:41
Ensure that the xSavepoint() virtual table method is correctly invoked if there are already open savepoints (or statement transactions) the first time a virtual table is written within a transaction. file: [9a6d8818] check-in: [77948b5e] user: dan branch: trunk, size: 38447
2015-09-03
13:46
Add the sqlite3VdbeLoadString() and sqlite3VdbeMultiLoad() routines to help with code generation, especially on PRAGMAs. Rename sqlite3VdbeAddGoto() to just sqlite3VdbeGoto(). file: [2ecfe020] check-in: [847387ec] user: drh branch: trunk, size: 38317
2015-08-20
23:21
Fix corner-case memory management issues in table-valued functions. Change virtual table handling so that if xDestroy is missing the table is eponymous only even if xCreate is present. file: [d31174e4] check-in: [774e6a14] user: drh branch: trunk, size: 38334
21:14
Skip calling the virtual table xDestroy method when it is null. file: [ab368132] check-in: [b73ad305] user: mistachkin branch: trunk, size: 38217
2015-08-19
19:01
Fix eponymous virtual tables so that they do not automatically make the first column the rowid. Enhance the generate_series virtual table to support rowid. file: [05395350] check-in: [a325a085] user: drh branch: table-valued-functions, size: 38132
13:54
Virtual table modules with a null xCreate method act as eponymous-only modules - they cannot be used in a CREATE VIRTUAL TABLE statement. Add the series.c extension that implements a postgres-like generate_series virtual table to demonstrate this capability. file: [1e3405f7] check-in: [c58426db] user: drh branch: table-valued-functions, size: 38112
12:52
Merge changes from trunk. file: [fddb3242] check-in: [dddd792d] user: drh branch: table-valued-functions, size: 38058
12:45
Simplification to error handling in addModuleArgument() in the virtual table processing. file: [964dffd5] check-in: [c573b0a1] user: drh branch: trunk, size: 35985
02:32
Initial implementation of eponymous virtual table instances. file: [be5a4343] check-in: [c1f43a77] user: drh branch: table-valued-functions, size: 38240
2015-05-21
17:24
Prevent a virtual table from being destroyed while it is in use. Also: replace Vdbe.inVtabMethod with sqlite3.nVDestroy. Simplify the EXPLAIN output for P4.pVtab to only show the sqlite3_vtab pointer. Cherrypick of [cbeb9a1aed8c]. file: [efb28e30] check-in: [b3bb660a] user: dan branch: branch-3.8.6, size: 35249
01:04
Do not allow virtual table constructors to be called recursively. Cherrypick [0a72726da21581ab] file: [a078fb78] check-in: [0f0694e4] user: drh branch: branch-3.7.11, size: 34149
2015-05-20
19:50
Do not allow virtual table constructors to be called recursively. Cherrypick of [0a72726da215] file: [d2713ff7] check-in: [023a29ba] user: dan branch: branch-3.8.6, size: 35132
2015-05-13
18:12
Merge latest trunk changes with this branch. file: [082b35a2] check-in: [b5f0e8c5] user: dan branch: fts5, size: 36143
2015-04-29
16:50
Use sqlite3_malloc64() in place of sqlite3_malloc() internally. file: [c535e802] check-in: [48f553b0] user: drh branch: trunk, size: 36115
2015-04-22
09:40
Update this branch with latest trunk changes. file: [fcbf338e] check-in: [9797482d] user: dan branch: fts5, size: 36141
2015-04-19
23:11
Fix an off-by-one assert() in the virtual table argument tokenizer. file: [5f81f8a5] check-in: [c83052e4] user: drh branch: trunk, size: 36113
18:32
Bring comments on the INSERT code generator up-to-date. Fix the INSERT code generator so that it correctly handles inserts from a SELECT into a virtual table with non-terminal hidden columns. file: [4feb365e] check-in: [4ac81fac] user: drh branch: trunk, size: 36112
2015-04-18
16:25
Ensure that if a "ROLLBACK TO" statement is used to rollback (but not close) theoutermost transaction, the xRollbackTo() method of any virtual tables involved in the transaction is invoked. file: [be741af2] check-in: [e98d481d] user: dan branch: trunk, size: 35938
2015-04-10
16:05
In sqlite3_declare_vtab(), avoid accessing the database structure until after the "api-armour" safety-check has completed and the db mutex has been obtained. file: [9ca55721] check-in: [860e4f8a] user: dan branch: trunk, size: 35937
07:55
Do not allow virtual table constructors to be called recursively. file: [ff722a88] check-in: [0a72726d] user: dan branch: trunk, size: 35929
2015-03-24
13:32
Prevent a virtual table from being destroyed while it is in use. file: [62d49237] check-in: [fba674c0] user: drh branch: nVDestroy, size: 35395
2015-03-21
15:45
Merge trunk changes with this branch. file: [6206db6c] check-in: [14274391] user: dan branch: fts5, size: 35306
2015-03-19
18:56
Fix a problem with creating virtual table with names specified using malformed utf-8 within utf-16 databases. file: [1680f589] check-in: [9969cff2] user: dan branch: malformed-vtab-name, size: 35278
2015-02-13
16:36
Improvements to SQLITE_ENABLE_API_ARMOR. file: [699f2b8d] check-in: [823ad40c] user: drh branch: trunk, size: 35243
2015-01-01
18:03
Merge latest trunk changes with this branch. file: [ec672a0b] check-in: [4b365167] user: dan branch: fts5, size: 35243
2014-12-18
18:25
Fix various problems in fts5 revealed by fault-injection tests. file: [b05a86be] check-in: [e358c3de] user: dan branch: fts5, size: 34626
2014-11-27
11:36
Fix a buffer overread during compilation of CREATE VIRTUAL TABLE statements that featured an explicit database name but no virtual table arguments. For example, "CREATE VIRTUAL TABLE main.ft USING fts4". file: [c08ec66f] check-in: [f095cde5] user: dan branch: trunk, size: 35215
2014-10-24
00:35
Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. file: [2a30791b] check-in: [c297a84b] user: drh branch: api-armor, size: 35069
2014-10-14
20:25
Make sure new sqlite3_vtab objects created by the xCreate() virtual table method are initialized by the system, in accordance with the documentation. file: [cb0c1943] check-in: [eab82330] user: drh branch: trunk, size: 34551
2014-08-22
18:00
Split the sqlite3Error() routine into sqlite3Error() and sqlite3ErrorWithMsg(), for a slight size reduction and performance increase. file: [019dbfd0] check-in: [cf561d1f] user: drh branch: trunk, size: 34493
2014-08-21
20:26
Simplify the interface to the symbol table, saving 600 bytes of code space. file: [180bfc5e] check-in: [14b0f561] user: drh branch: trunk, size: 34492
2014-08-15
22:37
Aborted merge. file: [9616e06b] check-in: [c8ade949] user: numist branch: obsolete, size: 34848
2014-05-19
15:16
Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. file: [cf752383] check-in: [17349a49] user: drh branch: safer-malloc, size: 34606
2013-11-15
01:10
Rework the logic that factors constant expressions out of inner loops, making it both simpler and faster. file: [21b93284] check-in: [8dc5c76c] user: drh branch: expr-codegen-enhancement, size: 34598
2013-09-06
13:10
Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single new FuncDef.funcFlags field. file: [5a423b04] check-in: [97b10e66] user: drh branch: trunk, size: 34566
2013-08-21
17:35
If a virtual table xSync() returns an error message, copy it into a buffer allocated by sqlite3DbMalloc() before transfering it to Vdbe.zErrMsg. file: [165ce0e7] check-in: [854ba304] user: dan branch: trunk, size: 34562
2013-07-17
11:54
Clear the error string pointer in sqlite3_vtab object after the error string is transferred to SQLite. Ticket [78588b938a11]. file: [2e8b489d] check-in: [64bf8148] user: drh branch: trunk, size: 34702
2013-06-12
02:53
Another attempt at disabling virtual tables. This one leaks memory. file: [7f7bf6e1] check-in: [399e2828] user: drh branch: disable-vtab, size: 37497
2013-06-11
22:41
Add the ability to disable future calls to virtual table methods by invoking sqlite3_create_module() with a NULL sqlite3_module pointer. file: [b3369dad] check-in: [6b77d61a] user: drh branch: disable-vtab, size: 36989
2013-03-07
11:03
Avoid an assertion fault and/or freeing memory while it is still in use when an error occurs during virtual table construction. Cherrypick of [a02599ad85d]. file: [940ea10c] check-in: [760072ce] user: dan branch: branch-3.7.14, size: 34778
2012-10-26
13:34
Backport the shared-cache-fix branch. file: [bf61d2b4] check-in: [325364a9] user: drh branch: branch-3.7.14, size: 34822
2012-10-25
19:25
Fix a bug in fts3 causing it to return SQLITE_NOMEM when NEAR, OR and some auxiliary functions were used together. Also a segfault in vtab.c that could follow an OOM condition. file: [b05e5f1f] check-in: [33f4f981] user: dan branch: trunk, size: 34733
2012-10-09
14:36
Avoid an assertion fault and/or freeing memory while it is still in use when an error occurs during virtual table construction. file: [9c64ae18] check-in: [a02599ad] user: drh branch: trunk, size: 34798
2012-10-05
18:35
Backport fixes to shared-cache mode, from the shared-cache-fix branch, to version 3.7.9 file: [f36d8f83] check-in: [ac81ae49] user: drh branch: branch-3.7.9, size: 33686
2012-10-04
19:33
Shared-cache mode fixes for views and virtual tables. file: [c7671587] check-in: [2b370dea] user: dan branch: shared-cache-fix, size: 34842
2012-09-13
14:22
Change boolean fields in the Column object from unsigned characters into bits in a single bit mask variable. file: [d8020c0a] check-in: [4163f5f1] user: drh branch: trunk, size: 34654
2012-08-27
14:39
Fix an incorrect assert in the virtual table logic - it could fire following an I/O error after sqlite3_close_v2() was added. file: [d2c54fd2] check-in: [4ccc18e9] user: drh branch: trunk, size: 34634
2012-05-16
14:29
Return SQLITE_MISUSE if an application attempts to register a virtual table module with the same name as an existing module. file: [bb8ea3a2] check-in: [ea2cd55e] user: dan branch: shared-schema, size: 34596
2012-05-15
18:28
The former sqlite3ResetInternalSchema() routine was really two different routines, selected by parameter, each with a confused mission. So split this routine up into three separate smaller routines, calling each separately as needed. Hopefully this will make further refactoring and schema reset collateral damage containment easier. file: [4c1d7e72] check-in: [aa0c3493] user: drh branch: shared-schema, size: 34539
17:15
When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections. file: [1fbe1338] check-in: [46f4eb54] user: dan branch: shared-schema, size: 34425
2012-04-26
22:47
Allow virtual table constructors to be invoked recursively. A test case for this has been added to TH3. file: [ae657b1c] check-in: [696a5a40] user: drh branch: trunk, size: 33615
2012-01-28
19:41
Add support for IF NOT EXISTS on CREATE VIRTUAL TABLE. file: [ab90fb60] check-in: [230983e8] user: drh branch: trunk, size: 33567
2011-10-29
11:43
Avoid attempting to call savepoint related methods on deleted sqlite3_vtab objects. Fix for [48f299634a]. file: [e9318d88] check-in: [3565fcf8] user: dan branch: trunk, size: 33498
2011-06-03
20:11
Create and use a function especially for adding the ParseSchema opcode. This gives a small reduction in code and a small performance increase. file: [901791a4] check-in: [957b2ab6] user: drh branch: trunk, size: 33491
2011-05-25
18:46
Fix a case where a malloc() error could lead to mismatched virtual-table xBegin/xCommit/xRollback callbacks. file: [9ba8c7fd] check-in: [d807304a] user: dan branch: trunk, size: 33515
01:16
Changes to savepoint in virtual tables for simpler and more consistent operation. file: [6bff3540] check-in: [92f26a8b] user: drh branch: trunk, size: 33077
2011-05-24
15:36
Do not invoke the xRollbackTo or xRelease methods of a virtual table without having first invoked an appropriate xSavepoint method. Add assert() statements to FTS3/4 to verify that this is happening in all cases. file: [abc63828] check-in: [651ef242] user: drh branch: trunk, size: 33007
2011-05-06
00:19
Increase the iVersion for sqlite3_module needed for the xSavepoint, xRelease, and xRollbackTo methods from 1 to 2. This is so that it will conform to published documentation. file: [48dcef8b] check-in: [0f4954e9] user: drh branch: trunk, size: 32893
2011-05-05
23:07
Fix an incorrect assert() in sqlite3_value_config(). Updates to the sqlite3_value_config() documentation. file: [bfd252c7] check-in: [22cbc01a] user: drh branch: trunk, size: 32893
17:41
Fix sqlite3_vtab_on_conflict() to return the correct values for ABORT, FAIL, and IGNORE. file: [5e170988] check-in: [f0617d61] user: drh branch: trunk, size: 32879
15:39
Bump the version number to 3.7.7 on account of the new sqlite3_vtab_config() and sqlite3_vtab_on_conflict() interfaces. Updates to the documentation on those interfaces. file: [1491acb3] check-in: [930be6a1] user: drh branch: trunk, size: 32879
13:54
Change sqlite3_create_module() so that it avoids resetting the schema as long as preexisting modules are unchanged. file: [cc56ae95] check-in: [8485855a] user: drh branch: trunk, size: 32444
2011-04-27
12:08
Fix problems related to savepoint rollback and fts3. file: [59db0620] check-in: [ff69f823] user: dan branch: vtab-conflict, size: 32442
2011-04-26
19:21
Extra tests for fts3. And fixes for conflict-handling related problems in fts3. file: [bcfd5a8b] check-in: [fb4a3558] user: dan branch: vtab-conflict, size: 31619
2011-04-25
18:49
Add support for on conflict clauses to fts3/fts4. file: [0e89db3e] check-in: [6d2633a6] user: dan branch: vtab-conflict, size: 30919
2011-04-04
20:40
Minor comment typo corrections. Simplify an assert. No functional changes. file: [b0abc931] check-in: [82c23162] user: drh branch: schema-parse-refactor, size: 29459
18:22
Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. file: [672f8dad] check-in: [ae8374af] user: drh branch: schema-parse-refactor, size: 29497
2011-04-02
16:28
Begin a series of changes designed to reduce the scope and frequency of invalidating schemas. Design goals are that the internal schema should never be deleted out from under a prepared statement that is running and that all prepared statements should be expired if the schema is invalidated. At the same time, minimize the number of schema invalidations. This change merely revises the sqlite3ResetInternalSchema() function to use -1 as the wildcard for "all" rather than 0, so that we can reset the main schema independently of all the others. file: [341ae69e] check-in: [6a8ad6e3] user: drh branch: schema-parse-refactor, size: 29443
2011-03-24
01:34
The changes to fix [f7b4edece25c9948] mean that the schema is always loaded whenever a prepared statement is running. This means that a couple of branches can be eliminated and one operand of OP_ParseSchema can be removed. file: [e1edca38] check-in: [b6e268fc] user: drh branch: trunk, size: 29442
2010-10-21
15:12
Fix some segfaults that could occur in obscure circumstances where error messages contained characters that could be mistaken for printf format specifiers. file: [b297e8fa] check-in: [f91471e7] user: dan branch: trunk, size: 29442
2010-09-28
19:16
Fix some problems that can occur if a trigger has the same name as another database object. file: [6c90e3e6] check-in: [655991ec] user: dan branch: trunk, size: 29423
2010-08-11
11:59
Use sqlite3DbFree() instead of sqlite3_free() to free any error message reported by the parser layer while attempting to parse a CREATE TABLE statement passed to sqlite3_declare_vtab(). file: [0e8e0cb3] check-in: [7c674aab] user: dan branch: trunk, size: 29406
2010-07-26
11:07
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). file: [82200af3] check-in: [629e38a8] user: drh branch: experimental, size: 29401
2010-07-24
16:34
Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() and all memory from sqlite3_malloc() is freed by sqlite3_free(). file: [838248ec] check-in: [ac1f37a6] user: drh branch: malloc-enhancement, size: 29368
11:28
Experimental code to measure memory consumed by database schemas and prepared statements. file: [74bc8e03] check-in: [9aa30342] user: dan branch: experimental, size: 29380
2010-07-23
15:41
Remove the Table.dbMem variable, as it is no longer being used for its original purpose. file: [4b09cb71] check-in: [6eddc6e6] user: dan branch: trunk, size: 29347
08:31
Remove the unused Schema.db variable. file: [477f3dd1] check-in: [430be657] user: dan branch: trunk, size: 29342
2010-04-06
15:57
Automatically generate transient indices for tables in joins that would otherwise have to use a full table scan. file: [a0f8a402] check-in: [1b2a0412] user: drh branch: experimental, size: 29372
2010-02-23
20:11
Continuing improvements to error reporting and the sqlite3_log() routine. file: [606adf51] check-in: [edea3bb7] user: drh branch: trunk, size: 29344
17:36
Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. file: [08df673f] check-in: [7c4cca6d] user: drh branch: trunk, size: 29339
2009-12-08
22:16
Change to order of two branches in vtab.c in order to a restore 100% test coverage. file: [7c7713d6] check-in: [fdfdc777] user: drh branch: trunk, size: 29800
19:05
Add tests to improve coverage of fts3. Associated bugfixes. file: [4e73b269] check-in: [f0eac417] user: dan branch: trunk, size: 29800
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [456fc226] check-in: [f6c045f6] user: drh branch: trunk, size: 29798
2009-09-01
12:16
More fixes and comment updates. file: [3e54fe39] check-in: [38a9327b] user: dan branch: trunk, size: 29853
2009-08-28
18:53
Changes to support recursive triggers. file: [10df5c77] check-in: [9b9c1921] user: dan branch: trunk, size: 29825
2009-08-08
18:01
Suppress various compiler warnings. (CVS 6963) file: [aedd76e8] check-in: [257e9b57] user: drh branch: trunk, size: 29775
2009-07-24
17:58
Allow virtual tables to be used in shared-cache mode. (CVS 6928) file: [b19c4e96] check-in: [5d9e767a] user: danielk1977 branch: trunk, size: 29813
2009-07-01
18:04
Fix a 1-byte buffer overwrite that can occur when a virtual table overloads an SQL function. (CVS 6833) file: [00902f28] check-in: [bfe336a8] user: danielk1977 branch: trunk, size: 25911
2009-06-15
16:27
Fix compiler warnings with MSVC build. (CVS 6761) file: [98fbffc5] check-in: [e1e64307] user: shane branch: trunk, size: 25902
2009-06-02
21:31
Further reductions in the amount of stack space required. (CVS 6707) file: [e2f4c92d] check-in: [04bad9eb] user: drh branch: trunk, size: 25848
2009-05-20
20:10
Fix a memory leak that occurs when an out-of-memory error occurs while preparing a statement that has multiple virtual table updates within triggers. Other virtual table changes to support full-coverage testing. (CVS 6661) file: [b0216337] check-in: [02b77a58] user: drh branch: trunk, size: 25702
16:22
Remove unused, undocumented, and untested error reporting logic from the xFindFunction interface in virtual tables. (CVS 6660) file: [f998f539] check-in: [55d6ced2] user: drh branch: trunk, size: 25368
2009-05-11
23:38
If a virtual table constructor returns SQLITE_NOMEM, set the mallocFailed flag in the corresponding database connection to insure that the error is propagated back to the top layer. (CVS 6627) file: [1e285c90] check-in: [5635666f] user: drh branch: trunk, size: 25517
2009-04-28
13:01
Do not store the zero string terminator as part of the name when holding symbols in the symbol table. (CVS 6557) file: [53355aa2] check-in: [23d67af3] user: drh branch: trunk, size: 25470
2009-04-11
16:27
Add a comments and an assert() to the virtual table implementation. No functional changes. (CVS 6497) file: [6118d71c] check-in: [ac5d0c0a] user: drh branch: trunk, size: 25474
2009-03-24
15:08
Changes to insure that lookaside memory allocations are never used to hold schema content. Ticket #3743. (CVS 6377) file: [f1aba5a6] check-in: [ea74d8dc] user: drh branch: trunk, size: 25271
2009-03-19
18:51
Fix a couple of fairly obscure cases where an assert() could fail following a malloc failure. (CVS 6360) file: [18d671f0] check-in: [cc0d9256] user: danielk1977 branch: trunk, size: 25227
2009-03-16
13:19
Add the sqlite3_unlock_notify() API. (CVS 6348) file: [bf409d2d] check-in: [b649a6cc] user: danielk1977 branch: trunk, size: 25211
2008-12-10
19:26
Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) file: [e39e011d] check-in: [c872d554] user: drh branch: trunk, size: 25203
18:03
More explicit type casting to silence VC++. (CVS 6006) file: [09df27d4] check-in: [14e6d19c] user: drh branch: trunk, size: 25107
17:20
Remove or rename local variables that shadow other variables or parameters. (CVS 6005) file: [c4bd0780] check-in: [e7e9fa4f] user: drh branch: trunk, size: 25059
2008-11-13
19:12
Fix a couple of memory leaks that may follow malloc failures. (CVS 5906) file: [02c51eac] check-in: [4cf8a8e1] user: danielk1977 branch: trunk, size: 25059
18:00
Avoid committing a transaction from within the xSync() method of a virtual table. Fix for #3497. (CVS 5902) file: [fea22536] check-in: [eabb8b75] user: danielk1977 branch: trunk, size: 25015
2008-08-20
16:35
Refactor the name resolution procedures in the code generator. (CVS 5569) file: [527c180e] check-in: [daf730d1] user: drh branch: trunk, size: 25017
14:49
Add the pcache module from the experimental branch. Also change things so that most of the built-in SQL functions are kept in single static hash-table, rather than creating and populating a separate hash table for each open database connection. (CVS 5566) file: [edf8edb5] check-in: [cb494e10] user: danielk1977 branch: trunk, size: 24935
2008-08-02
03:50
Additional coverage testing. Fix a segfault following OOM in sqltie3_load_extension(). (CVS 5523) file: [9c1bbb54] check-in: [f1e44eb3] user: drh branch: trunk, size: 24893
2008-08-01
17:37
Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519) file: [914db4c9] check-in: [007359b7] user: danielk1977 branch: trunk, size: 25082
2008-07-28
19:34
Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) file: [69181379] check-in: [e48f9697] user: drh branch: trunk, size: 25007
2008-07-23
18:17
Read the sqlite3_vtab.zErrMsg after each call to a virtual table method and transfer any error into the database connection. Fix the fts2.test and fts3.test scripts to that they return silently rather than failing the test sequence if the appropriate FTS implementation is unavailable. (CVS 5463) file: [e67eaa31] check-in: [e2c6771d] user: drh branch: trunk, size: 24921
2008-06-23
17:44
Fix a failure to report a failed malloc() within sqlite3_create_module(). (CVS 5284) file: [2096c03e] check-in: [3ca7dab8] user: danielk1977 branch: trunk, size: 24559
2008-05-05
13:23
Fix a couple of minor problems with transactions in virtual tables. (CVS 5081) file: [ce9d19ca] check-in: [2275fc6e] user: drh branch: trunk, size: 24477
2008-04-28
18:46
Make sure that transactions are started on all virtual tables that changes in a single statement, not just the first. Ticket #3083. Need to add test cases. (CVS 5063) file: [e058c520] check-in: [133b7ee5] user: drh branch: trunk, size: 24434
2008-04-27
18:40
Remove all references to sqlite3_intptr_t. (CVS 5051) file: [13cd7f22] check-in: [6a94d197] user: drh branch: trunk, size: 23793
2008-04-10
18:35
Correctly handle virtual tables that are created and dropped all within a single transaction. Ticket #2994. (CVS 4985) file: [f5e78bf7] check-in: [0acb1b42] user: drh branch: trunk, size: 23844
2008-03-06
09:58
Handle non-autoconf build correctly with new changes (CVS 4832) file: [00cd1631] check-in: [e2a9f5f1] user: mlcreech branch: trunk, size: 23667
07:35
Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824) file: [641bafa5] check-in: [54839a84] user: mlcreech branch: trunk, size: 23643
2008-01-23
03:03
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) file: [dc8947c9] check-in: [5375ad6b] user: drh branch: trunk, size: 23623
2008-01-17
16:22
Registerification of the VDBE is complete. The operand stack has been removed from the code. All instructions operate out of registers only. (CVS 4718) file: [9924e37c] check-in: [706b41b7] user: drh branch: trunk, size: 23602
2008-01-12
12:48
Continuing work toward converting the VM into a register machine. (CVS 4707) file: [7f206d14] check-in: [a6dddebc] user: drh branch: trunk, size: 23601
2008-01-03
00:01
Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter is added (though not currently used.) Add routines sqlite3VdbeAddOpX() where X is one of 0, 1, 2, 3, or 4. (CVS 4660) file: [03014b2b] check-in: [027875e4] user: drh branch: trunk, size: 23669
2007-09-20
11:32
fix typo in comment (CVS 4438) file: [f819d55e] check-in: [c2ac43a4] user: rse branch: trunk, size: 23630
10:02
Fixes for uninitialized variables. Tickets #2658 and #2659. (CVS 4437) file: [243f41bd] check-in: [27fe1288] user: drh branch: trunk, size: 23630
2007-09-04
15:38
Fix a problem whereby the *ppVtab output buffer passed to sqlite3_module.xConstruct() could be invalidated (freed) if a malloc() failure occured within a call to sqlite3_declare_vtab(). (CVS 4397) file: [67766051] check-in: [efd61df1] user: danielk1977 branch: trunk, size: 23634
2007-08-29
14:06
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323) file: [ace9b41a] check-in: [c790c234] user: danielk1977 branch: trunk, size: 23634
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) file: [5b8d7ec7] check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 23678
2007-08-24
03:51
The win32 driver compiles but does not yet work well. Many bugs fixed. (CVS 4282) file: [72e5347c] check-in: [3a68fcdd] user: drh branch: trunk, size: 23642
2007-08-23
02:47
Improvements to memory leak detection. The --backtrace=NNN option is now recognized by tester.tcl. Memory leak summaries are automatically written to the file ./memleak.txt and each leak is tagged with the test in which it occurred. The quick.test script runs on Linux with no errors and no leaks. (CVS 4273) file: [6a7ce44e] check-in: [21f6b310] user: drh branch: trunk, size: 23634
2007-08-22
02:56
A complete run of quick.test with mutex debugging enabled. (CVS 4266) file: [8f80924a] check-in: [783e07d5] user: drh branch: trunk, size: 23664
2007-08-17
01:14
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we get an assertion fault on the shared cache testing. (CVS 4239) file: [ee29237e] check-in: [4c1e9ffe] user: drh branch: trunk, size: 23448
2007-08-16
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [8d65679a] check-in: [77b16713] user: danielk1977 branch: trunk, size: 23470
04:30
Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) file: [ea255720] check-in: [deb7ecd6] user: drh branch: trunk, size: 23434
2007-06-26
10:38
Allow virtual tables to mark columns as 'hidden'. Hidden columns do not show up in "*" expansion, the implicit column list of an INSERT statement, or the results of a "PRAGMA table_info" statement. (CVS 4127) file: [60dc6d88] check-in: [7f887a6a] user: danielk1977 branch: trunk, size: 23092
2007-06-22
15:21
Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108) file: [51d43cda] check-in: [68677e42] user: danielk1977 branch: trunk, size: 22008
2007-05-04
13:15
Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) file: [c5ebebf6] check-in: [ba4845b3] user: drh branch: trunk, size: 20919
2007-04-19
14:48
Better fix than (3860) for the same problem. (3860) could leave file-handles open in some circumstances. (CVS 3861) file: [89a0d5f3] check-in: [5ad64533] user: danielk1977 branch: trunk, size: 20895
14:28
Fix a crash that can occur if an error happens in a virtual table xSync() function. (CVS 3860) file: [6aad2b5c] check-in: [d1afdd8c] user: danielk1977 branch: trunk, size: 20865
00:24
Get the build working with SQLITE_OMIT_SHARED_CACHE. Ticket #2307. (CVS 3857) file: [d80f61bb] check-in: [b623538c] user: drh branch: trunk, size: 20842
2007-04-18
14:24
Minor changes (mainly to assert() macros) to handle malloc failure in vtab operations. (CVS 3851) file: [24d7b150] check-in: [175156d1] user: danielk1977 branch: trunk, size: 20810
2007-04-16
15:49
Add test cases to make sure virtual tables cannot be used in shared-cache mode. (CVS 3847) file: [ff222fb8] check-in: [66e468ad] user: danielk1977 branch: trunk, size: 20736
15:06
Ensure sqlite3_finalize() can be called from within the xDisconnect() method of virtual tables. (CVS 3845) file: [6dd9dd6e] check-in: [8d6c3bfc] user: danielk1977 branch: trunk, size: 20588
2007-01-09
14:01
When an automatic re-prepare occurs, take care not to reset the internal schema symbol table. Ticket #2156. This change also includes some debugging enhancements. (CVS 3578) file: [7fbda947] check-in: [43fe7fc1] user: drh branch: trunk, size: 20313
2007-01-05
14:41
Remove redundant variable. (CVS 3565) file: [2e367db8] check-in: [2a7f5aaf] user: drh branch: trunk, size: 20313
2006-09-18
20:24
Convert all names to lower case before sending them to the xFindFunction method of a virtual table. In FTS1, use strcmp instead of strcasecmp. Ticket #1981. (CVS 3428) file: [aa30e940] check-in: [efa8fb32] user: drh branch: trunk, size: 20370
2006-09-15
07:28
Add support for extended result codes - additional result information carried in the higher bits of the integer return codes. This must be enabled using the sqlite3_extended_result_code() API. Only a few extra result codes are currently defined. (CVS 3422) file: [2582c4e4] check-in: [ba579ddc] user: drh branch: trunk, size: 20153
2006-09-13
19:21
Remove unused malloc failure test. (Ticket #1976) Also include fixes for other problems discovered while investigating ticket #1976. (CVS 3415) file: [82d915c0] check-in: [f4ab546b] user: drh branch: trunk, size: 20126
2006-09-11
00:34
Add a rudimentary tokenizer and parser to FTS1 for parsing the module arguments during initialization. Recognized arguments include a tokenizer selector and a list of virtual table columns. (CVS 3403) file: [4d360f22] check-in: [227dc3fe] user: drh branch: trunk, size: 20042
2006-09-10
17:31
Add pzErr parameters to the xConnect and xCreate methods of virtual tables in order to provide better error reporting. This is an interface change for virtual tables. Prior virtual table implementations will need to be modified and recompiled. (CVS 3402) file: [430513b5] check-in: [f44b8bae] user: drh branch: trunk, size: 20001
17:08
Add a new zErrMsg field to the sqlite3_vtab structure to support returning error messages from virtual table constructors. This change means that virtual table implementations compiled as loadable extensions for version 3.3.7 will need to be recompile for version 3.3.8 and will not be usable by both versions at one. The virtual table mechanism is still considered experimental so we feel justified in breaking backwards compatibility in this way. Additional interface changes might occurs in the future. (CVS 3401) file: [c68946ed] check-in: [36693a5c] user: drh branch: trunk, size: 20151
2006-09-02
20:57
Do not call the xDisconnect method on a virtual table while xUpdate is pending. Instead, defer the xDisconnect until after xUpdate completes. (CVS 3387) file: [7fc0624c] check-in: [61148f4c] user: drh branch: trunk, size: 19895
14:17
Convert static variables into constants in the FTS module. (CVS 3385) file: [6067f9ec] check-in: [098cbafc] user: drh branch: trunk, size: 19397
2006-07-26
16:22
Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339) file: [cae036dc] check-in: [e705d232] user: danielk1977 branch: trunk, size: 19392
2006-07-25
15:14
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334) file: [1fe25b3e] check-in: [d5a608d0] user: danielk1977 branch: trunk, size: 18914
2006-07-08
18:09
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323) file: [34b20b01] check-in: [3c4233e0] user: drh branch: trunk, size: 18772
17:06
Allow virtual table implementations to overload function that use a column of the virtual table as their first argument. Untested. (CVS 3322) file: [3fe6879f] check-in: [12cc7af4] user: drh branch: trunk, size: 18815
2006-06-26
11:17
Fix trivial compiler warnings. (CVS 3295) file: [4751954e] check-in: [3538beac] user: danielk1977 branch: trunk, size: 16906
2006-06-24
09:34
Add tests to improve coverage of vtab.c. (CVS 3291) file: [1eaa23c1] check-in: [0c5f4ee3] user: danielk1977 branch: trunk, size: 16900
08:51
Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290) file: [1f3d6758] check-in: [4630e11d] user: danielk1977 branch: trunk, size: 16985
2006-06-23
11:34
Fix some memory leaks that occur when malloc() fails. (CVS 3286) file: [fd7e62d6] check-in: [b56cc035] user: danielk1977 branch: trunk, size: 17278
08:05
Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285) file: [7edad77e] check-in: [5d1d9071] user: danielk1977 branch: trunk, size: 17136
2006-06-21
16:02
Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282) file: [99ca599e] check-in: [2d280578] user: danielk1977 branch: trunk, size: 17042
13:21
Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281) file: [e65a7fd6] check-in: [7dc36d1c] user: danielk1977 branch: trunk, size: 17027
2006-06-17
11:30
Add newly created virtual tables to the current transaction. (CVS 3267) file: [8fbf4a8f] check-in: [ea7e4eca] user: danielk1977 branch: trunk, size: 16912
09:39
Add tests (and fixes) for the virtual table transaction interface. (CVS 3265) file: [d9f19d0d] check-in: [8a5b121f] user: danielk1977 branch: trunk, size: 16240
03:27
Fixes for UPDATE statements on virtual tables. (CVS 3263) file: [a0bcc2da] check-in: [81c5a5b4] user: danielk1977 branch: trunk, size: 16238
2006-06-16
16:08
Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261) file: [5d69a879] check-in: [61251402] user: danielk1977 branch: trunk, size: 16237
08:01
Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260) file: [cb5a2b23] check-in: [9497c66e] user: danielk1977 branch: trunk, size: 13381
2006-06-15
07:29
Simple tests and fixes for writing to virtual tables. (CVS 3252) file: [745148c6] check-in: [88fa510e] user: danielk1977 branch: trunk, size: 12944
04:28
Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251) file: [3b58aa4a] check-in: [470a3a0b] user: danielk1977 branch: trunk, size: 13137
2006-06-14
13:03
Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242) file: [507cbb4e] check-in: [418f3ca8] user: danielk1977 branch: trunk, size: 12713
06:58
Change the pModule parameter of the xCreate and xConnect methods to a void*. (CVS 3236) file: [b198496e] check-in: [3ffa51b5] user: danielk1977 branch: trunk, size: 12714
06:31
Add tests for error conditions surrounding the creation/connection of virtual tables. (CVS 3235) file: [6af0aa0e] check-in: [5e592c42] user: danielk1977 branch: trunk, size: 12521
2006-06-13
23:51
The echo module test is now running. Added the tclvar module test but have not yet done anything with it. (CVS 3234) file: [7de13470] check-in: [29199eee] user: drh branch: trunk, size: 12293
15:00
Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228) file: [12d83f7d] check-in: [7a3e97f7] user: danielk1977 branch: trunk, size: 12610
10:24
Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223) file: [0e39af58] check-in: [1f20e183] user: danielk1977 branch: trunk, size: 12300
2006-06-12
16:01
Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218) file: [4ec6ac7e] check-in: [f0c7c8d1] user: danielk1977 branch: trunk, size: 12353
12:08
Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214) file: [430228a2] check-in: [b63dbc79] user: danielk1977 branch: trunk, size: 11665
11:24
Add first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213) file: [36778506] check-in: [bbeb93b5] user: danielk1977 branch: trunk, size: 11281
06:09
Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212) file: [6872f6a6] check-in: [8ffbab79] user: danielk1977 branch: trunk, size: 9196
2006-06-11
23:41
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211) file: [4ace1448] check-in: [898ec36b] user: drh branch: trunk, size: 6743 Added