drh
d8a2b3845d
Keep sqlite3ext.h backwards compatible. This really should have been part
...
of the previous check-in. (CVS 4169)
FossilOrigin-Name: 7cf15a5f651f0777972e21e0a96d601cf294f0f3
2007-07-20 10:48:35 +00:00
drh
6bf0ae74c2
Add new APIs to the end of the sqlite3_apis structure in loadext.c, in order
...
to preserve backwards compatibility. Fix an incompatibility introduced
by (4108). (CVS 4168)
FossilOrigin-Name: 639993490ea829208b5f309bbe6c166c34e89d14
2007-07-20 10:33:58 +00:00
drh
a693bcde02
Fix a memory leak in the Rename method of the echo test virtual table.
...
No changes to the core. (CVS 4166)
FossilOrigin-Name: e5c132fff3e8a0478622527a7e47d679594f899a
2007-07-20 00:35:58 +00:00
drh
b100391318
Cleanup unused function in pager.c. This is the conclusion of the fix
...
to ticket #2518 . We believe the fix is complete and correct. (CVS 4165)
FossilOrigin-Name: 31dba1e933c523a47fdd007c2c7492133dfe72f2
2007-07-20 00:33:36 +00:00
drh
f85953edd0
Preliminary fix for ticket #2518 . Make sure the VACUUM command
...
increments the change counter. (CVS 4163)
FossilOrigin-Name: 75263797e29af437290c09e85cd5fd2aea08694f
2007-07-19 16:35:17 +00:00
drh
21f06723fb
Clarify the documentation on the nByte parameter to sqlite3_prepare().
...
Make it clear that nByte is a maximum string length. Ticket #2516 . (CVS 4162)
FossilOrigin-Name: d1ae3de4613d36b5352eb852f1951a09d4a92ac1
2007-07-19 12:41:39 +00:00
drh
309be02483
Get the min/max optimization working with descending indices. Ticket #2514 . (CVS 4161)
...
FossilOrigin-Name: a80a3c9d0a5e0a8a3d67bd841e2076893fd5e9aa
2007-07-18 18:17:11 +00:00
drh
eba1a1ebee
"extern" prototypes cause problems for the Digital Mars compiler. So
...
remove them. Ticket #2502 . (CVS 4156)
FossilOrigin-Name: f35fbf8070d770a603960b2a2afdeae91574ed5f
2007-07-13 10:26:08 +00:00
danielk1977
612642de32
Fix for #2497 . Set the database error code to the return value of sqlite3_step(). (CVS 4155)
...
FossilOrigin-Name: b01fda5f50e40b6122faf169c44486bde7ffe16c
2007-07-12 13:18:05 +00:00
pweilbacher
d8e9b6238e
Fix compilation warnings shown when using strict GCC options for os_os2.c. (CVS 4154)
...
FossilOrigin-Name: 22277b7e1b3eb1678280de5d49a6613908ab4bff
2007-07-03 23:37:09 +00:00
danielk1977
2ac2762f37
Fix a memory leak in shell.c. Reported on the mailing list. This has only been informally tested. (CVS 4153)
...
FossilOrigin-Name: a008905b39e7d4cd5b39db4906eb3b678e3ee8b7
2007-07-03 05:31:16 +00:00
drh
1c55ba094a
Fix a comment typo reported on the mailing list. (CVS 4152)
...
FossilOrigin-Name: 25e6df9cdd7d0cbb2bdee9ce76806cfd08314212
2007-07-02 19:31:27 +00:00
drh
12e8dcfbf6
Remove an unnecessary temporary variable for clarity of presentation in
...
a loop that GCC 4.2.0 is miscompiling. Ticket #2469 . GCC 4.2.0 miscompiles
this loop regardless of whether or not the temporary variable is used, but
by removing the variable, we hope to make it easier to explain the problem
to GCC maintainers. The error only appears if -ftree-vrp is used (which
is turned on by -O2). (CVS 4150)
FossilOrigin-Name: 35ae398bd37e4abbe362b0b780fc51153145b43d
2007-07-01 21:18:40 +00:00
pweilbacher
503028d61a
Change OS/2 version of sqlite3Os2FullPathname() for cross-compiler compatibility:
...
- allocate zBuff on demand (restricted stack space on old compilers)
- 2 bytes in zDrive in include '\0'
- pass drive number to DosQueryCurrentDir() instead of 0 to make EMX work
- zFull does not need to be preallocated (CVS 4149)
FossilOrigin-Name: cc2105176563c352a6dccef89a429a76b6f3adf5
2007-07-01 15:41:02 +00:00
pweilbacher
2b9ca8d3e4
Including os2safe.h from os_os2.c is no longer necessary (now that it's including from os.h) (CVS 4148)
...
FossilOrigin-Name: 6432bbe1c1db1d31bd0057d99a9d6b6a428d8ffc
2007-06-30 16:30:39 +00:00
pweilbacher
3f61bc79ae
old emx/gcc sets __EMX__ (with double underscores) as builtin #define (CVS 4147)
...
FossilOrigin-Name: d69204fec718a5d6d95351ee7a0c068a1c59222d
2007-06-30 15:24:37 +00:00
drh
e78669b6b8
Set FD_CLOEXEC on all open files under Unix. Ticket #2475 . (CVS 4146)
...
FossilOrigin-Name: f1e5fed8eb0fb92bd0f040666c017850afe3cf9f
2007-06-29 12:04:26 +00:00
danielk1977
5c55886059
Test error handling when renaming fts2 tables. (CVS 4144)
...
FossilOrigin-Name: 57840eba6a4380a0b71dc9514cdda41e2c455bb0
2007-06-27 17:09:24 +00:00
danielk1977
c033b64276
Implement xRename() for fts2 so that it is possible to rename fts2 tables. (CVS 4143)
...
FossilOrigin-Name: 488474fde753c5a7a14ed8f2fad7f16efd236491
2007-06-27 16:26:07 +00:00
danielk1977
182c4ba979
Allow ALTER TABLE on virtual tables. (CVS 4142)
...
FossilOrigin-Name: 37d1f9f37ea9d2e8a4dbe0ec67c0d6eb7fcc5f3f
2007-06-27 15:53:34 +00:00
danielk1977
b7865fbc53
Fix for compiling with OMIT_VIRTUALTABLE defined. (CVS 4140)
...
FossilOrigin-Name: 850822e2904bc340afd0b7535ef51fbdf9e1f486
2007-06-27 11:10:03 +00:00
drh
a6b81bad55
Fix typo in comments of the sqlite.h.in header file - comments from which
...
documentation is automatically extracted and generated. Ticket #2468 . (CVS 4139)
FossilOrigin-Name: 53b526203c22961447b9c1cebbd885ecc8bc3e09
2007-06-27 10:21:38 +00:00
drh
0e8003dff6
Set the connection error code when sqlite3_blob_read() or
...
sqlite3_blob_write() fail. Ticket #2464 . (CVS 4137)
FossilOrigin-Name: 3bd990be3cb8a74be9eaa8d5710852be6733cb58
2007-06-27 00:36:13 +00:00
drh
985e0c63fc
Make sure the TCL bindings always use Tcl_GetWideIntFromObj() even if the
...
reported type is "int" because on x86-64 and "int" type is 64-bits.
Ticket #2465 . (CVS 4135)
FossilOrigin-Name: 5c93324b937b4d8394b0eb7d7fe74f7965623cbe
2007-06-26 22:55:37 +00:00
drh
2f9ad1b47d
Remove vestigal code from Makefile.linux-gcc. Ticket #2466 . (CVS 4133)
...
FossilOrigin-Name: 338c18791006bac3709410087316700aad3b332f
2007-06-26 22:10:12 +00:00
danielk1977
05fdd6c055
Use (((i64)1)<<63) instead of just (1<<63) to compute the most negative 64-bit integer. (CVS 4131)
...
FossilOrigin-Name: be2570c061e1e751d1a46450bd1186549146526e
2007-06-26 12:52:33 +00:00
danielk1977
42d4ef2acc
Fix for #2444 : Avoid SIGFPE on 64-bit platforms when evaluating expressions like ((1<<63)/-1). (CVS 4130)
...
FossilOrigin-Name: c6dfd9e43449b0b3528281d9e2e4971c6ba86ab5
2007-06-26 11:13:25 +00:00
danielk1977
034ca14f81
Allow virtual tables to mark columns as 'hidden'. Hidden columns do not show
...
up in "*" expansion, the implicit column list of an INSERT statement, or the results of a "PRAGMA table_info" statement. (CVS 4127)
FossilOrigin-Name: 7f887a6a00fdd6efc3740bd8a1731bb1abde087c
2007-06-26 10:38:54 +00:00
drh
8605761506
Try to work around an MSVC compiler bug. Ticket #2457 . (CVS 4126)
...
FossilOrigin-Name: 4a7079a19ab5c36ed88cf597c21bf9f8b63bdf86
2007-06-26 01:04:48 +00:00
drh
b6a9eceab2
Change the name of sqlite3_atoi64 back to sqlite3Atoi64 so that it is clearly
...
and internal API. Modify the amalgamation to use a macro SQLITE_PRIVATE
instead of the keyword "static" so the macro can be overridden to by nothing. (CVS 4124)
FossilOrigin-Name: 96190cf13dd7219f483308fea92d703328aac4c7
2007-06-26 00:37:27 +00:00
drh
217f49093c
Rework the string to integer conversion logic to address tickets
...
#2344 and #2454 . (CVS 4123)
FossilOrigin-Name: 5b3a490649ab88c168e3e5bf2efbc7f61b1b954d
2007-06-25 17:28:00 +00:00
danielk1977
c9cf6e3d31
Fix for #2445 . A bug in the lookupName() logic that could cause a crash when a WHERE clause used an alias to refer to an expression in the result-set of the SELECT, and that expression was itself a reference to a table column. (CVS 4122)
...
FossilOrigin-Name: 044ca1c72a8f4632dc2e6a94690d164d3560ee38
2007-06-25 16:29:33 +00:00
danielk1977
27b1f95f08
Make the auto_vacuum mode peristent in all cases. (CVS 4115)
...
FossilOrigin-Name: 5b0408ddd0f1c825f402d0f5a3088a61b5ecd2c3
2007-06-25 08:16:58 +00:00
danielk1977
d62e76c792
Fix for #2451 . Code comment changes only. (CVS 4114)
...
FossilOrigin-Name: bc61dcbf64af56d4a1394c8ff46e91245dc16d15
2007-06-24 16:11:03 +00:00
danielk1977
418899a359
Make setting "PRAGMA auto_vacuum = incremental" persistent if it is executed before the database file is created. (CVS 4113)
...
FossilOrigin-Name: c666fad151f25ab8365c497cd0967f4a5a2adb90
2007-06-24 10:14:00 +00:00
danielk1977
180b56a1bb
Add the "(database.)freelist_count" PRAGMA. For querying the size of the
...
database free-list. (CVS 4112)
FossilOrigin-Name: 1fb4251a707d0b79d250d6ea2022913b371d5f14
2007-06-24 08:00:42 +00:00
danielk1977
f3b863ed07
When expanding '*' in the result set of a SELECT, quote the expanded identifiers. Fix for #2450 . (CVS 4111)
...
FossilOrigin-Name: d5b7224f37db1729dd042d48765d7a79247e1bde
2007-06-24 06:32:17 +00:00
pweilbacher
53b4bd3252
fix linking failure on OS/2 that happens with the amalgamation and the high memory option enabled (CVS 4110)
...
FossilOrigin-Name: f35e20e19633d7b114fdf145820ca5d61b5aa925
2007-06-22 20:17:37 +00:00
pweilbacher
691902e7d6
fix compilation failure on OS/2 with the amalgamation (CVS 4109)
...
FossilOrigin-Name: 12327ca049e62922bfb3c2a14e42554fd58265e8
2007-06-22 20:04:36 +00:00
danielk1977
832a58a68c
Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108)
...
FossilOrigin-Name: 68677e420c744b39ea9d7399819e0f376748886d
2007-06-22 15:21:15 +00:00
drh
bf2564f612
Clarify documentation of the column metadata APIs. Make sure that the
...
new documentation claims are tested. (CVS 4107)
FossilOrigin-Name: 2dafe08a91b5328a9d0df5ab29c3ff2d94ad5f6f
2007-06-21 15:25:05 +00:00
drh
7e09fe0b81
A column name preceded by a unary "+" operator is considered to be
...
a column name when computing the collating sequence to be used by
a comparison operator or ORDER BY clause. (CVS 4104)
FossilOrigin-Name: 99a20f6a427b5e0e0a793f59ebca9d17bc633437
2007-06-20 16:13:23 +00:00
drh
7cd6927e7f
Remove the dependency on libm for isnan(). Ticket #2436 . (CVS 4103)
...
FossilOrigin-Name: 406675bb1c954dae95b9059f7f533ed57e3947d9
2007-06-20 15:29:25 +00:00
drh
029f3f8924
Remove an unused variable from btree.c. (CVS 4102)
...
FossilOrigin-Name: cb47a8297fd91becdc4e1c50fd84b3efedd3951f
2007-06-20 15:14:10 +00:00
drh
4c1038388e
Fix comment typo in analyze.c. Ticket #2434 . (CVS 4101)
...
FossilOrigin-Name: df9957b94737b76ed7b1de77bb22bb27c7ae2dcf
2007-06-20 13:37:31 +00:00
drh
a959ac4588
Fix a bug in the command-line shell that prevents the
...
reading of the ".sqliterc" file. Ticket #2433 . (CVS 4100)
FossilOrigin-Name: 6eaf29f5e1e99b066825a1ccf34c82c9da6da826
2007-06-20 13:10:00 +00:00
drh
9245c243b7
Disallow empty GROUP BY clauses. Ticket #2431 . (CVS 4099)
...
FossilOrigin-Name: 9581e7a4a4d74b08ce5380b49862957c804e46bb
2007-06-20 12:18:31 +00:00
drh
647f9ad770
Additional changes for ticket #2426 . (CVS 4098)
...
FossilOrigin-Name: 79debf95cdccdc1f18b6f0fcd213f514e327181c
2007-06-20 11:56:51 +00:00
danielk1977
d84d483322
Fix for #2432 and partial fix for #2427 (documentation change only). (CVS 4097)
...
FossilOrigin-Name: f025a745319486d858e2831178a86265fd5fcf32
2007-06-20 09:09:47 +00:00
drh
1c747819de
Change the TCL bindings so that @aaa always treats the variable aaa as
...
a bytearray and binds the value as a BLOB. This change is backwards
compatible since the $ behavior is unchanged and @ was not accepted
until the current round of changes. (CVS 4094)
FossilOrigin-Name: 6f7d55acedc92eeaf988425c719addd56209187f
2007-06-19 23:01:41 +00:00