/ All files named "src/table.c"
Login

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

History for src/table.c

2020-05-17
00:26
[0f141b58] part of check-in [1313557b] Use the sqlite3Realloc() interface internally, rather than the public sqlite3_realloc64() equivalent, to avoid unnecessary calls to sqlite3_initialize(). (check-in: [1313557b] user: drh branch: trunk, size: 6113)
2017-01-19
21:20
[b46ad567] part of check-in [9ed38521] 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. (check-in: [9ed38521] user: drh branch: trunk, size: 6119)
2016-02-13
23:43
[5226df15] part of check-in [6a9c4a3e] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 6159)
2015-04-29
16:50
[51b46b2a] part of check-in [48f553b0] Use sqlite3_malloc64() in place of sqlite3_malloc() internally. (check-in: [48f553b0] user: drh branch: trunk, size: 6144)
2014-12-20
21:14
[e7a09215] part of check-in [cb3e4219] Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality. (check-in: [cb3e4219] user: mistachkin branch: trunk, size: 6138)
2014-10-24
00:35
[f142bba7] part of check-in [c297a84b] Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work in progress and is not yet completely functional. (check-in: [c297a84b] user: drh branch: api-armor, size: 6109)
2014-09-18
01:21
[2e99ef7e] part of check-in [163bfae8] Fix compiler warnings and change the nullMem structure initializer into a format that MSVC can understand. (check-in: [163bfae8] user: drh branch: micro-optimizations, size: 6023)
2014-09-09
17:27
[218ae2ba] part of check-in [94954850] 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. (check-in: [94954850] user: drh branch: 64-bit-lengths, size: 6018)
2014-09-06
16:39
[4e28a53e] part of check-in [e62aab5e] Fix typos in comments. No code changes. (check-in: [e62aab5e] user: peter.d.reid branch: trunk, size: 6016)
2009-11-10
01:30
[2cd62736] part of check-in [f6c045f6] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f6] user: drh branch: trunk, size: 6021)
2009-04-10
14:28
[cc86ad3d] part of check-in [57e3e6b3] Simplifications and additional comments on the sqlite3_get_table() implementation. Changes to facilitate full branch test coverage. (CVS 6482) (check-in: [57e3e6b3] user: drh branch: trunk, size: 6077)
2009-01-19
20:49
[332ab0ea] part of check-in [7035c35d] Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed. Ticket #3598. (CVS 6195) (check-in: [7035c35d] user: drh branch: trunk, size: 5646)
2008-12-10
19:26
[23db1e5f] part of check-in [c872d554] 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) (check-in: [c872d554] user: drh branch: trunk, size: 5614)
2008-12-09
03:55
[caf335a9] part of check-in [59ae0020] Get rid of more silly compiler warnings. (CVS 5996) (check-in: [59ae0020] user: drh branch: trunk, size: 5610)
2008-07-08
22:28
[22744786] part of check-in [6cdb6841] Added macros to convert between 32-bit ints and 64-bit ptrs to avoid compiler warnings. (CVS 5378) (check-in: [6cdb6841] user: shane branch: trunk, size: 5607)
2008-05-16
04:51
[1fa8f811] part of check-in [81a8c70e] Add more version tags to files that lack them. Ticket #3120. (CVS 5137) (check-in: [81a8c70e] user: danielk1977 branch: trunk, size: 5587)
2008-03-06
09:58
[2c48c575] part of check-in [e2a9f5f1] Handle non-autoconf build correctly with new changes (CVS 4832) (check-in: [e2a9f5f1] user: mlcreech branch: trunk, size: 5567)
07:35
[c688f267] part of check-in [54839a84] Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824) (check-in: [54839a84] user: mlcreech branch: trunk, size: 5543)
2008-01-23
14:51
[46ccf9b7] part of check-in [45c59802] Testing coverage enhancements to sqlite3_get_table() and to the SELECT code generator. (CVS 4746) (check-in: [45c59802] user: drh branch: trunk, size: 5523)
12:52
[e97099ce] part of check-in [9f95d79d] Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) (check-in: [9f95d79d] user: drh branch: trunk, size: 5680)
2007-08-29
14:06
[1aeb9eab] part of check-in [c790c234] Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323) (check-in: [c790c234] user: danielk1977 branch: trunk, size: 5733)
2007-08-16
10:09
[c725e47f] part of check-in [77b16713] More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) (check-in: [77b16713] user: danielk1977 branch: trunk, size: 5549)
2007-05-04
13:15
[a8de75bc] part of check-in [ba4845b3] 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) (check-in: [ba4845b3] user: drh branch: trunk, size: 5545)
2006-09-15
07:28
[6d0da66d] part of check-in [ba579ddc] 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) (check-in: [ba579ddc] user: drh branch: trunk, size: 5523)
2006-06-27
20:39
[d8817f43] part of check-in [9f13972b] Better handling of NULL column names. (CVS 3317) (check-in: [9f13972b] user: drh branch: trunk, size: 5474)
2006-06-26
21:35
[e707e822] part of check-in [85a66a25] 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) (check-in: [85a66a25] user: drh branch: trunk, size: 5528)
2006-02-10
18:08
[f64ec4fb] part of check-in [d20a33ac] Make sure pointers are always aligned to 8-bytes when creating internal Index structures. (CVS 3079) (check-in: [d20a33ac] user: drh branch: trunk, size: 5464)
2005-11-24
22:33
[486dcfce] part of check-in [ab764535] Make sure sqliteInt.h is included before any system includes. This is required for QNX. Ticket #1478. (CVS 2777) (check-in: [ab764535] user: drh branch: trunk, size: 5405)
2005-10-06
16:53
[e03b60ea] part of check-in [edca8913] More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS on compound SELECT statements now working properly. Ticket #1473. (CVS 2747) (check-in: [edca8913] user: drh branch: trunk, size: 5405)
2005-10-05
02:13
[abc7b694] part of check-in [6d4bc8f8] Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740) (check-in: [6d4bc8f8] user: drh branch: trunk, size: 5399)
2004-09-30
13:43
[25b3ff2b] part of check-in [d0f1dc58] Allow functions to be created when there are outstanding VMs. (Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) (check-in: [d0f1dc58] user: drh branch: trunk, size: 5338)
2004-09-25
14:39
[549f324e] part of check-in [9ef4c24a] Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984) (check-in: [9ef4c24a] user: drh branch: trunk, size: 5312)
2004-09-06
17:24
[8168c6e8] part of check-in [3ddf5a9d] 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) (check-in: [3ddf5a9d] user: drh branch: trunk, size: 5342)
2004-06-29
13:04
[4521c278] part of check-in [ba87834d] Improved test coverage of table.c and printf.c. (CVS 1762) (check-in: [ba87834d] user: drh branch: trunk, size: 5342)
2004-06-26
14:40
[eea34544] part of check-in [a4a25708] Fold in changes submitted by the PHP developers. (CVS 1742) (check-in: [a4a25708] user: drh branch: version_2, size: 5406)
2004-05-10
10:34
[af14284f] part of check-in [2242423e] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) (check-in: [2242423e] user: danielk1977 branch: trunk, size: 5420)
2004-05-08
08:23
[882b0ae9] part of check-in [8af6474c] 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) (check-in: [8af6474c] user: danielk1977 branch: trunk, size: 5404)
2003-12-06
21:43
[d845cb10] part of check-in [656c9038] 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) (check-in: [656c9038] user: drh branch: trunk, size: 5399)
2003-05-17
00:05
[43019264] part of check-in [f1d955ef] Fix memory allocation problem in the sqlite_get_table() API. Ticket #315. (CVS 976) (check-in: [f1d955ef] user: drh branch: trunk, size: 5385)
2002-03-23
00:52
[eed2098c] part of check-in [e2558c34] 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) (check-in: [e2558c34] user: drh branch: trunk, size: 5332)
2002-02-23
23:45
[203a09d5] part of check-in [c490a1ff] Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) (check-in: [c490a1ff] user: drh branch: trunk, size: 4884)
2001-11-03
23:57
[c89698bd] part of check-in [1c448f1f] Added "const" to lots of "char*" parameters in the API. (CVS 298) (check-in: [1c448f1f] user: drh branch: trunk, size: 4864)
2001-10-22
02:58
[be9c7bf8] part of check-in [f8328a5f] More changes for 2.0.7. (CVS 293) (check-in: [f8328a5f] user: drh branch: trunk, size: 4864)
2001-10-20
12:30
[7102da21] part of check-in [a835658e] 2.0.7 (CVS 292) (check-in: [a835658e] user: drh branch: trunk, size: 4740)
2001-10-19
16:44
[4e8cbabf] part of check-in [8467d84f] Version 2.0.6 (CVS 291) (check-in: [8467d84f] user: drh branch: trunk, size: 4740)
2001-09-16
00:13
[abd0adbe] part of check-in [4e926efe] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe] user: drh branch: trunk, size: 4680)
2001-04-11
14:28
[adcaf074] part of check-in [86b30cd0] better handling of out-of-memory errors (CVS 207) (check-in: [86b30cd0] user: drh branch: trunk, size: 5229)
2000-12-10
18:23
[5be76051] part of check-in [ced90c3f] speed tweaks and documentation updates (CVS 167) (check-in: [ced90c3f] user: drh branch: trunk, size: 5230)
2000-10-11
19:28
[f0818967] part of check-in [3f0f1fa1] Misc cleanup. Notes on compiling for Win95. (CVS 152) (check-in: [3f0f1fa1] user: drh branch: trunk, size: 4308)
2000-09-29
13:30
Added: [12f0165b] part of check-in [e11f7527] :-) (CVS 147) (check-in: [e11f7527] user: drh branch: trunk, size: 4320)