drh
8fc3345f29
Detect stack overflow in the parser and report an error. (CVS 3112)
...
FossilOrigin-Name: bd2c38f4670d1243284f2431b5e0712a6d1de1d7
2006-02-27 21:58:07 +00:00
drh
580eeaf348
Additional compiler warnings suppressed. (CVS 3111)
...
FossilOrigin-Name: a359b1817e85a9c5f31085817ae70e3e0b8ac7a7
2006-02-24 03:09:37 +00:00
drh
74161705f1
Remove unused parameters on internal APIs. Suppress warnings from
...
CodeWarrior. (CVS 3110)
FossilOrigin-Name: 4b22e4b847f8d5c29830baea541194ef3a0c4811
2006-02-24 02:53:49 +00:00
drh
874abbed68
Make sure the random() function always returns a value that can be passed
...
to abs(). (CVS 3109)
FossilOrigin-Name: 5d2e7ea01989fc9ba2c79d192760bc29f8cab463
2006-02-23 21:51:12 +00:00
drh
52fc849a3c
Detect integer overflow in the abs() function. The random() function
...
now provides 64 bits of randomness instead of just 32. Fix bugs in
testing logic of test4.c. (CVS 3108)
FossilOrigin-Name: 942c509595a2a300e798e6b048ad7fc3bc54af43
2006-02-23 21:43:55 +00:00
drh
fcce93f62c
New compile-time option SQLITE_SECURE_DELETE takes care to overwrite deleted data with zeros. (CVS 3107)
...
FossilOrigin-Name: 614fac906807b8c75e04effc01666874d13ce636
2006-02-22 03:08:32 +00:00
drh
e134ff1ea8
Always generate code, even if it is a no-op, for CREATE and DROP statements
...
that use the IF EXISTS or IF NOT EXISTS clause. (CVS 3106)
FossilOrigin-Name: f8173e6aea8e90f64f5907f3f7ff4f34281f40da
2006-02-18 16:36:45 +00:00
danielk1977
8ae59d5233
Fix bug preventing compliation without MEMDEBUG when ENABLE_MEMORY_MANAGE is defined. (CVS 3105)
...
FossilOrigin-Name: 76912b33b1a15ee4baea9f7c8685933b4d551e91
2006-02-17 15:01:36 +00:00
danielk1977
ddfb2f036a
Ensure temp db is open before executing a pragma like "temp.cachesize = xxx". Fix for #1682 . (CVS 3104)
...
FossilOrigin-Name: 1e4644b2369547da65fcaa9a3c8ddd206a3c82ae
2006-02-17 12:25:14 +00:00
drh
7d9bd4e19e
Or the SQLITE_UTF16_ALIGNED with the encoding field in
...
sqlite3_create_collation and UTF16 strings will always be aligned
on an even byte boundary when passed into the comparison function. (CVS 3103)
FossilOrigin-Name: 7a1701e8c562087d364dff28cd7cad7ca4cdb5ae
2006-02-16 18:16:36 +00:00
drh
e8c1513254
Get the build working again. Fix for check-in (3093) (CVS 3100)
...
FossilOrigin-Name: 4e6b74b290282fd10fae97df8dfa643a1b7ef0c6
2006-02-15 21:19:01 +00:00
danielk1977
16825cbebb
test_async.c: Writer-thread should not relinquish mutex when writing a file for which only one file handle is open (fixes bug introduced in (3093)). (CVS 3097)
...
FossilOrigin-Name: f0c45b7eab219ee812dbd2eb5e1c39fdf52a0ff2
2006-02-14 14:46:41 +00:00
danielk1977
2d9fcaa61c
Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096)
...
FossilOrigin-Name: 2f2a8a69cb380dc30b85a792c369020fec3c79a5
2006-02-14 14:02:08 +00:00
danielk1977
bf623f25cd
Fix bug in test_async.c version of OsFileSize(). (CVS 3095)
...
FossilOrigin-Name: 239e53b4f29b4faf2dbdc2aebd2332ad25b14286
2006-02-14 13:48:33 +00:00
danielk1977
be29bfc0b5
Add simple io error tests for test_async.c. (CVS 3094)
...
FossilOrigin-Name: 528dfb71801bb7b8a66944db6f32cc3dc0054118
2006-02-14 13:25:43 +00:00
danielk1977
750b03e543
Changes so that test_async.c works with memory management turned on. (CVS 3093)
...
FossilOrigin-Name: f4150c29df2774b4422d4296d913cdbcee62c859
2006-02-14 10:48:39 +00:00
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
e9565a6d94
Fix typo in os_unix.c. (CVS 3082)
...
FossilOrigin-Name: c0e987bcfa899c073d54fbd5a3606c704b8bc3d9
2006-02-11 02:03:52 +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
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
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
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