Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
printf.c
6ed5aa4
Make the show-%p-az-zero hack of the previous check-in configurable at
by drh
· 5 weeks ago
67f7082
Add an "#if 0" that can be changed to "1" to cause all %p output to render
by drh
· 5 weeks ago
56747d1
Increase the size of the output buffer for sqlite3_log().
by drh
· 3 months ago
c171cf1
Ensure that detection of control characters by comparison against 0x1f
by drh
· 5 months ago
d4c686e
Small performance improvement for the new %#Q conversion in printf.
by drh
· 5 months ago
unistr
a357a90
Consolidate two different UTF8 encoders into a single subroutine.
by drh
· 5 months ago
a3283ec
The %#Q conversion now adds unistr('...') around the converted string if
by drh
· 5 months ago
07ce182
Enhance the %Q, %q, and %w printf conversions so that if the alternate-form
by drh
· 5 months ago
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
9566982
Do not report an sqlite3_error_offset() for errors that occur inside of
by drh
· 8 months ago
0766cbf
Remove unreachable code.
by drh
· 11 months ago
1521ca4
Refactor the SrcItem object so that information about subqueries is stored
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
8797bd6
Reduce the size of the SrcItem object by combining fields into a union.
by drh
· 11 months ago
35b771e
Add comments linking the assert() added in [cef4d9e3ba586735] to the places
by drh
· 1 year, 3 months ago
ac7c6f5
Add assert() statements to validate access to the SrcItem.u1.nRow union member.
by drh
· 1 year, 4 months ago
27a5ee8
Improvements to EXPLAIN QUERY PLAN output for multi-row VALUES claues.
by drh
· 1 year, 4 months ago
b468e68
Remove an unreachable branch from printf(). Change it into an assert().
by drh
· 1 year, 5 months ago
6161cdd
Fix rounding in zero-precision %f and %g printf conversions.
by drh
· 1 year, 5 months ago
ca1ce77
First attempt to get the JSON text-to-binary cache working. All test cases
by drh
· 1 year, 8 months ago
43dc31c
Fix a harmless compiler warning about variant types for a pointer function.
by drh
· 1 year, 9 months ago
44f53b9
Extend the enhancement to json_set() and json_replace(). Clean up cruft.
by drh
· 2 years ago
json-opt-rcstr
0f200bc
Add the JsonParse.zAlt field to old revised JSON text after a change.
by drh
· 2 years ago
59b8e66
Clarify ownership of the various objects involved in parsing JSON.
by drh
· 2 years ago
f02cc9a
Create the new RCStr class of strings and try to use them for JSON storage.
by drh
· 2 years ago
453be55
Reinstate the fpdecode() SQL function for testing, but only when compiled
by drh
· 2 years, 1 month ago
17c20bb
Improved rounding policy.
by drh
· 2 years, 1 month ago
9ee9444
Improved response to Infinity and NaN. Remove the termporary fpdecode()
by drh
· 2 years, 1 month ago
42d042e
Progress towards fixing corner-case floating-point formatting issues.
by drh
· 2 years, 1 month ago
3f073f9
Fix an issue with the "+" attribute in printf().
by drh
· 2 years, 1 month ago
aebeaba
Begin cutting over sqlite3FpDecode() into printf(). The code in this
by drh
· 2 years, 1 month ago
0b1a1e8
Improve the range of floating-point numbers that can be handled as integers
by drh
· 2 years, 1 month ago
60783f4
Improved accuracy of floating-point conversion constants as suggested by
by drh
· 2 years, 1 month ago
77eb3e3
Fix a buffer overrun that could occur when using the format() function to format a very small real value with the "," modifier.
by dan
· 2 years, 3 months ago
e846809
Add support for the comma (,) modifier to %f formats in the format() function.
by drh
· 2 years, 3 months ago
comma-format
ad99243
The floating-point-to-text conversion with the zero-padding option now
by drh
· 2 years, 4 months ago
667b5cc
Fix json rendering so that it shows positive and negative infinity as
by drh
· 2 years, 4 months ago
numeric-only-json
0f8aebb
Performance optimization on sqlite3_vsnprintf().
by drh
· 2 years, 5 months ago
4b04ced
Fix an incorrect optimization that was attempted as part of
by drh
· 2 years, 5 months ago
ed530c0
Omit unnecessary branches from the enhanced floating-point conversion logic.
by drh
· 2 years, 5 months ago
4df23a3
Increased precision of floating-point to decimal conversions when the
by drh
· 2 years, 5 months ago
79b9bc4
More efficient implementation of large precisions on the "%c" format for
by drh
· 2 years, 7 months ago
077e17b
Increase the size of loop variables in the printf() implementation to avoid
by drh
· 3 years ago
a6e8ee1
Redefine the acccess rules for the Expr.w union so that the Expr.w.iJoin
by drh
· 3 years, 2 months ago
67a99db
Improved names for flags on the Expr object: EP_FromJoin becames
by drh
· 3 years, 2 months ago
da653b8
Improve EXPLAIN QUERY PLAN output and comments on bytecode listings by
by drh
· 3 years, 3 months ago
5d20a21
Fix unreachable branches in the sqlite3_error_offset() logic.
by drh
· 3 years, 5 months ago
62fc069
Further improvements to localization of errors in input SQL.
by drh
· 3 years, 5 months ago
4f77c92
Enhance sqlite3_error_offset() to report the position of unresolved identifiers.
by drh
· 3 years, 5 months ago
f62641e
Add the sqlite3_error_offset() interface. Use it in the CLI to provide
by drh
· 3 years, 7 months ago
ef95d55
Factor out the logic that does quoting for the SQL quote() function, so that
by drh
· 3 years, 7 months ago
5bf4715
Add the sqlite3ResultStrAccum() internal interface to simplify the
by drh
· 3 years, 10 months ago
f06db3e
Fixes to the version of "varsep" group_concat so that (1) it builds under
by drh
· 3 years, 10 months ago
5191ae0
Add an ALWAYS() on a branch that is always taken.
by drh
· 4 years, 4 months ago
2f2091b
Use the canonical name, not the AS name, when showing the MATERIALIZE or
by drh
· 4 years, 4 months ago
8210233
Revise tests cases to align with the new EXPLAIN QUERY PLAN output.
by drh
· 4 years, 4 months ago
6610e6a
Further simplification of the EQP output. Only show "SUBQUERY n" if the
by drh
· 4 years, 4 months ago
a979993
Improved labeling of EXPLAIN QUERY PLAN output. Many test failures due to
by drh
· 4 years, 4 months ago
bb05976
Cast a string size variable to 64-bit to avoid any possibility of
by drh
· 4 years, 5 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
e2678b9
Fix a couple of unreachable branches.
by drh
· 5 years ago
08b9208
Fix harmless compiler warnings that surface in newer versions of GCC.
by drh
· 5 years ago
b6907e2
Extra assert() statements in the printf() logic.
by drh
· 5 years ago
dd6c33d
Limit the "precision" of floating-point to text conversions in the printf()
by drh
· 5 years ago
d924e7b
Use the sqlite3Realloc() interface internally, rather than the public
by drh
· 5 years ago
a8e41ec
Enhancements to long-path support in the Win32 VFS.
by mistachkin
· 5 years ago
ef7d518
Improved rounding even on systems with an 8-byte "long double" type.
by drh
· 6 years ago
a0ed86b
Improvements to rounding behavior in the round() and printf() functions.
by drh
· 6 years ago
c3dcdba
Improved reporting of SQLITE_TOOBIG errors while parsing.
by drh
· 6 years ago
255a81f
Modify sqlite3_str_finish() and sqlite3VMPrintf() so that they always
by drh
· 6 years ago
7ba03ea
Slight adjustment to the printf formatter large memory allocation detector
by drh
· 6 years ago
2964225
Prevent the printf formatter from doing large memory allocations - larger
by drh
· 6 years ago
9a6d01b
Performance improvement in the parsing of options to %-formats in the
by drh
· 6 years ago
af524a6
Make sure the %z optimization for printf() is not invoked if there has been
by drh
· 7 years ago
3e62ddb
Fix a harmless compiler warning.
by drh
· 7 years ago
f80bba9
Enhance the sqlite3_str_new() interface so that it always returns a valid
by drh
· 7 years ago
446135d
Fix minor problems with the sqlite3_str interface.
by drh
· 7 years ago
0cdbe1a
Make the internal dynamic string interface available to extensions using
by drh
· 7 years ago
cc39896
Optimize calls to sqlite3_mprintf("%z...") so that they attempt to append
by drh
· 7 years ago
a15a7c3
Printing a value of 0 using %c terminates the string.
by drh
· 7 years ago
printf-enhancement
cf7c837
Test cases and a bug fix on the new unicode handling in %c.
by drh
· 7 years ago
136102b
Fix the %c substitution in printf() so that it works with unicode characters.
by drh
· 7 years ago
57e3ba7
Make the alternate-form-2 flag ("!") change the meaning of width and precision
by drh
· 7 years ago
6285646
In the printf() library, measure width and precision in characters rather
by drh
· 7 years ago
4a9ff91
Make it possible to use OSTRACE for multi-process testing.
by mistachkin
· 8 years ago
c84ddf1
Space and size optimization to the printf implementation.
by drh
· 8 years ago
3f18e6d
Remove the zBase field from the StrAccum object. Resulting code is slightly
by drh
· 8 years ago
5f42995
Avoid the possibility of signed integer overflow with oversized precisions
by drh
· 8 years ago
2c338a9
Add the "," flag to printf().
by drh
· 8 years ago
8236f68
Changes to the printf implementation for better performance.
by drh
· 9 years ago
printf-optimization
895decf
Avoid passing NULL pointers to memcmp() or memcpy(), even when the
by dan
· 9 years ago
e9bb566
Performance enhancement to sqlite3_snprintf().
by drh
· 9 years ago
043e586
Performance improvement in sqlite3StrAccumFinish() for the common case where
by drh
· 9 years ago
ad5a9d7
Renumber internal constants in the printf() implemention for a small
by drh
· 9 years ago
4a642b6
Improvements to the way that OOM errors are processed.
by drh
· 9 years ago
5f4a686
Simplification and size reduction to the printf logic. Remove the bFlags
by drh
· 9 years ago
fa385ed
A new approach to very large sqlite3_mprintf() strings: Back out the
by drh
· 10 years ago
6044bf8
Limit the length of sqlite3_mprintf() output to 2^30 bytes, even if
by drh
· 10 years ago
ea06a27
Avoid doing comparisons with pointers that might have been previously been
by drh
· 10 years ago
d797a9b
Changes to avoid obscure, theoretical undefined behavior. This is preventative
by drh
· 10 years ago
Next »