danielk1977
b77f5dadbf
Ensure the type of an sqlite3_value* is not modified by calls to
...
sqlite3_value_*() calls. (CVS 1463)
FossilOrigin-Name: ce8b15203413f38a8b7127eb08ae5db1c1eb164a
2004-05-26 13:27:00 +00:00
danielk1977
3cf8606395
Add some tests for the new API. Many more to come. (CVS 1462)
...
FossilOrigin-Name: d5659f2ee6788e0205fb5e03eeaf64e6c0aa9bed
2004-05-26 10:11:05 +00:00
danielk1977
fc57d7bf72
Use the new API calls more consistently. (CVS 1459)
...
FossilOrigin-Name: 17e7db488dac6b30d174f2272edf1046c2bb9990
2004-05-26 02:04:57 +00:00
danielk1977
0ae8b83155
Change a couple of symbol names for the new user function API. (CVS 1454)
...
FossilOrigin-Name: 8f6b20c2938ded7ab9e400494c02370ecf7e9311
2004-05-25 12:05:56 +00:00
danielk1977
7e18c259fe
Use the new API for returning values and errors from user functions. (CVS 1453)
...
FossilOrigin-Name: 4eccae03b4a7f37804fea30416579787c3584bb2
2004-05-25 11:47:24 +00:00
danielk1977
88208050b6
Add manifest type aware versions of the min() and max() aggregates. (CVS 1452)
...
FossilOrigin-Name: b77c268ebebd5401c3f519a72cfb81438207368c
2004-05-25 01:13:20 +00:00
danielk1977
6ddcca553d
Aggregate functions also use sqlite_value* instead of const char * for
...
arguments. (CVS 1451)
FossilOrigin-Name: 5c28ed5e9b5a3ecb3081ce0c5c9450d6ae8dc77d
2004-05-24 23:48:25 +00:00
danielk1977
93d4675d67
Begin changing the vdbe so all stack values use the database encoding. (CVS 1444)
...
FossilOrigin-Name: f47de3a933b51b37629a0ca2e492a534a12e7339
2004-05-23 13:30:58 +00:00
drh
7906975a0f
Remove the OP_SetInsert opcode. (CVS 1443)
...
FossilOrigin-Name: 18e690e405710c9a8010340c01754bbfa3231fe9
2004-05-22 21:30:40 +00:00
danielk1977
b1bc95315b
Steps towards UTF-16 databases. Some tests are failing because of this
...
commit. (CVS 1433)
FossilOrigin-Name: c4a8246864eee7cb993ab7b703324d92c284d72a
2004-05-22 03:05:33 +00:00
danielk1977
106bb236a8
Further work on the new API. All the functions to execute queries are there
...
now. (CVS 1427)
FossilOrigin-Name: fc94575d77f9865e1553bb70c2e3eda2a0b8669e
2004-05-21 10:08:53 +00:00
drh
d3d39e939d
Add internal support for collating sequences. This breaks 244 tests. (CVS 1420)
...
FossilOrigin-Name: a6cb09d7af537726acc87b9133f68c81e839e047
2004-05-20 22:16:29 +00:00
drh
53db145800
sqlite3MemCompare now takes a CollSeq* argument. (CVS 1419)
...
FossilOrigin-Name: 5c1e47a25244eacc69b688f5f4e62cec9f09665a
2004-05-20 13:54:53 +00:00
danielk1977
51e3d8e204
Add support for the new sqlite3_bind_*() APIs. (CVS 1410)
...
FossilOrigin-Name: e8f980d842fcd793552acd32708db55c8f014634
2004-05-20 01:12:34 +00:00
drh
7cf6e4de35
Change opcode names and comments to better describe the operation of
...
the incrKey flag. OP_MoveTo becomes OP_MoveGe. (CVS 1407)
FossilOrigin-Name: 8f249c45cbc77f4320798ff1a830b55e5c74888a
2004-05-19 14:56:55 +00:00
drh
5a12e68986
Variable name change: azVar to apVar. (CVS 1404)
...
FossilOrigin-Name: 45169ce015da07da9a874b5b075ea6a05f59f162
2004-05-19 11:24:25 +00:00
danielk1977
54db47e3da
Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1403)
...
FossilOrigin-Name: f71844bc27c9fc799af3337daf2a212370d4a724
2004-05-19 10:36:43 +00:00
drh
428702d730
Remove dead code from vdbeaux.c. Add comments describing desired changes
...
to OP_Sort processing in select.c (CVS 1398)
FossilOrigin-Name: ae37e8a0bff39fd1568eae83f8761c34cd0184fc
2004-05-18 22:38:31 +00:00
danielk1977
bf3b721fab
Fix many problems with manifest types and column affinity. Most things are
...
working now. (CVS 1393)
FossilOrigin-Name: ad4a964158ba9ca9d221cf7ea0439577f3894890
2004-05-18 10:06:24 +00:00
danielk1977
a37cdde042
More changes to support the manifest type model. A few things are currently
...
broken. (CVS 1385)
FossilOrigin-Name: a4af838f8d1b81ec6c8db97655c6876aca0738d9
2004-05-16 11:15:36 +00:00
drh
d7556d209e
Allocates VDBE cursors one by one in separate memory so that pointers to
...
cursors can persist through a realloc(). (CVS 1383)
FossilOrigin-Name: d8bacc16801606176fe8639b2f55b4584ad549df
2004-05-14 21:59:40 +00:00
drh
9188b38919
Cache record headers in the OP_Column opcode. (CVS 1382)
...
FossilOrigin-Name: 8d9eab178f285415775060369f372a88c7091f9f
2004-05-14 21:12:22 +00:00
danielk1977
3d1bfeaa22
Implement type affinity for table and index records (CVS 1375)
...
FossilOrigin-Name: dbfe6e93166d9557d66cab9dca7977baa3501e5e
2004-05-14 11:00:53 +00:00
danielk1977
50ce750c2a
Change the OP_ListXX opcodes to use 64 bit integers (CVS 1372)
...
FossilOrigin-Name: da9b3dce334bde99360db45b4a3d41be519ec2d1
2004-05-13 12:32:11 +00:00
danielk1977
452c989fd8
Manifest types in indices. At the moment indices use manifest typing, but
...
some other parts of the SQL engine do not, which can lead to some strange
results. (CVS 1368)
FossilOrigin-Name: 9f2b6d9d3a07e25fcdb7e8290da7a182a65c37b2
2004-05-13 05:16:15 +00:00
drh
4a1c380a4b
Btree uses signed integers for the rowid. The intToKey() and keyToInt() macros
...
are now no-ops. (CVS 1364)
FossilOrigin-Name: fb3c80301441f0d255164578601439db3e0c7a61
2004-05-12 15:15:47 +00:00
danielk1977
cfcdaefe11
Change the table record format to support manifest typing. (CVS 1361)
...
FossilOrigin-Name: 0242c9e4f7c85e9c911cf30d90b0cdb1015f3d7d
2004-05-12 07:33:33 +00:00
danielk1977
643631771d
Internal symbols MEM_Dyn and MEM_AggCtx were defined as the same bit pattern.
...
Change MEM_AggCtx to 0x1000. (CVS 1350)
FossilOrigin-Name: 2fffd133a5e0058f02c20c498875093261e9ee19
2004-05-11 03:11:22 +00:00
drh
f328bc80ce
Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345)
...
FossilOrigin-Name: bc5a2dafa1df74ba6403b4751ac1c33b0fee2884
2004-05-10 23:29:49 +00:00
drh
3dc0b8ebe3
Add flags values to the Mem structure to accomodate BLOBs and to show
...
the representation of strings. (CVS 1341)
FossilOrigin-Name: 3af283f483f75795d5b03dc8fd886aaf326d50b7
2004-05-10 12:07:10 +00:00
danielk1977
132872b37e
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1339)
...
FossilOrigin-Name: 19b100ec0d088b2cca147c967a80d18403b7ee86
2004-05-10 10:37:18 +00:00
danielk1977
192ac1dcab
Add versions of OP_MakeRecord and OP_Column that use manifest typing (not
...
activated yet). (CVS 1334)
FossilOrigin-Name: 8a66a502ba09e3d858d2f45df9b3b665ebb85d5b
2004-05-10 07:17:30 +00:00
danielk1977
189621d81f
Add a temporary sqlite2BtreeKeyCompare() function to help get
...
regression tests passing again. (CVS 1332)
FossilOrigin-Name: d8d1c91e55f24d17233414facaa03136b3b320d5
2004-05-09 23:23:56 +00:00
danielk1977
4adee20fcb
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
...
library links again. It doesn't work yet, due to changes in the btree layer
calling convention. (CVS 1324)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +00:00
rdc
b0c374ffbb
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251)
...
FossilOrigin-Name: 3383413a53bff0fef0765144de3bb9a298a5bb5c
2004-02-20 22:53:38 +00:00
drh
826fb5a3f8
Eliminate obsolete code associated with the older callback functionality. (CVS 1243)
...
FossilOrigin-Name: 2dbc4593ca5c1cf75039c8b4471b1e47faa849f0
2004-02-14 23:59:57 +00:00
drh
6810ce677d
Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203)
...
FossilOrigin-Name: 8273c74bd09d1a044cb5154498b0a39939f6e3ed
2004-01-31 19:22:56 +00:00
drh
00706be366
Rework the VDBE data structures to combine string representations into the
...
same structure with integer and floating point. This opens the door to
significant optimizations. (CVS 1202)
FossilOrigin-Name: c0faa1c67a967f028cd018e58988fb08bc814d3d
2004-01-30 14:49:16 +00:00
drh
a11846b77a
Defer the {quote: MoveTo}
...
opcode in VDBE until the data is actually needed. Sometimes
the data is never needed, resulting in a performance increase. On an indexed
order search with a large OFFSET, queries times can be an order of magnitude
faster. (CVS 1165)
FossilOrigin-Name: d3e96da20d269a068188915b3cc0eb02d330d316
2004-01-07 18:52:56 +00:00
drh
7c972dec5c
Update Makefile.in for the new vdbeaux.c file. Remove the experimental
...
"sqlite_instantiate()" routine and replace it with "sqlite_bind()" which
is more like ODBC and JDBC. (CVS 1095)
FossilOrigin-Name: 990bb11898a539bb0795a4a216fcd989943a0fb2
2003-09-06 22:18:07 +00:00
drh
9a32464b54
Split almost 1300 lines of code out of vdbe.c into separate files
...
vdbeInt.h and vdbeaux.c. (CVS 1094)
FossilOrigin-Name: bfd69391d3d63675f206ffd8ff0401ea1cbcc073
2003-09-06 20:12:01 +00:00