Commit Graph

17 Commits

Author SHA1 Message Date
3eb6f4f513 parser: remove the old lexer, clean up (#1597) 2016-08-18 14:29:45 +08:00
0a0abbb2e7 parser: use the new lexer as default (#1566) 2016-08-15 10:06:52 +08:00
3545493808 parser: cache variable in parser to avoid allocation (#1565) 2016-08-08 23:17:44 +08:00
a5db620286 parser: rewrite lex (#1514)
introduce a handwriten lexer, which should be better in performance and support UTF8.
it's still not used as default one, a switch is provided by specifying -newlexer=true in tidb-server.
2016-08-06 16:29:21 +08:00
398eec015d parser: move lexer's int/float/hex method to function (#1529)
the old lexer and the new lexer can both use those code
2016-08-01 18:44:54 +08:00
b42dae814a parser: move charset/collation/list fields to parser from lexer (#1491) 2016-07-27 11:20:31 +08:00
128af2e92a parser: store sql string in parser and move offset related method (#1493) 2016-07-27 10:50:06 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
5fd70ed31e parser: Handle MySQL-specific code
Fix: https://github.com/pingcap/tidb/issues/971
2016-03-15 15:53:39 +08:00
207c7673b9 *: update error code. 2016-01-16 13:21:06 +08:00
7b248032da parser: address comment. 2015-12-24 11:00:34 +08:00
631045ce5f parser: address comment. 2015-12-24 10:47:37 +08:00
bfd188d844 parser: remove YYParse function, use Parse and ParseOne instead. 2015-12-23 18:25:28 +08:00
3d93c973e8 parser: add comment for exported variables. 2015-12-18 20:11:34 +08:00
c5fae25a60 optimizer: validates '?' is not allowed in non-prepare mode. 2015-12-18 19:40:45 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00