aboutsummaryrefslogtreecommitdiff
path: root/src/vdbetrace.c
Commit message (Collapse)AuthorAge
* Remove an unnecessary static buffer from sqlite3VdbeExpandSql().drh2021-10-02
| | | FossilOrigin-Name: 953a33b7f739bb39f4a0efedcad2236c09fb798da4a519f8e1049aebe3bbf3ff
* Fix a problem with sqlite3_expanded_sql() that could occur with statements ↵dan2020-12-17
| | | | | that use both numbered (e.g. "?1") and unnumbered (i.e. "?") parameters. FossilOrigin-Name: 2a6cd6833e44dd6a2ac388815f43be6508f6fa6db5e451e964276a6c87e6c5ae
* Make MEM_IntReal a completely independent type, meaning a floating pointdrh2019-05-02
| | | | | | | | value stored as an integer. This fixes a problem with arithmetic within arguments to string functions on indexes of expressions. But it is a big change and needs lots of new testcase() macros for MC/DC and so it is initially put on this branch. FossilOrigin-Name: dba836e31cb29d339b4520acb06188a892a52e45c50aba9742966b01108e251a
* Make the internal dynamic string interface available to extensions usingdrh2018-05-09
| | | | | | | the new sqlite3_str object and its associated methods. This is mostly just a renaming of internal objects and methods to use external names, through there are a few small wrapper functions. FossilOrigin-Name: 87f261f0cb800b06ad786f6df16f2c4dddd0d93dfdcc77b4a4eaa22920b56bf1
* Fix a few over-length source code lines. No functional changes.drh2017-08-25
| | | FossilOrigin-Name: 1783c54ce9dcb4b2c4f2a66f6d3315e646b71b54a8899fc32a7bf0f935a21f7f
* Improvements to sqlite3_trace_v2() documentation. Fix thedrh2016-07-23
| | | | | sqlite3VdbeExpandSql() routine to respond better to OOM conditions. FossilOrigin-Name: 0400f642d542e62bb428e0bf263964c65691368e
* Add requirements marks to the sqlite3_trace_v2() interface documentation.drh2016-07-23
| | | FossilOrigin-Name: ebd388e94da4a2b29c2a546f832d359619803ec5
* Fix sqlite3VdbeExpandSql() so that it handles OOMs by always returning NULL.drh2016-07-23
| | | FossilOrigin-Name: 5a027fe4127d498e0dc0d9439131c6a29085cf0a
* Add the sqlite3_expanded_sql() interface. Refinements to thedrh2016-07-14
| | | | | sqlite3_trace_v2() interface to make it more useful. FossilOrigin-Name: 99ee7ee58d45b29a0000492306ddc0b90563ff51
* Simplification and size reduction to the printf logic. Remove the bFlagsdrh2016-01-30
| | | | | | parameter from sqlite3VXPrintf() and sqlite3XPrintf(). Use sqlite3XPrintf() instead of sqlite3_snprintf() for rendering P4 values in EXPLAIN output. FossilOrigin-Name: 0bdb41c45aa1cc8e5c136aaa6605d54b401483bd
* Cleanup of the sqlite3StrAccumInit() function. No functionality changes.drh2015-05-02
| | | FossilOrigin-Name: 7952c32268aa650d9ee946d5bfe190f712e3bbe6
* The sqlite3_trace() callback does not try to expand parameters in statementsdrh2015-04-18
| | | | | that have no parameter. FossilOrigin-Name: 917e3c36293a1bf052a16116c93e5037ed712f96
* Fix an incorrect assert() in the sqlite3_trace() logic.drh2015-04-18
| | | FossilOrigin-Name: eabde33997b5b2ffc0067930305d6fed5951a234
* Remove the SQLITE_ENABLE_TREE_EXPLAIN compile-time option. Add alternativedrh2014-09-30
| | | | | | debugging display routines: sqlite3TreeViewExpr(), sqlite3TreeViewExprList(), and sqlite3TreeViewSelect(). FossilOrigin-Name: 4ff51325d6b41d0c59e303b573700ec80c51d216
* Merge the Mem.r value into the MemValue union as Mem.u.r. Hence, a Mem candrh2014-09-18
| | | | | | now store an integer or a real but not both at the same time. Strings are still stored in a separate element Mem.z, for now. FossilOrigin-Name: 4c8c89d7e62aecfe2eb735f7bb114aed6b452847
* Fix typos in comments. No code changes.peter.d.reid2014-09-06
| | | FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
* Add the printf() SQL function.drh2013-12-17
| | | FossilOrigin-Name: 6db7052eeefafdbf26b3153bc38600fecfb53ae6
* Remove an unreachable conditional inserted by the previous check-in.drh2013-12-11
| | | FossilOrigin-Name: 3e1d55f0bd84810a035bd6c54583eb373784a9a3
* Fix harmless compiler warnings.drh2013-12-11
| | | FossilOrigin-Name: a7e5fcd66659750eb2f4675082df324e7cf35427
* Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomesdrh2013-06-27
| | | | | | "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". FossilOrigin-Name: 14f796963474350e7aee8d3757acd3315fe78e4f
* Fix a bug in SQLITE_TRACE_SIZE_LIMIT that was introduced by drh2013-05-17
| | | | | | | check-in [1a1cf5aa86734c8]. That check-in was to remove harmless compiler warnings. So once again, we have introduced a real bug into SQLite by attempting to eliminate a harmless compiler warning. FossilOrigin-Name: cec2bcb45aa3f0438e19381ac863f0f876a1d1ad
* Fix harmless compiler warnings.drh2013-04-22
| | | FossilOrigin-Name: 1a1cf5aa86734c832d845e07780262a178188d56
* If the SQLITE_TRACE_SIZE_LIMIT compile-time parameter is set to a positivedrh2013-04-02
| | | | | | integer then limit the expansion of strings and blobs in trace output to approximately that many bytes. FossilOrigin-Name: e5b710849dd66673ba0e0d935b103cb29abfcc4b
* Replace a few sqlite3_malloc()+memset() sequences with calls to ↵dan2012-07-30
| | | | | sqlite3MallocZero(). FossilOrigin-Name: 305b6667265353b858b79bfea1745e64ff3bb7d3
* Allow the sqlite3ExplainBegin function to be compiled by MSVC.mistachkin2012-05-21
| | | FossilOrigin-Name: 18555128f59b59d8c67446cd778ece9a181b30a5
* Import the experimental parse-tree explainer, with fixes, from thedrh2011-12-10
|\ | | | | | | | | tree-explain branch. FossilOrigin-Name: bcbc7152d49107afa926c8950360c61a6cf3d244
| * Begin adding the data-structure explaining subsystem. All is contained withindrh2011-12-06
|/ | | FossilOrigin-Name: 79ae51c5b1b20ed0a425a87e65a32a096a80b7e1
* Fix a couple of MSVC compiler warnings;shaneh2011-04-07
| | | FossilOrigin-Name: 748c9109c973e1d3e914adbe533f12af7783bfe4
* Modify the trace callback mechanism so that SQL commands executed from ↵dan2011-01-22
| | | | | within virtual table or user function callbacks are passed to the trace callback without parameter expansion and enclosed in SQL comments. FossilOrigin-Name: a764915b87564fa91ee68e9b1f41394ce0f1fc7e
* Initialize a variable (unnecessarily) to avoid a compiler warning.drh2009-11-28
| | | FossilOrigin-Name: db65fd5913aae4d83d2c2bc243653175be3c3d35
* Simplifications to the sqlite3_trace() bound parameter substitution logic.drh2009-11-26
| | | FossilOrigin-Name: cb4b928648504ce29d751834e9ee3b5278dfca65
* Support zeroblob in trace output.drh2009-11-25
| | | FossilOrigin-Name: 5086bf8e838c824accda531afeb56a51dd40d795
* Get trace with parameter insertion working for UTF16 databases.drh2009-11-25
| | | FossilOrigin-Name: 01d5451af0bd2743eb74b98f2e77dd2c75f403b6
* Initial check-in of code that inserts tokenizations of the valuesdrh2009-11-25
for bound parameters into the output of sqlite3_trace(). FossilOrigin-Name: 545cfb3b63f482036ae152e6ebcce86d373585a8