/ All files named "test/printf.test"
Login

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

History for test/printf.test

2020-06-09
13:53
[390d0d7f] part of check-in [232431f3] Modify a test file to avoid causing Tcl to allocate too much memory. (check-in: [232431f3] user: dan branch: trunk, size: 142770)
2020-05-23
19:58
[1e0e469f] part of check-in [d08d3405] Limit the "precision" of floating-point to text conversions in the printf() function to 100,000,000. Fix for ticket [23439ea582241138]. (check-in: [d08d3405] user: drh branch: trunk, size: 142713)
2019-02-22
15:42
[03006997] part of check-in [e7144ffd] Modify sqlite3_str_finish() and sqlite3VMPrintf() so that they always return NULL on any OOM or SQLITE_LIMIT_LENGTH error. (check-in: [e7144ffd] user: drh branch: trunk, size: 142591)
2018-09-18
17:00
[a3e559bc] part of check-in [de2e3cbd] Enhance tester.tcl so that when "--malloctrace=1" is specified, the test generates self-contained Tcl scripts that present GUIs instead of *.sql files that require a separate program to interpret. (check-in: [de2e3cbd] user: dan branch: trunk, size: 142596)
2015-04-07
15:39
[b3ff34e7] part of check-in [8e4ac2ce] Avoid signed integer overflow when converting oversized in-line integer widths and precisions in printf(). (check-in: [8e4ac2ce] user: drh branch: trunk, size: 142657)
14:38
[b38d5d81] part of check-in [95625ef3] Another change to avoid a problem caused by integer overflow in the printf() code. (check-in: [95625ef3] user: dan branch: trunk, size: 142664)
13:28
[5ab2b466] part of check-in [5ce4e7d7] Further changes to guard against integer overflow in the width and precision of printf() arguments. (check-in: [5ce4e7d7] user: drh branch: trunk, size: 142494)
12:41
[2f11179e] part of check-in [c494171f] Guard against excessive width and precision in floating-point conversions in the printf routines. (check-in: [c494171f] user: drh branch: trunk, size: 141792)
2011-10-11
17:54
[ec9870c4] part of check-in [1f843fb3] Remove all precision and width limits from formatting fields in the sqlite3_mprintf() family of functions. Malloc for space as necessary. The prevents a stack overflow on very large numbers using %f. (check-in: [1f843fb3] user: drh branch: trunk, size: 141687)
2009-11-25
16:53
[05970cde] part of check-in [3ba77313] Enhance the %q, %Q, and %w printf conversions so that the precisions specifies the length of the input. (check-in: [3ba77313] user: drh branch: trunk, size: 141684)
2009-02-01
00:21
[47e9e5bb] part of check-in [3ba1a17b] Add a new test command, sqlite3_mprintf_long, for testing the behavior of "long integer" printf formatting. Ticket #3621. (CVS 6224) (check-in: [3ba1a17b] user: drh branch: trunk, size: 140199)
2008-07-09
16:51
[262a5acd] part of check-in [2d8f7beb] Test coverage improvements on printf. (CVS 5385) (check-in: [2d8f7beb] user: drh branch: trunk, size: 140198)
2008-07-08
02:24
[b04797fc] part of check-in [6f2629c7] Test coverage improvements in printf.c. (CVS 5360) (check-in: [6f2629c7] user: drh branch: trunk, size: 138011)
2008-02-01
01:19
[c3405535] part of check-in [514d7e47] Modify the printf test script so that it does not depend on the platform printf, so that we do not spurious test failures when moving from one platform to another. (CVS 4767) (check-in: [514d7e47] user: drh branch: trunk, size: 137774)
2007-09-03
07:31
[6bf1a86c] part of check-in [ed2a2e01] Fixes to test code so that the test suite passes without SQLITE_MEMDEBUG defined. (CVS 4370) (check-in: [ed2a2e01] user: danielk1977 branch: trunk, size: 10714)
2007-09-01
10:01
[d3cacac5] part of check-in [7571345d] Allow sqlite3GetInt32 to recognize 10-digit decimal numbers as 32-bit. (CVS 4362) (check-in: [7571345d] user: danielk1977 branch: trunk, size: 10653)
09:02
[13e2887b] part of check-in [595bfe72] Fix a problem handling a malloc() failure in printf.c. Also some other things to improve test coverage. (CVS 4361) (check-in: [595bfe72] user: danielk1977 branch: trunk, size: 10524)
2007-05-10
17:23
[69d8cb07] part of check-in [ffe615a7] Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines print infinity as "Inf" not as "NaN". Ticket #2345. (CVS 3972) (check-in: [ffe615a7] user: drh branch: trunk, size: 9857)
2007-05-07
11:24
[71047b5f] part of check-in [f3ae4ac5] Change sqlite3_snprintf() so that it does not write a zero-terminator if the buffer size argument is less than 1. Ticket #2341. Added documentation about the sqlite3_snprintf() function. (CVS 3935) (check-in: [f3ae4ac5] user: drh branch: trunk, size: 9423)
2007-03-31
15:02
[483b9fe7] part of check-in [c2badb20] Improved test coverage for printf.c. (CVS 3780) (check-in: [c2badb20] user: drh branch: trunk, size: 9217)
2006-03-19
13:00
[cdd8e20d] part of check-in [8ae6ccc7] Increase test coverage to above 98%. (CVS 3144) (check-in: [8ae6ccc7] user: drh branch: trunk, size: 8236)
2006-03-06
20:55
[c89f60e7] part of check-in [e510e6dd] Code changes resulting from Coverity analysis. http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf(). Also 2 failures to fclose() following a malloc() failure. And lots of cases where unnecessary conditionals could be removed from the code. (CVS 3126) (check-in: [e510e6dd] user: drh branch: trunk, size: 8095)
2005-09-06
21:40
[9e10c74e] part of check-in [b86bd70f] Changes to reduce the amount of stack space required. (CVS 2661) (check-in: [b86bd70f] user: drh branch: trunk, size: 8081)
2005-08-30
19:30
[f527c840] part of check-in [0f7a53f7] Fix printf.c so that it handles 10.0 correctly. (CVS 2643) (check-in: [0f7a53f7] user: drh branch: trunk, size: 8081)
2005-08-19
02:26
[4a91651d] part of check-in [842a80bd] Increased test coverage on trigger.c and printf.c. (CVS 2601) (check-in: [842a80bd] user: drh branch: trunk, size: 7704)
2005-08-13
12:59
[dc39f7c6] part of check-in [4b98dace] Add the "!" flag to the "%g" mprintf conversion parameter to force a decimal point. This prevents floating point values from appearing as integers. Use this flag when converting floating point to text. Ticket #1362. (CVS 2586) (check-in: [4b98dace] user: drh branch: trunk, size: 7372)
03:07
[96ae2891] part of check-in [4f47c3c8] Make the round() function work correctly on numbers with very large exponents. Ticket #1340. (CVS 2585) (check-in: [4f47c3c8] user: drh branch: trunk, size: 6652)
2004-09-09
00:35
[92ba4c51] part of check-in [b12fc46d] Trying to get some tests in printf.test to pass on 64-bit systems. (CVS 1952) (check-in: [b12fc46d] user: drh branch: trunk, size: 6170)
2004-07-27
13:38
[5a30fb0d] part of check-in [a62129af] Additional test case to cover ticket #831. (CVS 1872) (check-in: [a62129af] user: drh branch: trunk, size: 6109)
2004-07-17
21:56
[428ad9be] part of check-in [4f56db11] mprintf() correctly handles "%s","". Fix for ticket #812. (CVS 1800) (check-in: [4f56db11] user: drh branch: trunk, size: 6033)
2004-06-29
13:04
[5ed2e033] part of check-in [ba87834d] Improved test coverage of table.c and printf.c. (CVS 1762) (check-in: [ba87834d] user: drh branch: trunk, size: 5956)
2004-06-25
01:10
[1eb584b7] part of check-in [200cd3ba] Fix signed integer problems in vxprintf. Ticket #778. Also remove some dead code from util.c. (CVS 1685) (check-in: [200cd3ba] user: drh branch: trunk, size: 5372)
2004-06-14
23:46
[31ac25b4] part of check-in [af6edd2c] Update some old tests to use the new API. (CVS 1593) (check-in: [af6edd2c] user: danielk1977 branch: trunk, size: 4630)
2004-02-21
19:41
[46b3d07d] part of check-in [96a6d2d3] Test cases for printf of double overflows. (CVS 1260) (check-in: [96a6d2d3] user: drh branch: trunk, size: 4583)
2004-02-02
12:29
[bdb5f66e] part of check-in [0b3f552b] Remove undocumented extensions from sqlite_mprintf() and friends in order to make it about 10% smaller. (CVS 1207) (check-in: [0b3f552b] user: drh branch: trunk, size: 4302)
2003-06-16
03:08
[3ed02f13] part of check-in [eca1398e] Add the %z format to the sqlite_mprintf() and related functions. (CVS 1028) (check-in: [eca1398e] user: drh branch: trunk, size: 4396)
2002-06-16
04:56
[a29b8afa] part of check-in [7d5fc35b] Added printf-4.(2-4) test cases to test new %Q format specifier. (CVS 622) (check-in: [7d5fc35b] user: chw branch: trunk, size: 4287)
2001-09-20
01:44
[3cb41507] part of check-in [d2a1aac4] 2.0-Alpha-2 release (CVS 258) (check-in: [d2a1aac4] user: drh branch: trunk, size: 3929)
2001-09-16
00:13
[93ecd43c] part of check-in [4e926efe] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe] user: drh branch: trunk, size: 3880)
2001-04-11
14:28
[4c71871e] part of check-in [86b30cd0] better handling of out-of-memory errors (CVS 207) (check-in: [86b30cd0] user: drh branch: trunk, size: 4417)
2001-04-07
15:24
Added: [18e44e4e] part of check-in [2507ec40] Added new tests (CVS 206) (check-in: [2507ec40] user: drh branch: trunk, size: 3604)