Commit Graph

2443 Commits

Author SHA1 Message Date
drh
3844990cfc Do not open a statement journal unless absolutely necessary. (CVS 2499)
FossilOrigin-Name: 989573a53b58c1e959ad276119298ba2ea7448e6
2005-06-07 01:43:41 +00:00
drh
ed8a3bb108 Reference count Table structures so that they are not deallocated too soon.
Ticket #1210. (CVS 2498)

FossilOrigin-Name: e73d25c7419d580c47925494621df26d2fb9f27e
2005-06-06 21:19:56 +00:00
drh
473d179d8a Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines.
Ticket #1219. (CVS 2497)

FossilOrigin-Name: 12c32f139bae3cb7ca520451bfc15f9f7d94833d
2005-06-06 17:54:55 +00:00
drh
ba0232a0df Any non-zero value is considered TRUE in a WHERE clause. Ticket #1211. (CVS 2496)
FossilOrigin-Name: 0f7af623791d8d2ed35c3978ab12316912d9b6f8
2005-06-06 17:27:19 +00:00
drh
873fac0cae Avoid ambiguous column name errors when the column name is in the USING clause
of a join.  Ticket #743. (CVS 2495)

FossilOrigin-Name: 6a51bdeeff8312fa54fa2b1200f823428f35d605
2005-06-06 17:11:46 +00:00
drh
355ef36114 Naming the join columns in the result set of a natural join does not result
in an "ambiguous column name" error.  Ticket #1217. (CVS 2494)

FossilOrigin-Name: 265fb6079c0a4b7a93f063939436db494ff1d56c
2005-06-06 16:59:24 +00:00
drh
d70dc52d79 Honor the full_column_names pragma on * results. Ticket #1263. (CVS 2493)
FossilOrigin-Name: 0d57f851ae4f483985710db149c8f541e45cdb86
2005-06-06 16:34:33 +00:00
drh
7c3d64f151 Do not allow parameters in VIEW definitions. Ticket #1270. (CVS 2492)
FossilOrigin-Name: 0d46289f02aad526f462a3ceceb1bca1b9f6a543
2005-06-06 15:32:08 +00:00
drh
41f5852eea Handle failures of getcwd() without segfaulting. Ticket #1274. (CVS 2490)
FossilOrigin-Name: c1691004d6d81b683a4ca5b1723c0de8b9b4e376
2005-06-06 15:06:39 +00:00
drh
defc997230 Fix a bug in the malloc2 tests introduced by checkin (2473). (CVS 2489)
FossilOrigin-Name: fafaa18eea1e7142e1094b5f6d544d20c9df7c0f
2005-06-06 14:45:42 +00:00
danielk1977
a38b4134e7 Omit a couple of test cases if the library is compiled without subqueries. (CVS 2488)
FossilOrigin-Name: 6bc372978364a1a4bfa14732a818a6bba613b1e3
2005-05-29 14:23:12 +00:00
danielk1977
44ee5bf795 Minor changes to help build and test SSE. (CVS 2487)
FossilOrigin-Name: 3ac4a212bd70abb94d24830c73f7121df51125c7
2005-05-27 09:41:12 +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
105afed6a0 Add a -cleanup option to Tcl test proc do_ioerr_test. (CVS 2485)
FossilOrigin-Name: b0a898c05a2285c87d7da4d47dd697c58a0d4d58
2005-05-26 15:20:53 +00:00
danielk1977
5c2d9155de If SSE is enabled, set the P1 field of OP_AggInit instructions to the
number of arguments that will be passed to the aggregate function. (CVS 2484)

FossilOrigin-Name: 7f67b9f0f398583651d226fabf2fafd2635d772a
2005-05-26 14:41:47 +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
4dade03788 Rearrange code so that SSE can invoke the collation factory. (CVS 2482)
FossilOrigin-Name: ea061d2ed3b25908fcfcb88e35ba612e5832a217
2005-05-25 10:45:10 +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
drh
b71090fdfb The REGEXP operator is recognized. It tries to invoke a function named
regexp() which does not exist in the native build.  But users who want to
can add an appropriate regexp() function using sqlite3_create_function(). (CVS 2478)

