drh
66560adab3
Change the OS interface layer to use traditional direct function call
...
implementations instead of the more complicated virtual function table.
Omit the asynchronous I/O demo. (CVS 2870)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
danielk1977
de0fe3e4c3
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
...
FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4
2006-01-06 06:33:12 +00:00
danielk1977
441b09ae55
Disable automatic invocation of sqlite3_release_memory() when a malloc() fails
...
in those cases where the global mutex is held. (CVS 2860)
FossilOrigin-Name: 6fdbb8b771e490f0d791326689245302c4fe18f5
2006-01-05 13:48:29 +00:00
danielk1977
da18423620
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
...
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
danielk1977
aef0bf6429
Add part of the btree layer of the shared-cache feature. (CVS 2848)
...
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-30 16:28:01 +00:00
danielk1977
f3f06bb30c
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824)
...
FossilOrigin-Name: 83c8ae5bee3b6bdb556d2e85fa260ba855742601
2005-12-16 15:24:28 +00:00
danielk1977
71fd80bf5c
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
...
FossilOrigin-Name: 3baa3ff32435b64e7ae7646b17a98fef9296aaa0
2005-12-16 06:54:01 +00:00
danielk1977
94eb6a14cb
Add the sqlite3_update_hook() API. (CVS 2820)
...
FossilOrigin-Name: 36229018817eebfbfca7a66d2285e4faf7b39845
2005-12-15 15:22:08 +00:00
drh
af9a7c22b5
Fix memory allocation problems on the utf-16 versions of collating function
...
control routines. (CVS 2817)
FossilOrigin-Name: ad292e27336b8c5afc0acdf111944a456bd23c32
2005-12-15 03:04:10 +00:00
danielk1977
7ddad969a4
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814)
...
FossilOrigin-Name: 1637f3796015d1582ed8c6bc8bdf8c067b4bade9
2005-12-12 06:53:03 +00:00
drh
2646da7e52
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
...
FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
2005-12-09 20:02:05 +00:00
drh
7dd90a4785
Report errors out of sqlite3_open16(). (CVS 2802)
...
FossilOrigin-Name: f5b58163d4520fa3e7137e8445a8ef19aae3e799
2005-12-06 13:19:07 +00:00
danielk1977
261919cc16
Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800)
...
FossilOrigin-Name: e1606658f1b4530e3001db4779b5669c8d13c853
2005-12-06 12:52:59 +00:00
drh
054889ec6d
Restructure the OS interface yet again. This time make the OsFile object
...
a virtual base class which is subclassed for unix, windows, and the crash
test simulator. Add the new file "os.c" for common os layer code. Move
all OS-specific routines into the sqlite3Os structure. (CVS 2795)
FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07
2005-11-30 03:20:31 +00:00
drh
d9cb6ac02f
Changes to prevent various compiler warnings. (CVS 2750)
...
FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195
2005-10-20 07:28:17 +00:00
drh
4928570812
Changes to make corruption errors easier to track down. (CVS 2709)
...
FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36
2005-09-17 15:20:26 +00:00
drh
13449892ef
Rewrite the aggregate handling logic so that it runs in O(1) space.
...
This is the first cut at the code. Many regression tests fail. (CVS 2662)
FossilOrigin-Name: 17039ec3ff4396862beedf4a8af89654b2140f58
2005-09-07 21:22:45 +00:00
drh
19e2d37f1d
Increase resolution of time-of-day on unix. Add an experimental
...
sqlite3_profile() API. (CVS 2639)
FossilOrigin-Name: ed2ca0873fa89d6cfd123541d5d1c6b92c72b6ab
2005-08-29 23:00:03 +00:00
drh
d64fe2f374
The LIKE optimization does the right thing when collating sequences are
...
present. LIKE expressions where the left-hand side has COLLATE NOCASE
are optimized in the default case. (CVS 2637)
FossilOrigin-Name: ef84ff795c85e9d28f1cac84ff42d8d4ef84cfc4
2005-08-28 17:00:23 +00:00
drh
55ef4d9758
The case_sensitive_like pragma added.
...
Test cases added for the LIKE optimization. (CVS 2592)
FossilOrigin-Name: 72ee21c05e618b6f46f5460f8c85779c72fe32d7
2005-08-14 01:20:37 +00:00
drh
2db0bbc24b
Improve the error message associated with SQLITE_FULL. Ticket #1353 .
...
Also remove error messages for obsolete error codes SQLITE_INTERNAL,
SQLITE_NOTFOUND, and SQLITE_TOOBIG. (CVS 2580)
FossilOrigin-Name: fa7403c7d9948cc4a6c6ed00a614e3d6a3682e78
2005-08-11 02:10:18 +00:00
drh
84bfda41db
Add test instrumentation that will be needed during the development of
...
forthcoming optimizer enhancements. (CVS 2548)
FossilOrigin-Name: dfd5fd77b0764853f847eeee3c1fe047d60fee7e
2005-07-15 13:05:21 +00:00
drh
a4afb65cb7
Make sure there is only one busy counter. Ticket #1315 . (CVS 2543)
...
FossilOrigin-Name: af2a0ba4a38abf208db1ff6f018cf756de2afd5b
2005-07-09 02:16:02 +00:00
drh
3f73708ce4
Fix a bug in the default busy handler for systems that lack usleep().
...
Ticket #1284 . (CVS 2514)
FossilOrigin-Name: a42cb81d1173532537aed4e71091d4cd3f3a88a0
2005-06-14 02:24:31 +00:00
drh
3e1d8e6356
Add an experimental sqlite3_get_autocommit() API used to test whether or not
...
changes are committed automatically. (CVS 2486)
FossilOrigin-Name: 4a7f1275857602e3841ccb2d43a5c4d3d3e87bff
2005-05-26 16:23:34 +00:00
danielk1977
1f723bd904
Fix minor problems with the SSE hooks. (CVS 2483)
...
FossilOrigin-Name: 3516ca29da5f28adc1fd4da42ca5551d154b6320
2005-05-26 12:37:29 +00:00
danielk1977
fa256a3306
Split main.c into two files to make building without the parser easier. (CVS 2481)
...
FossilOrigin-Name: d50915fafbde6859a5c2c3fc5cc9b99553b54e21
2005-05-25 04:11:56 +00:00
drh
97903fef77
Remove the config.h file from the build. Ticket #1224 . (CVS 2480)
...
FossilOrigin-Name: 3e64f1ab417f371e9875915303b898c5b45f0807
2005-05-24 20:19:57 +00:00
danielk1977
fd9a0a45a7
Move a few things around to make building without the parser easier. (CVS 2479)
...
FossilOrigin-Name: 5fadb464eb77b4b998d8555f83401769960ea904
2005-05-24 12:01:00 +00:00
danielk1977
7e900abf0a
Add pFetch variable (used by SSE) to sqlite3 structure. (CVS 2475)
...
FossilOrigin-Name: 2a8ac869671b627d4d01655bbce7a781bc74af44
2005-05-23 04:51:01 +00:00
drh
68cb6192c1
Timing fix in the default busy handler. (CVS 2456)
...
FossilOrigin-Name: 76090ed84c73a9b9c7099e2986390ca8967128f4
2005-05-06 22:05:56 +00:00
drh
ee570fa498
Fix an array index bug in the default busy callback handler.
...
Ticket #1198 . (CVS 2447)
FossilOrigin-Name: 3cc14b7606681d04eb56003a0996322e3b3bdc73
2005-04-28 12:06:05 +00:00
danielk1977
3eb8db90ba
Fix a problem with threads and the global database list in main.c. (CVS 2434)
...
FossilOrigin-Name: 4aa05d2251b0cf6323ea695330de9ccf7e071bed
2005-03-29 23:34:58 +00:00
danielk1977
53c0f7480b
Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427)
...
FossilOrigin-Name: c41d55443c2dd532147962b87f542fb7d37075fd
2005-03-29 03:10:59 +00:00
danielk1977
6b456a2b46
Add function to recover from a malloc() failure. (CVS 2414)
...
FossilOrigin-Name: 1f9d10d7965c95d1e35f64cf4c3f128adabd41f2
2005-03-21 04:04:02 +00:00
danielk1977
aee18ef8e2
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
...
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
danielk1977
36963fdca8
Support for a future file format that includes 'short' records. (CVS 2351)
...
FossilOrigin-Name: 173aeb256e2c09098a4392874f8623e8a760d951
2005-02-19 08:18:05 +00:00
drh
7bec505e26
Add the (highly experimental) omit_readlock pragma that disables the use
...
of readlocks on read-only databases that are connected using ATTACH. (CVS 2317)
FossilOrigin-Name: 2155448d2128119f74241da0ea07d6713b71765c
2005-02-06 02:45:41 +00:00
danielk1977
99ba19ea08
Add a numeric version number. Ticket #1097 . (CVS 2315)
...
FossilOrigin-Name: a9c33a804d572dd9df15be2029637b10e5a65cc4
2005-02-05 07:33:34 +00:00
danielk1977
6a67fe8edf
Remove code for SQL cursors. (CVS 2312)
...
FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
2005-02-04 04:07:16 +00:00
danielk1977
c60e9b82db
Assorted minor changes to speed up loading the database schema. (CVS 2293)
...
FossilOrigin-Name: dfbd684a913022ad43ce59c3422d3d94f776d547
2005-01-31 12:42:29 +00:00
danielk1977
b3bce66232
Modify sub-query handling. Tickets #1083 and #1084 . (CVS 2286)
...
FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
2005-01-29 08:32:43 +00:00
danielk1977
9636c4e102
Prevent collation sequences and user functions from being deleted or changed while SQL statements are executing. (CVS 2275)
...
FossilOrigin-Name: cabab62bc10568d435806a7059fad7274f0dd4c8
2005-01-25 04:27:54 +00:00
danielk1977
a21c6b6fe0
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)
...
FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
2005-01-24 10:25:59 +00:00
danielk1977
93758c8dcc
Exclude a few more lines of code using OMIT macros. (CVS 2253)
...
FossilOrigin-Name: c6fc49e61033419e78b6b10638d57f4942087961
2005-01-21 08:13:14 +00:00
drh
47a6db2bfd
Column names coming back from a SELECT are now just the name of the
...
source column without the "table." prefix. In other words,
"PRAGMA short_column_names=ON" is now the default.
This makes the names of columns behave more like other SQL engines.
The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231)
FossilOrigin-Name: 9295050af1bf2d9d4dc63adc225a2848d67cbe17
2005-01-18 16:02:40 +00:00
danielk1977
2c3365493b
Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)
...
FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67
2005-01-13 02:14:23 +00:00
danielk1977
4397de57ce
Tests to improve coverage of main.c. (CVS 2202)
...
FossilOrigin-Name: 4e28c82adabb58ad9f79ed829734a2ff569a7c05
2005-01-12 12:44:03 +00:00
drh
49766d6cd0
Tcl interface does as sqlite3 or as sqlite. A compile-time option allows
...
duel linking. Also fix a bug in the pragma change from earlier today. (CVS 2186)
FossilOrigin-Name: ad10953799f3aa15fde41cbbd5911a3b56c326ec
2005-01-08 18:42:28 +00:00
drh
b6c29897eb
Add initial infrastructure for cursors. In where.c, optimize out clauses
...
of the form "ORDER BY rowid" if a table scan is being performed. Do a
reverse table scan if "ORDER BY rowid DESC" is present. (CVS 2141)
FossilOrigin-Name: fc8c1393c86017a816beb52725b68af3b973f979
2004-11-22 19:12:19 +00:00