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
danielk1977
03aded4924
Have tests pass when SQLITE_OMIT_MEMORYDB is defined. (CVS 2131)
...
FossilOrigin-Name: 9df837c03939cdcb31856ac17b2425a6dd92d7b2
2004-11-22 05:26:27 +00:00
drh
b08153d0fb
Better error message on an SQLITE_RANGE error. Ticket #991 . (CVS 2124)
...
FossilOrigin-Name: accd432e4d9626353e555e63298fb7a56a41e53d
2004-11-20 20:18:55 +00:00
drh
6c62608fc6
The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100)
...
FossilOrigin-Name: 98c7a55478f7c465b219edc1a33eee222586fd65
2004-11-14 21:56:29 +00:00
danielk1977
dae2495b1f
Add the schema_cookie and user_cookie pragmas. (CVS 2089)
...
FossilOrigin-Name: d28d1d68e5104726e6088361dfa7bf2cdd9985c7
2004-11-11 05:10:43 +00:00
drh
5719628afb
Convert many constants to have type "const". (CVS 2006)
...
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
c60d04464f
Allow functions to be created when there are outstanding VMs.
...
(Ticket #926 ) Fix problems with sqlite3_errcode(). Add tests for
sqlite3_errcode(). (CVS 1989)
FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
2004-09-30 13:43:13 +00:00
drh
ae29ffbe23
Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)
...
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-25 14:39:18 +00:00
drh
c16a03b54b
The callback on sqlite3_trace() is invoked the first time sqlite3_step()
...
is called after sqlite3_prepare() or sqlite3_reset(). Ticket #900 . (CVS 1960)
FossilOrigin-Name: 0cc2f40e6afa157ead45140c4e28a9a33c469b73
2004-09-15 13:38:10 +00:00
drh
9bb575fd72
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
...
connection now *must* be called "sqlite3". You cannot call it "sqlite".
This might break existing code. (CVS 1941)
FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-09-06 17:24:11 +00:00
drh
c44af71c08
Address some minor 32/64 bit issues. (CVS 1932)
...
FossilOrigin-Name: 6c9be972c1c289b657ba87db8db08fceb89b0171
2004-09-02 15:53:56 +00:00
drh
92f02c31d4
Transactions commit on the last sqlite3_step(), not on sqlite3_finalize().
...
This allows the sqlite3_step() to return SQLITE_BUSY if the commit is
blocked by a lock. Ticket #885 . (CVS 1928)
FossilOrigin-Name: d1b29156558f1c576002cdb2544dffaa693da39b
2004-09-02 14:57:08 +00:00
drh
208f80a7d4
Fix a bug in the NOCASE collating function. (CVS 1917)
...
FossilOrigin-Name: 32c2974af67abbbfa75c46afdab59ea6d5c15beb
2004-08-29 20:08:58 +00:00
drh
4aec8b65c7
Add the sqlite3_libversion() API (ticket #834 ). Fix the build scripts to
...
correctly build the shared libraries with version 8.4 of Tcl. (CVS 1908)
FossilOrigin-Name: 6db26a19ea7ac77be41a7416dedaef1b9dfd9e16
2004-08-28 16:19:00 +00:00
drh
1bcdb0c0b2
Add new defenses against misuse of the C API. Ticket #870 . (CVS 1906)
...
FossilOrigin-Name: 6ef1f662d71c75bdb7f61b2fff03f5b1b41e5586
2004-08-28 14:49:46 +00:00
drh
290c19482e
Optimizations to the code generator. (CVS 1899)
...
FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
2004-08-21 17:54:45 +00:00
drh
dc3ff9c34c
Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890)
...
FossilOrigin-Name: 5914a11caa4c6e778cd7ca010427897c8f971552
2004-08-18 02:10:15 +00:00
drh
ae15787643
If meta(3)>0 then make the database readonly for now. This allows the current
...
database to interact with future releases that might include autovacuum. (CVS 1888)
FossilOrigin-Name: 7619bf4771781005da23a3e9d7b00de405e27a64
2004-08-14 19:20:09 +00:00
drh
22ac46d15d
Fix a bug that was preventing "PRAGMA temp_store=MEMORY" from working. (CVS 1887)
...
FossilOrigin-Name: bb55894521848b6a9d8b516a3c7eeb3482936d7e
2004-08-14 18:34:54 +00:00
drh
feac5f8dbc
Add the ".import" command to the command-line shell. (CVS 1873)
...
FossilOrigin-Name: b56afe640f7f3f2837120e3dd923c529c4a3123a
2004-08-01 00:10:45 +00:00
drh
3f7d4e49d8
Fix more problems with deferred execution of CREATE. Still need to do DROP.
...
There is now a memory leak. (CVS 1865)
FossilOrigin-Name: 6db3f122aad25b5226670ce682b7263d55c0d301
2004-07-24 14:35:58 +00:00
drh
234c39dff7
Progress towards getting prepared statements and CREATE and DROP to play
...
nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864)
FossilOrigin-Name: 49b991492496e104f5eca620a5d465a742b7ff3a
2004-07-24 03:30:47 +00:00
drh
90f5ecb39d
Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843)
...
FossilOrigin-Name: 4cf6e9db757931aba2f300b7869305434d6f2d2b
2004-07-22 01:19:35 +00:00