Commit Graph

3028 Commits

Author SHA1 Message Date
drh
4eb9a9792a Disable the /./ and /../ collapser logic in sqlite3OsFullPathname under Unix. (CVS 3092)
FossilOrigin-Name: 111a426b3e2fae77c9e6c3cd903fd80652b23720
2006-02-13 18:42:21 +00:00
drh
97bbdc0aa2 Fix a bug in the handling of sqlite3OsTruncate by the test_async.c demo.
Added trans.test to the suite of tests for asychronous I/O. (CVS 3091)

FossilOrigin-Name: 5b16c43542194d6c736bf7aadaaa7f31ff12af31
2006-02-13 18:35:06 +00:00
drh
89ea93121d Add in-process file locking to test_async.c. The unix implementation of
sqlite3OsFullPathname() now attempts to remove /./ and /../ elements from
the path. (CVS 3090)

FossilOrigin-Name: 42379c623073eb541d053c2dff9f49087fb290f8
2006-02-13 17:03:47 +00:00
drh
99681dbbdb Fix a deadlock problem on the sqlite3async_wait test interface. Improvements
to tracing in test_async.c. (CVS 3089)

FossilOrigin-Name: 58c6d501385c6f7656290e8451e28be3fc45843f
2006-02-13 15:29:32 +00:00
drh
fc8748a772 Improvements to the TRACE macro in test_async.c. (CVS 3088)
FossilOrigin-Name: 4c6dfec54fc128644e066c04902433f8df30672e
2006-02-13 14:49:38 +00:00
drh
4b74b26052 I/O errors shut down all processing on the same file in test_async.c. (CVS 3087)
FossilOrigin-Name: 4366e7121703a18ebb799dfa4f168b3b2508604e
2006-02-13 13:50:55 +00:00
drh
4452838a65 Fix overlapping read logic in the test_async.c demonstration. (CVS 3086)
FossilOrigin-Name: ad25127b067b3135694ddb0de552aad981640669
2006-02-13 13:30:19 +00:00
drh
5c32354cb7 Fix a memory leak in test_async.c. (CVS 3085)
FossilOrigin-Name: 904ffa4dfb60e00b01db17049de2f4934537f3d8
2006-02-13 13:23:57 +00:00
drh
8c08e86187 I give up. SUM() now throws an error on integer overflow. Those of us
who think this is goofy can use TOTAL() instead.
Tickets #1664, #1669, #1670, #1674. (CVS 3084)

FossilOrigin-Name: 1c3e6002cd9fd5d30e197448c4d98cdd59163cac
2006-02-11 17:34:00 +00:00
drh
b151ac0015 Version 3.3.4 (CVS 3083)
FossilOrigin-Name: 033aaab67f3759f2f65d047ecbc027de9b37d7a7
2006-02-11 02:12:00 +00:00
drh
e9565a6d94 Fix typo in os_unix.c. (CVS 3082)
FossilOrigin-Name: c0e987bcfa899c073d54fbd5a3606c704b8bc3d9
2006-02-11 02:03:52 +00:00
drh
71a355e379 Prepare for the release of 3.3.4. (CVS 3081)
FossilOrigin-Name: 951f3322c0eac4ae311c84f2d15f2c264f5c473a
2006-02-11 01:56:54 +00:00
drh
ac530b1ab4 Add support and documentation for the fullfsync pragma. Also include
some other unrelated documentation updates. (CVS 3080)

FossilOrigin-Name: f2069d0bf3161591535e68b7389792e9cb7fe043
2006-02-11 01:25:50 +00:00
drh
78aecb7250 Make sure pointers are always aligned to 8-bytes when creating internal
Index structures. (CVS 3079)

