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