aboutsummaryrefslogtreecommitdiff
path: root/src/tokenize.c
Commit message (Collapse)AuthorAge
...
* Use the VList object to replace Parse.azVar for tracking the mapping betweendrh2016-12-23
| | | | | | SQL parameter names and parameter numbers. There is a performance improvement, though there are still a few hiccups in the current code. FossilOrigin-Name: 68ecafa1425a41358c88f41efea3262f1b4490f2
* Updates to the tokenizer for EBCDIC. No changes for standard builds.drh2016-12-12
| | | FossilOrigin-Name: 4fc6580ffa7232aaf751f38f90c45edc8863abe5
* Rearrange the code inside sqlite3RunParser() routine so that sqlite3Parser()drh2016-08-10
| | | | | | is only called from a single place. This allows sqlite3Parser() to be in-lined, which results in a 0.25% overall performance gain. FossilOrigin-Name: 25d1d02b3ea126ade22b2a72649ae55509aa1777
* Avoid unnecessary calls to object destructors for a small performance gain.drh2016-04-12
| | | FossilOrigin-Name: aec94b6ee68fe50e2cc14388281e2ef531e21d68
* Fix a problem with handling identifiers that start with "x" if ↵dan2016-02-24
| | | | | SQLITE_OMIT_BLOB_LITERAL is defined. FossilOrigin-Name: b65217c69c59cbe9cd1494e2eb42ecf22c336399
* Avoid a potential buffer overrun if an SQL statement being parsed endsdrh2016-02-18
| | | | | | with an illegal "!" token. (This problem was detected by fuzzcheck running under valgrind. The problem was introduced by check-in [9570b6b43df3].) FossilOrigin-Name: 2a8d97e7c8976df0312e1294e8c1da8b15686654
* Minor simplification to the tokenizer. Slightly smaller and faster.drh2016-02-16
| | | FossilOrigin-Name: 9570b6b43df3bc5ce314cded20bca8be9e968efe
* Enhance ability to debug out-of-memory errors.mistachkin2016-02-13
| | | FossilOrigin-Name: 6a9c4a3ebfb7cc0738ef6634440ccab44a21ff28
* Changes to help the tokenizer run about 33% faster.drh2016-02-08
|\ | | | | FossilOrigin-Name: a050e6f096d40aa5b6275797b96e62c228044f5a
| * Add code to get the tokenizer character-class logic working for EBCDIC.drh2016-02-08
| | | | | | FossilOrigin-Name: 04f7da77c13925c1f1e287f4579bb85518297d81
| * Demonstrate a much faster sqlite3GetToken() routine by using a lookup tabledrh2016-02-08
|/ | | | | | to map initial token characters into a character class. This check-in does not work for EBCDIC. More optimization needed. FossilOrigin-Name: 9115baa1919584dc8ca25bbff54d3b65748a9631
* Improvements to the way that OOM errors are processed.drh2016-02-05
| | | FossilOrigin-Name: c3ef03478a5788c855b3aef385d43ae7f494f440
* Performance enhancement to the tokenizer.drh2015-11-10
| | | FossilOrigin-Name: 6ea2df86c95c226052f528424e9bee367a2e765a
* Small size reduction and performance increase in the parser.drh2015-11-09
| | | FossilOrigin-Name: d62cd757a69cc49c2d309e27c948610b5868632f
* Proposed fix for an infinite loop bug in the WITH clause semantic analysisdrh2015-11-07
| | | | | logic. FossilOrigin-Name: 028475cb17a4b50baf0e9aba9bd3403d0a5d03b0
* Change sqlite3StatusSet() into sqlite3StatusHighwater() so that only thedrh2015-10-15
| | | | | | highwater mark is recorded. This gives a small size reduction and performance improvement. FossilOrigin-Name: 6422d223dd10018703c6b083d29a3c35c837fc97
* Change the parser engine so that it (once again) waits for a lookahead tokendrh2015-09-07
| | | | | before reducing, even in a SHIFTREDUCE action. FossilOrigin-Name: 2c17a1358353a0845b039283be79353f033e2491
* For the Lemon-generated parser, add a new action type SHIFTREDUCE and use itdrh2015-09-07
| | | | | to further compress the parser tables and improve parser performance. FossilOrigin-Name: 531c3974b3d586c1989cde905b2fb4681239a570
* Fix harmless compiler warnings.drh2015-06-15
| | | FossilOrigin-Name: b0badb99023e23bef0e2064cec58f2b279af0c0b
* Move two unreachable conditionals inside of NEVER() or assert().drh2015-05-29
| | | FossilOrigin-Name: db4e9728fae5f7b0fad6aa0a5be317a7c9e7c417
* Fix a one-byte buffer overread that may follow a syntax error while ↵dan2015-05-26
| | | | | preparing an SQL statement. FossilOrigin-Name: 075003930da98419f671b7833a5850693529fb62
* Simplifications to error message processing. Fix a possible problem in errordrh2015-05-15
| | | | | message formatting when vacuuming a database with a corrupt schema. FossilOrigin-Name: 56ef98a04765c34c1c2f3ed7a6f03a732f3b886e
* Do not send the extra ";" and "\000" tokens to the parser if a prior errordrh2015-04-25
| | | | | has occurred. FossilOrigin-Name: 9aa70ddf2ca6044634560a801b43df121384eb64
* Fix a couple of unreachable branches.drh2015-04-16
| | | FossilOrigin-Name: 8f391dffcfe068d48f854784648610d8a86f6bc8
* Remove a branch that became unreachable due to one of the earlier check-insdrh2015-04-15
| | | | | today. FossilOrigin-Name: fa0956edf866f48f448967836709a3ad822ff917
* Fix the error message generator for illegal token errors so that it does notdrh2015-04-15
| | | | | leak memory if it immediately follows another erroneous SQL statement. FossilOrigin-Name: 3576973f8b88b6109fbefdebfa53468ffa137009
* Add the sqlite3_status64() interface. Make the new interface and the legacydrh2015-03-23
| | | | | | sqlite3_status() both atomic and threadsafe. Check threadsafety using assert()s. FossilOrigin-Name: 1ce8e8fa4b866aafa12b1da0eb4d02321af9293e
* Improvements to SQLITE_ENABLE_API_ARMOR.drh2015-02-13
| | | FossilOrigin-Name: 823ad40ccb5b51aaa0d5a48da63b465df9d0649a
* Minor fixes and enhancements to the SQLITE_ENABLE_API_ARMOR functionality.mistachkin2014-12-20
| | | FossilOrigin-Name: cb3e4219ac9560d2773b85453aafda54b7c9346f
* Change that might allow SQLite to build and work using the EBCDIC characterdrh2014-09-25
| | | | | set. FossilOrigin-Name: ef30e0352b3d4a29749cd0872c10e45a6649ec52
* Fix a problem with parser memory allocation on 32-bit systems.drh2014-09-12
| | | FossilOrigin-Name: 2f69a1fa6adc9377149ae7faa586a5d30b6a631b
* Fix typos in comments. No code changes.peter.d.reid2014-09-06
| | | FossilOrigin-Name: e62aab5e9290503869e1f4d5e0fefd2b4dee0a69
* Add support for parsing C-style hexadecimal literals.drh2014-07-23
| | | FossilOrigin-Name: 34a1f38b7a23c64f5c6e5b34c19a20480be53961
* Fix some problems to do with WITH clauses and name resolution.dan2014-01-17
| | | FossilOrigin-Name: 6a549187ed8b5ed50daefa676ff666ae2ed43346
* Add code to handle non-recursive CTEs in the same way as SQL views.dan2014-01-13
| | | FossilOrigin-Name: a26f399ba485e8127c276c5f103ec6c555e11734
* Optimizations to the SQL language grammar that result in a small sizedrh2014-01-11
| | | | | reduction and speed increase. FossilOrigin-Name: cb5d1f83e0a33d546d4c0cb817ef1f8440d1f738
* Store the root page of the PRIMARY KEY index for a WITHOUT ROWID table indrh2013-11-02
| | | | | | the sqlite_master entry for the main table and omit the sqlite_master entry for the PRIMARY KEY. FossilOrigin-Name: b7544bb280f1c1c55135a9b35aeb85604fef94a3
* Updates to requirements marks. No code changes.drh2013-08-02
| | | FossilOrigin-Name: 213020769f310aec1591d97756b53891d0b64005
* Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomesdrh2013-06-27
| | | | | | "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". FossilOrigin-Name: 14f796963474350e7aee8d3757acd3315fe78e4f
* Update the text of requirements associated with sqlite3_pcache_methods2.drh2011-12-30
| | | | | | Update requirements marks embedded in code. All of the above are comment changes only; there are no changes to code in this check-in. FossilOrigin-Name: f945c41a72519d6bcfb478730ba0254bb24e5331
* Performance enhancement to the blob-literal tokenizer.drh2011-06-03
| | | FossilOrigin-Name: 61aa2031f1c5ae05e31077588a55194a9546262a
* Refactor the SQL parameter processing so that parameter names for valuesdrh2011-06-01
| | | | | that are optimized out of the prepare statement are not forgotten. FossilOrigin-Name: b3aaf715b60b8a338cc6c92dad1ead4a3f7146a3
* Make sure all memory from sqlite3DbMalloc() is freed by sqlite3DbFree() anddrh2010-07-24
| | | | | all memory from sqlite3_malloc() is freed by sqlite3_free(). FossilOrigin-Name: ac1f37a647e9ed1c00a901d26d9956a86c40117a
* Remove the Table.dbMem variable, as it is no longer being used for its ↵dan2010-07-23
| | | | | original purpose. FossilOrigin-Name: 6eddc6e601cf8f585c6c2cf79f36fcbfe98a307e
* Continuing improvements to error reporting and the sqlite3_log() routine.drh2010-02-23
| | | FossilOrigin-Name: edea3bb740ddd096a46e00678b59d465bb1e2903
* Add a few simple evidence comments to the tokenizer. No functional changes.drh2009-12-14
| | | FossilOrigin-Name: 0daec3099d439ce8a8779260b12975f262037bc8
* Use the sqlite3CtypeMap[] to improve the speed and reduce the size of the drh2009-11-16
| | | | | logic in the tokenizer that recognizes identifiers. FossilOrigin-Name: 1c9243b0760741f48b15efb0da661255177aed8b
* Remove the obsolete "$Id:$" RCS identifier strings from the source code.drh2009-11-10
| | | FossilOrigin-Name: f6c045f649036958078cb15cd9d5453680c82b0c
* Remove two unused fields from the Parse structure. The TCL interface nowdrh2009-07-03
| | | | | removes leading whitespace from SQL statements before parsing them. (CVS 6846) FossilOrigin-Name: 983cb6924b8a7d3057718b9228c0cb2fbe7f0dc4
* Enhance autoincrement so that it works with triggers that also do drh2009-06-23
| | | | | | autoincrement inserts, even multiple inserts into the same table. Ticket #3928 (CVS 6807) FossilOrigin-Name: 1330993de8eae7baeec24100216158063c9bdc19