FossilOrigin-Name: d20a33ac2a29a3410fa28078dd122d87d8fca4fe
2006-02-10 18:08:09 +00:00
drh
0ac0719087 Clean up pointer misuse in vdbe.c. (CVS 3078)
FossilOrigin-Name: 9e82b927490bc152f61c4ee3e95b6d08ea16c858
2006-02-10 14:02:07 +00:00
danielk1977
12f5e2018d Minor test file modifications for builds compiled with OMIT options. (CVS 3077)
FossilOrigin-Name: c468aa349db4e6571711bf94781b88aa3c811d03
2006-02-10 13:33:30 +00:00
danielk1977
ad2dccde5f Add documentation for new APIs. (CVS 3076)
FossilOrigin-Name: 84c2a5c4d753d1e39136ac7e80ac816442af0a49
2006-02-10 13:14:20 +00:00
drh
6a3d670205 More comments on the unix locking code. Ticket #1672. (CVS 3075)
FossilOrigin-Name: 4b6f5688843ebe39f6bd3e863666a44d486fbe0f
2006-02-10 13:11:32 +00:00
danielk1977
ff293cad83 Add trivial tests to increase coverage of sqlite3_table_column_metadata(). (CVS 3074)
FossilOrigin-Name: 424ce5ecd0aa9860afb73180e4d09987f3a9300a
2006-02-10 12:48:55 +00:00
danielk1977
266664ddef Work around the case where the pending-byte page is also a a pointer-map page. Ticket #1667. (CVS 3073)
FossilOrigin-Name: 5ea87fbbe09279e70d3a22b8cd9994befffeac53
2006-02-10 08:24:21 +00:00
danielk1977
1787ccabed Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
2006-02-10 07:07:14 +00:00
drh
5c11123df8 Fix deadlock problem in the unix mutex. Ticket #1672. (CVS 3071)
FossilOrigin-Name: a6c30be214bb575f9ecfa299b7a597d21e3d3aca
2006-02-10 04:33:12 +00:00
danielk1977
4b1ae99d01 Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070)
FossilOrigin-Name: 6ebb8f9bb2f6a3f7fde19267727aa4e2d878a416
2006-02-10 03:06:10 +00:00
danielk1977
955de52c9c Add the column_origin_name() etc. APIs. (CVS 3069)
FossilOrigin-Name: 82f502cdc1fead3bf7e3190d5c9db3aee6919ed4
2006-02-10 02:27:42 +00:00
drh
86631a5ad1 Ignore errors when when calling fsync() on a directory. Ticket #1657. (CVS 3068)
FossilOrigin-Name: d54d3b82c468b7e6dd39aac6aac56b26b3918c37
2006-02-09 23:05:51 +00:00
drh
0b2a5eeae9 Allow '@' to introduce host parameter names for compatibility with
MS SQL Server.  Ticket #1671. (CVS 3067)

FossilOrigin-Name: 0738ef818d4023a5159b6bee0a65f0b83d01c1d5
2006-02-09 22:24:41 +00:00
drh
29d7210819 SUM never gives an error. An integer result is returned for exact results
and a floating point result is returned for approximate results.
Tickets #1664, #1669, and #1670. (CVS 3066)

FossilOrigin-Name: 9e04f8fdf1ec0dc36effb55c05d075b3b4777fef
2006-02-09 22:13:41 +00:00
drh
cf85a51c2a Deprecate the sqlite3_aggregate_count() API. Make sure all aggregate counters
are 64 bits.  Remove unused StdDev structure from func.c.  Ticket #1669. (CVS 3065)

FossilOrigin-Name: 44bd7ba432123ec77904b862d11521f4ab96d2cf
2006-02-09 18:35:29 +00:00
drh
76c730c18f Integer overflow in SUM causes an exception. Ticket #1669. (CVS 3064)
FossilOrigin-Name: c72b946198128cbceb12dffbdf4706d9fda0fd72
2006-02-09 17:47:42 +00:00
drh
9f6696ac9f Back out check-in (3058) - it breaks too much application code. (CVS 3063)
FossilOrigin-Name: 731f1e3245fafbda24355d5bdc5b249c4229305f
2006-02-09 16:52:23 +00:00
danielk1977
deb802cd83 Add the sqlite3_table_column_meta() API. (CVS 3062)
FossilOrigin-Name: 1ac72f68c0e9fd63decc97c166f49b405a9d323c
2006-02-09 13:43:28 +00:00
drh
fc6ad39cf8 Avoid overflowing the 48-bit mantissa of a floating point number when
summing large integers in the SUM() function.  Ticket #1664. (CVS 3061)

FossilOrigin-Name: a9169e879de5d5e4192d1681bc3e119fb83e739c
2006-02-09 13:38:19 +00:00
drh
ff22e18b3c Correctly handle COLLATE clauses in tables being modified by an
ALTER TABLE ADD COLUMN command.  Ticket #1665. (CVS 3060)

