/ File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/table.c

2017-01-19
21:20
If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced with in-line code. With that change, cachegrind shows which memcpy() calls are taking the most time. This is a performance-measurement hack only and is not for production use. file: [b46ad567] check-in: [9ed38521] user: drh branch: trunk, size: 6119
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [5226df15] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 6159
2015-04-29
16:50
Use sqlite3_malloc64() in place of sqlite3_malloc() internally. file: [51b46b2a] check-in: [48f553b0] user: drh branch: trunk, size: 6144
2014-12-20
21:14
Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality. file: [e7a09215] check-in: [cb3e4219] user: mistachkin branch: trunk, size: 6138
2014-10-24
00:35
Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. file: [f142bba7] check-in: [c297a84b] user: drh branch: api-armor, size: 6109
2014-09-18
01:21
Fix compiler warnings and change the nullMem structure initializer into a format that MSVC can understand. file: [2e99ef7e] check-in: [163bfae8] user: drh branch: micro-optimizations, size: 6023
2014-09-09
17:27
Add new APIs that take 64-bit length parameters: sqlite3_malloc64(), sqlite3_realloc64(), sqlite3_bind_blob64(), sqlite3_bind_texte64(), sqlite3_result_blob64(), and sqlite3_result_texte64(). Internal memory allocation routines also now use 64-bit unsigned length parameters for safety. Also add the sqlite3_msize() interface. Fix the sqlite3_get_table() to use sqlite3_realloc64() to avoid a integer overflow problem. file: [218ae2ba] check-in: [94954850] user: drh branch: 64-bit-lengths, size: 6018
2014-09-06
16:39
Fix typos in comments. No code changes. file: [4e28a53e] check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 6016
2009-11-10
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. file: [2cd62736] check-in: [f6c045f6] user: drh branch: trunk, size: 6021
2009-04-10
14:28
Simplifications and additional comments on the sqlite3_get_table() implementation. Changes to facilitate full branch test coverage. (CVS 6482) file: [cc86ad3d] check-in: [57e3e6b3] user: drh branch: trunk, size: 6077
2009-01-19
20:49
Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed. Ticket #3598. (CVS 6195) file: [332ab0ea] check-in: [7035c35d] user: drh branch: trunk, size: 5646
2008-12-10
19:26
Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) file: [23db1e5f] check-in: [c872d554] user: drh branch: trunk, size: 5614
2008-12-09
03:55
Get rid of more silly compiler warnings. (CVS 5996) file: [caf335a9] check-in: [59ae0020] user: drh branch: trunk, size: 5610
2008-07-08
22:28
Added macros to convert between 32-bit ints and 64-bit ptrs to avoid compiler warnings. (CVS 5378) file: [22744786] check-in: [6cdb6841] user: shane branch: trunk, size: 5607
2008-05-16
04:51
Add more version tags to files that lack them. Ticket #3120. (CVS 5137) file: [1fa8f811] check-in: [81a8c70e] user: danielk1977 branch: trunk, size: 5587
2008-03-06
09:58
Handle non-autoconf build correctly with new changes (CVS 4832) file: [2c48c575] check-in: [e2a9f5f1] user: mlcreech branch: trunk, size: 5567
07:35
Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824) file: [c688f267] check-in: [54839a84] user: mlcreech branch: trunk, size: 5543
2008-01-23
14:51
Testing coverage enhancements to sqlite3_get_table() and to the SELECT code generator. (CVS 4746) file: [46ccf9b7] check-in: [45c59802] user: drh branch: trunk, size: 5523
12:52
Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) file: [e97099ce] check-in: [9f95d79d] user: drh branch: trunk, size: 5680
2007-08-29
14:06
Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323) file: [1aeb9eab] check-in: [c790c234] user: danielk1977 branch: trunk, size: 5733
2007-08-16
10:09
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) file: [c725e47f] check-in: [77b16713] user: danielk1977 branch: trunk, size: 5549
2007-05-04
13:15
Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) file: [a8de75bc] check-in: [ba4845b3] user: drh branch: trunk, size: 5545
2006-09-15
07:28
Add support for extended result codes - additional result information carried in the higher bits of the integer return codes. This must be enabled using the sqlite3_extended_result_code() API. Only a few extra result codes are currently defined. (CVS 3422) file: [6d0da66d] check-in: [ba579ddc] user: drh branch: trunk, size: 5523
2006-06-27
20:39
Better handling of NULL column names. (CVS 3317) file: [d8817f43] check-in: [9f13972b] user: drh branch: trunk, size: 5474
2006-06-26
21:35
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also use the OS-layer memory allocator. (CVS 3298) file: [e707e822] check-in: [85a66a25] user: drh branch: trunk, size: 5528
2006-02-10
18:08
Make sure pointers are always aligned to 8-bytes when creating internal Index structures. (CVS 3079) file: [f64ec4fb] check-in: [d20a33ac] user: drh branch: trunk, size: 5464
2005-11-24
22:33
Make sure sqliteInt.h is included before any system includes. This is required for QNX. Ticket #1478. (CVS 2777) file: [486dcfce] check-in: [ab764535] user: drh branch: trunk, size: 5405
2005-10-06
16:53
More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS on compound SELECT statements now working properly. Ticket #1473. (CVS 2747) file: [e03b60ea] check-in: [edca8913] user: drh branch: trunk, size: 5405
2005-10-05
02:13
Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740) file: [abc7b694] check-in: [6d4bc8f8] user: drh branch: trunk, size: 5399
2004-09-30
13:43
Allow functions to be created when there are outstanding VMs. (Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) file: [25b3ff2b] check-in: [d0f1dc58] user: drh branch: trunk, size: 5338
2004-09-25
14:39
Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984) file: [549f324e] check-in: [9ef4c24a] user: drh branch: trunk, size: 5312
2004-09-06
17:24
Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3 connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) file: [8168c6e8] check-in: [3ddf5a9d] user: drh branch: trunk, size: 5342
2004-06-29
13:04
Improved test coverage of table.c and printf.c. (CVS 1762) file: [4521c278] check-in: [ba87834d] user: drh branch: trunk, size: 5342
2004-06-26
14:40
Fold in changes submitted by the PHP developers. (CVS 1742) file: [eea34544] check-in: [a4a25708] user: drh branch: version_2, size: 5406
2004-05-10
10:34
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) file: [af14284f] check-in: [2242423e] user: danielk1977 branch: trunk, size: 5420
2004-05-08
08:23
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) file: [882b0ae9] check-in: [8af6474c] user: danielk1977 branch: trunk, size: 5404
2003-12-06
21:43
Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) file: [d845cb10] check-in: [656c9038] user: drh branch: trunk, size: 5399
2003-05-17
00:05
Fix memory allocation problem in the sqlite_get_table() API. Ticket #315. (CVS 976) file: [43019264] check-in: [f1d955ef] user: drh branch: trunk, size: 5385
2002-03-23
00:52
The sqlite_get_table() function now returns an error if you pass in two or more SELECT statements that return different numbers of columns. (CVS 436) file: [eed2098c] check-in: [e2558c34] user: drh branch: trunk, size: 5332
2002-02-23
23:45
Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) file: [203a09d5] check-in: [c490a1ff] user: drh branch: trunk, size: 4884
2001-11-03
23:57
Added "const" to lots of "char*" parameters in the API. (CVS 298) file: [c89698bd] check-in: [1c448f1f] user: drh branch: trunk, size: 4864
2001-10-22
02:58
More changes for 2.0.7. (CVS 293) file: [be9c7bf8] check-in: [f8328a5f] user: drh branch: trunk, size: 4864
2001-10-20
12:30
2.0.7 (CVS 292) file: [7102da21] check-in: [a835658e] user: drh branch: trunk, size: 4740
2001-10-19
16:44
Version 2.0.6 (CVS 291) file: [4e8cbabf] check-in: [8467d84f] user: drh branch: trunk, size: 4740
2001-09-16
00:13
Disclaimed copyright. Preparing for release 2.0. (CVS 250) file: [abd0adbe] check-in: [4e926efe] user: drh branch: trunk, size: 4680
2001-04-11
14:28
better handling of out-of-memory errors (CVS 207) file: [adcaf074] check-in: [86b30cd0] user: drh branch: trunk, size: 5229
2000-12-10
18:23
speed tweaks and documentation updates (CVS 167) file: [5be76051] check-in: [ced90c3f] user: drh branch: trunk, size: 5230
2000-10-11
19:28
Misc cleanup. Notes on compiling for Win95. (CVS 152) file: [f0818967] check-in: [3f0f1fa1] user: drh branch: trunk, size: 4308
2000-09-29
13:30
:-) (CVS 147) file: [12f0165b] check-in: [e11f7527] user: drh branch: trunk, size: 4320 Added