aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
Commit message (Collapse)AuthorAge
...
* Enhance the %q, %Q, and %w printf conversions so that the precisions drh2009-11-25
| | | | | specifies the length of the input. FossilOrigin-Name: 3ba773132d3baeb87acaee538b8fb0b0f4293673
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Additional changes to reduce stack usage. The SQLITE_SMALL_STACK compile-timedrh2009-06-03
| | | | | option is now available. (CVS 6708) FossilOrigin-Name: baea79fd0cfeb860973846c3f2776776c87f0ae3
* Make sure va_arg() does not occur on the same line as any "if" statementdrh2009-05-04
| | | | | or "?" operator. (CVS 6602) FossilOrigin-Name: 3543be6e34ebff48b1b0c1710ae6fec557b09b52
* Reconfigure the default case for the printf switch in order to improvedrh2009-04-08
| | | | | branch coverage. (CVS 6472) FossilOrigin-Name: 3cc79162dbdbce9d08bb28942128780277101e0d
* Remove a pair unnecessary conditions from printf.c. The "db" parameter isdrh2009-04-08
| | | | | now required for sqlite3MPrintf(). (CVS 6471) FossilOrigin-Name: 6fe8b5d70247d9c6b70dd482db3990986be97e69
* Add a comment to printf.c - no changes to code. (CVS 6468)drh2009-04-08
| | | FossilOrigin-Name: ee5a4a0e595a7b916db7d55d30ddfda0a8d40d90
* 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
* More explicit type casting to silence VC++. (CVS 6006)drh2008-12-10
| | | FossilOrigin-Name: 14e6d19c3157ccdce170e769d678c7f472dd3db2
* Make sure the error message handler is able to deal with NULL expression drh2008-11-22
| | | | | spans. Ticket #3508. (CVS 5949) FossilOrigin-Name: ce36b6474a62f0a5b8d82968ca9a171f7143ae31
* When a memory allocation fails on the %Q conversion in sqlite3_mprintf(),drh2008-11-20
| | | | | make sure the error is reported back up the call stack. (CVS 5933) FossilOrigin-Name: eebacbc9d7d0625dfbe6367046fa4a0ca9c04e74
* Modifications to avoid unsigned/signed comparisons in various files. (CVS 5914)danielk19772008-11-17
| | | FossilOrigin-Name: 8009220c36635dd9b6efea7dc13281ca9625c40a
* Remove unused variable from printf.c. Ticket #3331. (CVS 5595)drh2008-08-22
| | | FossilOrigin-Name: 7fd11f4ad8774e68f0a053eb2e1dd962a024da48
* Implement the "lookaside" memory allocation cache. Use of this cache makesdrh2008-07-28
| | | | | | the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) FossilOrigin-Name: e48f9697e9fea339e150ddc32940760027dd07d9
* Increased test coverage. (CVS 5414)drh2008-07-15
| | | FossilOrigin-Name: 7cf91e08c08ce515c24c738c7d079f5b81eebee6
* Write sqlite3_initialize() calls in sqlite3_malloc() withindrh2008-07-14
| | | | | SQLITE_OMIT_AUTOINIT. Ticket #3217. (CVS 5408) FossilOrigin-Name: 4961b0bbe8b9cf5fb27de7f2514e8ab399a00134
* Remove unused code. Test coverage enhancements. Modify the algorithm useddrh2008-07-10
| | | | | | to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) FossilOrigin-Name: 636cd723296a8b1709011fdd99b236ffddf3f1b0
* Test coverage improvements on printf. (CVS 5385)drh2008-07-09
| | | FossilOrigin-Name: 2d8f7bebf0f13f3a95f1e2163e35d43229cabfea
* Completely rework the sqlite3SetString() primitive so that it honors thedrh2008-07-08
| | | | | SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) FossilOrigin-Name: 8ed04b1e26a55306e4baf3e93fb084514134d603
* Clean up obfuscated code in sqlite3_table_column_meta_data().drh2008-06-16
| | | | | Be sure to invoke sqlite3_initialize() within sqlite3_mprintf(). (CVS 5224) FossilOrigin-Name: bb4edb53964559fc1cd69700beb72ecc29b58f37
* Continuing work on the new memory allocation subsystem.drh2008-06-15
| | | | | | Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) FossilOrigin-Name: 65fe7b62cfe7d11cd667681a64c96fe7b2fe5685
* Add more version tags to files that lack them. Ticket #3120. (CVS 5137)danielk19772008-05-16
| | | FossilOrigin-Name: 81a8c70ed7a86abf286706fdbc251f31c9c53382
* Fix a potential buffer overrun in sqlite3_mprintf() when a non-terminateddrh2008-04-29
| | | | | | string is passed to a "%s" format with a precision specifying the number of bytes to copy. (CVS 5067) FossilOrigin-Name: 1f5b18419bb4e2552ac26593381e2eb866bb67fd
* Change the implementation of the NaN recognition to be more cross-platform.drh2008-04-28
| | | | | Ticket #3089. (CVS 5060) FossilOrigin-Name: 07fd9a8c6ca0876f7ec447ce65173957005dc75c
* Reinstate test cases for the limit tests. The sqlite3_limit() API is nowdrh2008-03-20
| | | | | tested and working. (CVS 4899) FossilOrigin-Name: 4c4be4c3c8aae97f1d85442b25afba9f0b02c8b3
* Initial implementation of per-connection limits and the sqlite3_limit() API.drh2008-03-20
| | | | | | The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) FossilOrigin-Name: 60c77882b2de9f6a45f8bd87c9c6a0cc613f8373
* Additional test cases for tkt2822. Fix a related bug in printf(). (CVS 4624)drh2007-12-13
| | | FossilOrigin-Name: 8f184e40ff79c3c5ef98337615f58a4a6d0249dd
* Towards getting ORDER BY to match against the correctin columns.drh2007-12-13
| | | | | | This version only looks at the left-most column in a compound SELECT. That is the correct thing to do, but not what SQLite has historically done. (CVS 4620) FossilOrigin-Name: bbddf16ac9539c7d48adfc73c5a90eecb8df6865
* Fix a bug in the debugging printf logic. (CVS 4600)drh2007-12-08
| | | FossilOrigin-Name: 1d6a9f5fafb862fb31c8589fa118a5672bad6abd
* Add the {quote: StrAccum} object drh2007-11-28
| | | | | | | for accumulating strings. Revamp xprintf to use the new object. Rewrite the group_concat() function to use the new object. Productize and test the group_concat() function. (CVS 4578) FossilOrigin-Name: 221aee72be040769e8026b91648f03c6366a8821
* Remove #include <math.h> from all source files. It is no longer needed butdrh2007-10-05
| | | | | | causes compile problems when -DSQLITE_OMIT_FLOATING_POINT is defined. Ticket #2696. (CVS 4474) FossilOrigin-Name: 4424357d17f615fab922780616eac6773535923a
* Fix a problem handling a malloc() failure in printf.c. Also some other ↵danielk19772007-09-01
| | | | | things to improve test coverage. (CVS 4361) FossilOrigin-Name: 595bfe72f053bc6ecb58bb9044a4cdc53d30b404
* Fixes for failures in fuzz_malloc.test. (CVS 4334)danielk19772007-08-30
| | | FossilOrigin-Name: d3e502263808c1fe0487fda02f16adcbb1279183
* Modifications to the malloc failure tests to test transient and persistent ↵danielk19772007-08-29
| | | | | failures. (CVS 4321) FossilOrigin-Name: e38ef81b85feb5bff2ad8448f3438ff0ab36571e
* The win32 driver compiles but does not yet work well. Many bugsdrh2007-08-24
| | | | | fixed. (CVS 4282) FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
* The malloc.test script now passes all tests with no errors. (CVS 4271)drh2007-08-22
| | | FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
* More work on refactoring of malloc() interfaces. There are still many ↵danielk19772007-08-16
| | | | | errors. (CVS 4233) FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
* Half-way through a major refactoring of the memory allocation.drh2007-08-16
| | | | | | I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
* When expanding '*' in the result set of a SELECT, quote the expanded ↵danielk19772007-06-24
| | | | | identifiers. Fix for #2450. (CVS 4111) FossilOrigin-Name: d5b7224f37db1729dd042d48765d7a79247e1bde
* Remove the dependency on libm for isnan(). Ticket #2436. (CVS 4103)drh2007-06-20
| | | FossilOrigin-Name: 406675bb1c954dae95b9059f7f533ed57e3947d9
* Make arrangements to optionally print a debug message at the pointdrh2007-06-15
| | | | | of a simulated malloc() failure when SQLITE_MEMDEBUG is defined. (CVS 4077) FossilOrigin-Name: 7d3c1f08a34fcf2ca5c79d6e58f713ae6a4b34e8
* Fix a bug in sqlite3_mprintf() which could have caused a bufferdrh2007-05-15
| | | | | overrun if malloc() failed. (CVS 3998) FossilOrigin-Name: 5af49a57d4866be21c0206f34584bcc63adc1315
* Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routinesdrh2007-05-10
| | | | | print infinity as "Inf" not as "NaN". Ticket #2345. (CVS 3972) FossilOrigin-Name: ffe615a71107a38b6f60c7baf4284a5b0aecdc22
* Change sqlite3_snprintf() so that it does not write a zero-terminator ifdrh2007-05-07
| | | | | | the buffer size argument is less than 1. Ticket #2341. Added documentation about the sqlite3_snprintf() function. (CVS 3935) FossilOrigin-Name: f3ae4ac5fe0bfa2f91e76a6def86c444e51fe80b
* Improved test coverage for printf.c. (CVS 3780)drh2007-03-31
| | | FossilOrigin-Name: c2badb208ff1207a1471410965947893b070ea50
* Add code to select.c for printing the contents of parse-tree structures.drh2007-01-26
| | | | | | The code is normally omitted. You must compile with -DSQLITE_TEST or -DSQLITE_DEBUG to enable it. (CVS 3606) FossilOrigin-Name: 1b26d6875612a0ed25d6e293f005ea4966692759
* 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
* If an sqlite3_mprintf() call uses a disallowed internal-use-only conversiondrh2006-05-22
| | | | | character, then abort the call with a -1 error code. Ticket #1818. (CVS 3187) FossilOrigin-Name: 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0
* Compile-time option to use only 32-bit integers. (CVS 3157)drh2006-03-28
| | | FossilOrigin-Name: aedadfc3e47efa28ff81d7789b54fba9fcc128db
* Increase test coverage to above 98%. (CVS 3144)drh2006-03-19
| | | FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512