FossilOrigin-Name: 42a626ace126f730f33ecb6c41ac5679d6766a31
2005-05-23 17:26:51 +00:00
drh
15ccce1c0d Make sure that the use of a double-quoted string literal does not trick
the optimizer into using a correlated subquery when a static
subquery would suffice. (CVS 2477)

FossilOrigin-Name: ef4059e3afa1a61a9e59df00cdfedc57d8df9fec
2005-05-23 15:06:39 +00:00
danielk1977
0bb8f36d05 Retain the error string if an error is generated by SSE during a VACUUM. (CVS 2476)
FossilOrigin-Name: f7b76d02e003faf0310b87949d3cb0f38062853f
2005-05-23 13:00:57 +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
eb43e5c7b7 The cache_size pragma should not reset the synchronous pragma. Ticket #1260. (CVS 2474)
FossilOrigin-Name: 2db2b32f269062b006ae5c4a302d116cdab8f9ec
2005-05-22 20:30:39 +00:00
drh
132d8d6ab9 Never user a pointer to standard library routines malloc() and free().
This rule is to
work around limitations of MSVC and the _fastcall calling convention.
Ticket #1256. (CVS 2473)

FossilOrigin-Name: a39c446726099e4915a1ad72c019d3c2cfe065bb
2005-05-22 20:12:37 +00:00
drh
edc1cc5b3e Fix a memory leak. Ticket #1259. (CVS 2472)
FossilOrigin-Name: 254ac2213e695ead065ba3807d5d285046212fe1
2005-05-22 19:21:51 +00:00
danielk1977
fd9e1f3179 Add hook to register SSE user-functions. (CVS 2471)
FossilOrigin-Name: 20bd303e8c6f7e69ba82ce1dc3041ea4e02d55cf
2005-05-22 10:44:34 +00:00
danielk1977
3a3f38e090 Allow schema objects beginning with sqlite_ to be created if the
SQLITE_WriteSchema flag is set. (CVS 2470)

FossilOrigin-Name: afc8ce42b6c321463f6451727d0f85c490c8e9ae
2005-05-22 06:49:56 +00:00
drh
3c68582188 Speed improvements as described by tickets #1257 and #1258. These changes
help some but are nowhere near the 23% claimed in the tickets. (CVS 2469)

FossilOrigin-Name: 3fa177c54a8589dcfa0bfad0ca124cb73b363f18
2005-05-21 18:32:18 +00:00
drh
fcd35c7b8c More structure rearrangements for additional size reductions. Ticket #1253. (CVS 2468)
FossilOrigin-Name: 6b6e525b294a5bbf8a5e56a2f60aa096865aedbd
2005-05-21 02:48:08 +00:00
drh
6d156e464d Reorder structure fields to reduce code footprint. Ticket #1253. Need
to do more of this. (CVS 2467)

FossilOrigin-Name: 27025613bc2970b0c23e08fbe5251103794ab6cb
2005-05-20 20:11:20 +00:00
drh
1c7880e501 Do not allow the pagesize of :memory: databases to be changed. Silently
ignore PRAGMA page_size=N requests for :memory: databases.
Ticket #1144 and #1252. (CVS 2466)

FossilOrigin-Name: f29a1d882623d8ff14f35a302aef63a16388bcb3
2005-05-20 20:01:55 +00:00
drh
e590fbde7c Comment changes in vdbeapi.c (CVS 2465)
FossilOrigin-Name: ab7805fb2fb29abc1311e23a93ba03883db7b30e
2005-05-20 19:36:01 +00:00
danielk1977
562e8d3c3b Fix memory leaks in Tcl user function interface. (CVS 2464)
FossilOrigin-Name: f5d9a8061a6d650f207669b121243abb8dd28be2
2005-05-20 09:40:55 +00:00
danielk1977
1f55c05660 Always use a more specific type (P3_FUNCDEF) instead of P3_POINTER as the
P3 type of a vdbe instruction. (CVS 2463)