FossilOrigin-Name: baef2f66be164910881278ea527d2be75ac2e944
2006-02-09 02:56:02 +00:00
drh
6a714ded6c Use 64-bit integers in sqlite3_analyzer. Ticket #1666. (CVS 3059)
FossilOrigin-Name: 8b3068aca7b28d2b6c326f632bb9fe9b4940792d
2006-02-09 02:41:07 +00:00
drh
f7eece6cd9 Add "autoinc" and "collseq" columns to the table_info() pragma. (CVS 3058)
FossilOrigin-Name: 7940a590abb4262c17922fb2dae1d9688279b2ef
2006-02-06 21:34:27 +00:00
drh
4440597187 Keep correct track of the amount of outstanding memory even when the
system memory allocator returns a different number of bytes than
requested.  Ticket #1660. (CVS 3057)

FossilOrigin-Name: 6f5eb74fd93a78ccdc2ddee0936ad4c5b2813720
2006-02-06 21:22:30 +00:00
danielk1977
ab63989d42 Update the per-thread bytes allocated counter with the number of bytes actually allocated, not the number requested. Ticket #1660. (CVS 3056)
FossilOrigin-Name: 3f0a0ff1973079956506daaba9b21912fc76982b
2006-02-06 13:59:42 +00:00
drh
fb8de2dc07 Detect circularly defined views and issue an error message. Ticket #1658. (CVS 3055)
FossilOrigin-Name: f5341529d0cdbd63ce4c33606858158b6093969a
2006-02-05 18:55:20 +00:00
drh
144f20cbc8 Typecast to silence (incorrect) compiler warning. (CVS 3054)
FossilOrigin-Name: 3a04fc45ccc31f2009be812a9c9057844cf4ae3b
2006-02-01 14:39:53 +00:00
drh
0e819f9032 Always register BINARY collating sequences for UTF-16BE and UTF-16LE both.
Formerly we were only registering the native byte order by default.
Ticket #1654.  Note:  There may still be problems with collating sequence
synthesis. (CVS 3053)

FossilOrigin-Name: 3861377bd93453161dfe78a8c1d7a9f919108c8f
2006-02-01 13:50:41 +00:00
drh
570b935c2a In joins of the form: "A, B left C" make sure that the reordering optimization
does not put table A after table C.  Ticket #1652. (CVS 3052)

FossilOrigin-Name: 248b9be93d9532e31c640432b75c3310e180acb3
2006-02-01 02:45:02 +00:00
drh
8e2e2a1624 Added support for the -enable-thread-override-lock option on the
configure script. (CVS 3051)

FossilOrigin-Name: 82f558bd11ddb20792fbc9f579b40ad38d7f6af5
2006-02-01 01:55:17 +00:00
drh
5062d3a048 Add the SQLITE_THREADS_OVERRIDE_LOCKS compile-time option that disables
the run-time test to see if threads can override each others locks on unix. (CVS 3050)

FossilOrigin-Name: e83a19e8cb6d721b02502925b362f2e86b2de742
2006-01-31 23:03:35 +00:00
drh
15b9a15a8d Patches to support linux on embedded platforms. (CVS 3049)
FossilOrigin-Name: a088eb6d6eda70d89add1e5d95be5efda6c0de67
2006-01-31 20:49:13 +00:00
drh
0850b5374c Fix some pointless warnings from overly-pedantic compilers. (CVS 3048)
FossilOrigin-Name: b922c8e45f9a7799583d8b42875b27032fd71422
2006-01-31 19:31:43 +00:00
drh
5e6078bdba 3rd parameter to sqlite3_prepare() should be -1 if the string length is
unknown.  Passing in zero causes a zero-length SQL statement to be
prepared, which is a no-op.  Ticket #1651.  This bug introduced by the
fix for ticket #1650. (CVS 3047)

FossilOrigin-Name: 1e68ac590d9edd3784cd7afd6705a30f01740d0d
2006-01-31 19:07:22 +00:00
drh
99049b194a Version 3.3.3 (CVS 3046)
FossilOrigin-Name: 10a3f5654616cfe5b245f1348249101a7d956222
2006-01-31 16:21:13 +00:00
drh
4e15354c38 Put in the correct release date for version 3.3.3. (CVS 3045)
FossilOrigin-Name: 1133a84039e6a81855445b5309b36136f0a7d149
2006-01-31 16:20:50 +00:00
drh
7aae9943f5 Fix an problem in the test scripts that was show false failures under
windows. (CVS 3044)

FossilOrigin-Name: 0cf4e3c6e767cab7e145c50f1fa7097844ad5abc
2006-01-31 15:19:45 +00:00
drh
81f2ccdce9 Authorization callback on the ALTER TABLE ADD COLUMN command.
Ticket #1479. (CVS 3043)

FossilOrigin-Name: 461f586973431438bb074aa3077f705e9b1b80da
2006-01-31 14:28:44 +00:00