aboutsummaryrefslogtreecommitdiff
path: root/src/table.c
AgeCommit message (Collapse)AuthorLines
2020-05-17Use the sqlite3Realloc() interface internally, rather than the publicdrh-2/+2
sqlite3_realloc64() equivalent, to avoid unnecessary calls to sqlite3_initialize(). FossilOrigin-Name: 1313557b512297e7b75ed748894379b2022aecf696d5a58318e46a668321c1ff
2017-01-19If compiled with SQLITE_INLINE_MEMCPY, all memcpy() calls are replaced withdrh-2/+0
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. FossilOrigin-Name: 9ed38521617136223a667988aed40e25797faf84
2016-02-13Enhance ability to debug out-of-memory errors.mistachkin-3/+3
FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
2015-04-29Use sqlite3_malloc64() in place of sqlite3_malloc() internally.drh-3/+3
FossilOrigin-Name: 48f553b05c05373c0af4b9c3a542979db3a2ee19
2014-12-20Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality.mistachkin-1/+1
FossilOrigin-Name: cb3e4219ac9560d2773b85453aafda54b7c9346f
2014-10-24Add the SQLITE_ENABLE_API_ARMOR compile-time option. This is a work indrh-0/+3
progress and is not yet completely functional. FossilOrigin-Name: c297a84bc678f81ffc0aa9139ab73f0ca87c1971
2014-09-18Fix compiler warnings and change the nullMem structure initializer into adrh-1/+1
format that MSVC can understand. FossilOrigin-Name: 163bfae8583b2d3002a3a43d6bf8a66fefd73acb
2014-09-09Add new APIs that take 64-bit length parameters:drh-5/+5
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. FossilOrigin-Name: 94954850cf2e1ec0b7f590c7f46cdc54c72558ce
2014-09-06Fix typos in comments. No code changes.peter.d.reid-1/+1
FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
2009-11-10Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh-2/+0
FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
2009-04-10Simplifications and additional comments on the sqlite3_get_table()drh-18/+15
implementation. Changes to facilitate full branch test coverage. (CVS 6482) FossilOrigin-Name: 57e3e6b3cb54e6626bee41a084c927ee264b6d03
2009-01-19Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed.drh-1/+2
Ticket #3598. (CVS 6195) FossilOrigin-Name: 7035c35dbef72b7b4d00201a65734a6d93dd0d3e
2008-12-10Never use strlen(). Use our own internal sqlite3Strlen30() which isdrh-2/+2
guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) FossilOrigin-Name: c872d554930ecf221ac2be5f886d5d67bb35288c
2008-12-09Get rid of more silly compiler warnings. (CVS 5996)drh-2/+2
FossilOrigin-Name: 59ae0020683766993c38e2b76a436d78d3e4bd63
2008-07-08Added macros to convert between 32-bit ints and 64-bit ptrs to avoid ↵shane-3/+3
compiler warnings. (CVS 5378) FossilOrigin-Name: 6cdb6841ff4683e424ef394733da9c24f5602570
2008-05-16Add more version tags to files that lack them. Ticket #3120. (CVS 5137)danielk1977-0/+2
FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
2008-04-27Remove all references to sqlite3_intptr_t. (CVS 5051)drh-3/+3
FossilOrigin-Name: 6a94d19747a05df2694d3720f76de3dab3836578
2008-03-06Handle non-autoconf build correctly with new changes (CVS 4832)mlcreech-3/+3
FossilOrigin-Name: e2a9f5f1054f077e4773dd3d2c8f2ce5be118a01
2008-03-06Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824)mlcreech-3/+3
FossilOrigin-Name: 54839a84e6ce080ea8a0f6ce32acaa053d20f311
2008-01-23Testing coverage enhancements to sqlite3_get_table() and to the SELECTdrh-11/+5
code generator. (CVS 4746) FossilOrigin-Name: 45c59802f6d35c7745b96c578ab43d5a336fe822
2008-01-23Improvements to test coverage in the lemon-generated parser and in thedrh-13/+12
sqlite3_get_table() interface. (CVS 4745) FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c
2007-08-29Use the DbMalloc() and DbRealloc() functions more consistently. (CVS 4323)danielk1977-3/+10
FossilOrigin-Name: c790c234c369c6b7610e67dcaaa9eee347df729c
2007-08-16More work on refactoring of malloc() interfaces. There are still many ↵danielk1977-2/+2
errors. (CVS 4233) FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
2007-05-04Eliminate all uses of sprintf() and strcpy(). These were not beingdrh-2/+3
misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) FossilOrigin-Name: ba4845b32bdf38e623c4f7246e6e327715bbba4b
2006-09-15Add support for extended result codes - additional result informationdrh-4/+4
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) FossilOrigin-Name: ba579ddc4361fc6e8ea66f9385770d70dfe94751
2006-06-27Better handling of NULL column names. (CVS 3317)drh-4/+2
FossilOrigin-Name: 9f13972b93a3cac95b4319d3e75343e02a30a38f
2006-06-26Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layerdrh-8/+8
memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also use the OS-layer memory allocator. (CVS 3298) FossilOrigin-Name: 85a66a25e97471d3c459c8da6a96990b0537dc7d
2006-02-10Make sure pointers are always aligned to 8-bytes when creating internaldrh-0/+1
Index structures. (CVS 3079) FossilOrigin-Name: d20a33ac2a29a3410fa28078dd122d87d8fca4fe
2005-11-24Make sure sqliteInt.h is included before any system includes.drh-1/+1
This is required for QNX. Ticket #1478. (CVS 2777) FossilOrigin-Name: ab76453553bea7c2371b35e7643a98967bb04582
2005-10-06More efficient handling of the LIMIT clause. Scalar subqueries and EXISTSdrh-1/+1
on compound SELECT statements now working properly. Ticket #1473. (CVS 2747) FossilOrigin-Name: edca8913ca012fc0c17343a27f819de95147b1bd
2005-10-05Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)drh-0/+4
FossilOrigin-Name: 6d4bc8f83b228b3804fffcb17ac57e1f754fa9cd
2004-09-30Allow functions to be created when there are outstanding VMs.drh-0/+1
(Ticket #926) Fix problems with sqlite3_errcode(). Add tests for sqlite3_errcode(). (CVS 1989) FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
2004-09-25Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)drh-4/+2
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-06Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3drh-1/+1
connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-06-29Improved test coverage of table.c and printf.c. (CVS 1762)drh-19/+9
FossilOrigin-Name: ba87834d863cb50f3016ccb04f790be5fa4070c6
2004-05-10Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)danielk1977-14/+14
FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5
2004-05-08Change lots of internal symbols from sqliteXXX to sqlite3XXX so that thedanielk1977-2/+5
library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2003-12-06Always use "(char*)0" to terminate the argument list of sqliteSetString().drh-1/+2
This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) FossilOrigin-Name: 656c90387a4a714b4f31040ece9b0e15e30934af
2003-05-17Fix memory allocation problem in the sqlite_get_table() API. Ticket #315. ↵drh-1/+3
(CVS 976) FossilOrigin-Name: f1d955efd91093994db43a1540080d32442d5ac0
2002-03-23The sqlite_get_table() function now returns an error if you pass in twodrh-1/+18
or more SELECT statements that return different numbers of columns. (CVS 436) FossilOrigin-Name: e2558c34034cf49524084ec819df58934a8af983
2002-02-23Added support for user-defined normal functions. Support for user-defineddrh-0/+1
aggregates is pending. (CVS 390) FossilOrigin-Name: c490a1ff951c5d4a2de8e4f8d349189bfaef7f74
2001-11-03Added "const" to lots of "char*" parameters in the API. (CVS 298)drh-1/+1
FossilOrigin-Name: 1c448f1fd2a2e103e7464df896174534d02152ed
2001-10-22More changes for 2.0.7. (CVS 293)drh-4/+11
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-202.0.7 (CVS 292)drh-1/+1
FossilOrigin-Name: a835658e507fc7d0c684959c0f0afb9018b6a8d4
2001-10-19Version 2.0.6 (CVS 291)drh-12/+14
FossilOrigin-Name: 8467d84fc6e67bd93051f54338a8f6c9b1711ee1
2001-09-16Disclaimed copyright. Preparing for release 2.0. (CVS 250)drh-18/+6
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-04-11better handling of out-of-memory errors (CVS 207)drh-1/+1
FossilOrigin-Name: 86b30cd0975dfea9424b9f9f0d4194aa71ce508b
2000-12-10speed tweaks and documentation updates (CVS 167)drh-1/+23
FossilOrigin-Name: ced90c3f93e5e0cf73ea77b62a1308cd8dd5f3b3
2000-10-11Misc cleanup. Notes on compiling for Win95. (CVS 152)drh-2/+2
FossilOrigin-Name: 3f0f1fa1fce794d1661c845f1a63a8d744892c25
2000-09-29:-) (CVS 147)drh-0/+163
FossilOrigin-Name: e11f7527f9187e8902db84069baad0d3b7e17ad0