FossilOrigin-Name: 79a41674be2c0a1990598428d8b1e9d09d3ea389
2005-05-19 08:42:59 +00:00
drh
dd9f8b45ef Fix an array index that is out of bounds. Ticket #1251. (CVS 2462)
FossilOrigin-Name: bcf87e4d1681d6c2856e716aae0135c2b14989d8
2005-05-19 01:26:14 +00:00
drh
8e855770de Provide a compile-time parameter to set the default file creation permissions
under Unix.  Ticket #1247. (CVS 2461)

FossilOrigin-Name: bfa55bec3233eed899606c309773f441857605ae
2005-05-17 11:25:31 +00:00
drh
c43e8be80c Fix an uninitialized variable. Ticket #1244. (CVS 2460)
FossilOrigin-Name: 582cb77d72031f78b560f67222a0e6ce5e3ca3f2
2005-05-16 22:37:54 +00:00
danielk1977
5205b40393 Modify documentation to explain default value of "pragma synchronous".
No code changes. (CVS 2459)

FossilOrigin-Name: 453014421e9a739b47d4c28b0342454e4c686199
2005-05-16 02:13:17 +00:00
drh
29f214bdaa Change to the lemon parser suggested by Geert Janssen. Appears to have no
impact on SQLite. (CVS 2458)

FossilOrigin-Name: 6fda60083f258a4943c859d768ea7142de831594
2005-05-11 14:28:14 +00:00
drh
6601e9e898 Fix a typo in the CREATE TABLE documentation. (CVS 2457)
FossilOrigin-Name: 748771a8ad7f175e49f253d0c1ace3fc55814418
2005-05-10 16:11:41 +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
8d97f1f141 Patch to fix an alignment problem on sparc. Ticket #1234. (CVS 2455)
FossilOrigin-Name: 240cce10d4b9d595a267e392ce322472b10f286d
2005-05-05 18:14:13 +00:00
drh
0405a34d11 Fix a datatype in trigger6.test that changed due to the previous check-in. (CVS 2454)
FossilOrigin-Name: c2af7d2c947bcec507087cc3a1e5b21e6322e4cd
2005-05-05 11:04:50 +00:00
drh
c7f269d551 In the TCL interface, user-defined functions preserve the datatype returned
by the Tcl procedure. (CVS 2453)

FossilOrigin-Name: 99dcba1fb1fdaa2b8bc85046b00c14f6af596e8f
2005-05-05 10:30:29 +00:00
drh
c96d8530ca Make sure all data structures have 8-byte alignment - necessary for the
sparc architecture and helpful on other 64-bit platforms.  Ticket #1232.
Also update some comments in build.c. (CVS 2452)

FossilOrigin-Name: d9418851cebc1605d8d62aad7987c0d61a905e81
2005-05-03 12:30:33 +00:00
drh
07d183da90 Remove the psAligned value from the BTree structure - the pageSize is now
always aligned to an 8-byte boundary.  Add comments on a confusing bit
of code.  Ticket #1231. (CVS 2451)

FossilOrigin-Name: 535523e1be692adc940d256a7b3d23c62a4cc947
2005-05-01 22:52:42 +00:00
drh
7e62779a58 Prevent a segfault described by ticket #1229. (CVS 2450)
FossilOrigin-Name: 0667eae9a97059125a77bd90452d19dc17c30a12
2005-04-29 02:10:00 +00:00
drh
89dec819d2 Add hooks for the SSE extension. (CVS 2449)
FossilOrigin-Name: 90f4cf2ad57309dbd20954fc7fd60859bc44bcf4
2005-04-28 19:03:37 +00:00