|
|
8ad34f0ad9
|
parser: use yyLex.Error instead of (*lex).err (#1492)
|
2016-07-27 14:42:40 +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 |
|
|
|
04da3d2f8b
|
parser: add testcases for lexer (#1503)
|
2016-07-26 13:01:32 +08:00 |
|
|
|
5fee2ffd9b
|
parser: clean up unused code (#1480)
|
2016-07-25 15:21:45 +08:00 |
|
|
|
1e6e1ca6f0
|
*: Support binlog stmt (#1479)
Parse and ingore it.
|
2016-07-21 13:39:15 +08:00 |
|
|
|
8749945b0c
|
*: add builtin function greatest (#1463)
|
2016-07-20 11:32:14 +08:00 |
|
|
|
7654b6b5d5
|
*: Support sleep function (#1457)
* *: support sleep function
* evaluator: add SQL mode judgement
|
2016-07-16 13:48:45 +08:00 |
|
|
|
1cdb2cc18d
|
Fix bugs in string literal unescape (#1432)
Unescape string literal in lex scanner
|
2016-07-13 11:50:29 +08:00 |
|
|
|
d4f85c8138
|
Add get_lock() and key_column_usage table (#1437)
Parsed but ignored. This is used for Ruby's activerecord migrations.
|
2016-07-13 10:57:05 +08:00 |
|
|
|
0132246ff5
|
*: Support STATS_PERSISTENT option in CreateTableStmt (#1416)
Parsed but ignored. Just prevent error.
|
2016-07-09 11:41:27 +08:00 |
|
|
|
e234ab65a6
|
*: Support grant all privileges syntax (#1417)
Add missing syntax rule.
|
2016-07-09 08:10:55 +08:00 |
|
|
|
0450ba0b47
|
*: unify "See url" format (#1391)
* *: unify "See url" format
|
2016-07-05 11:21:10 +08:00 |
|
|
|
b3bd0dce4d
|
*: add builtin string function SPACE (#1332)
|
2016-06-21 15:45:26 +08:00 |
|
|
|
67378982bf
|
parser: add ANALYSE TABLE syntax (#1323)
|
2016-06-15 16:21:39 +08:00 |
|
|
|
d9569a6801
|
*: Support date_format (#1295)
* *: support date_format
* evaluator: update yearweek function
|
2016-06-06 18:49:06 +08:00 |
|
|
|
97df813e92
|
fix parsing error caused by single quote transformation (#1274)
fix parsing error caused by single quote transformation
|
2016-06-01 17:41:20 +08:00 |
|
|
|
61532d7c4e
|
*: Support monthname (#1279)
* *: support monthname
|
2016-06-01 14:02:53 +08:00 |
|
|
|
86fe54dadc
|
*: Fix issue 1118 (#1259)
* *: fix issue 1118
|
2016-05-26 12:49:43 +08:00 |
|
|
|
55ed68ca6c
|
add builtin-reverse func (#1224)
|
2016-05-13 20:53:55 +08:00 |
|
|
|
2e355f3749
|
*: Fix issue#1114 (#1231)
* *: supprot assignment
* *: fix issue 1114
|
2016-05-13 11:26:26 +08:00 |
|
|
|
24503eb791
|
parser: support parse "ALTER TABLE DISABLE KEYS" (#1211)
* parser: support parse "ALTER TABLE DISABLE KEYS"
This statement is used in `mysqldump`.
* parser: address comment
|
2016-05-09 14:39:31 +08:00 |
|
|
|
0841dbef9b
|
*: Support builtin function round(X), round(X, D) (#1208)
Support builtin function round(X), round(X, D)
|
2016-05-07 13:38:02 +08:00 |
|
|
|
9eecb2e0a6
|
*: Support using hexadecimal literals as string (#1196)
Support using hexadecimal literals as string
|
2016-05-04 16:11:46 +08:00 |
|
|
|
e742def024
|
add foreign key on update and on delete support (#1152)
* add foreign key on update and on delete support
|
2016-04-27 19:44:00 +08:00 |
|
|
|
4ced2f7e10
|
*: implement some other builtin functions (#1137)
Support ISNULL(), LTRIM(), RTRIM(), LCASE() and UCASE().
Add alias for LOWER() and UPPER().
|
2016-04-23 21:04:26 +08:00 |
|
|
|
ff05329a05
|
parser: support index hint syntax. (#1113)
|
2016-04-19 18:42:44 +08:00 |
|
|
|
8c164bc078
|
evaluator,parser: support ASCII(). (#309) (#1083)
* evaluator: add a builtin function wanted by #310.
* parser: update parser for ASCII().
|
2016-04-14 01:53:50 -05:00 |
|
|
|
eb941fb12f
|
*: Support mysqldump dump database
1. Fix bug in show tables like with escape char.
2. Parse but ignore sql_cache/sql_no_cache.
|
2016-04-07 16:25:49 +08:00 |
|
|
|
d01d516105
|
evaluator, parser: support UTC_DATE()
* evaluator, parser: support UTC_DATE()
Fix issue: #236.
|
2016-04-05 21:25:04 +08:00 |
|
|
|
7f57652532
|
*: Support more create table options
The options are parsed but ignored.
Fix: https://github.com/pingcap/tidb/issues/975
Fix: https://github.com/pingcap/tidb/issues/974
|
2016-03-16 10:41:42 +08:00 |
|
|
|
5fd70ed31e
|
parser: Handle MySQL-specific code
Fix: https://github.com/pingcap/tidb/issues/971
|
2016-03-15 15:53:39 +08:00 |
|
|
|
afd369e042
|
evaluator: move the evaluate of ast functions to buildin
Move the evaluate of ast functions extract, convert and substring to buildin.
|
2016-03-08 10:50:14 +08:00 |
|
|
|
431879e287
|
buildinFunc: add a strcmp function
Add a function needed in https://github.com/pingcap/tidb/issues/310 .
|
2016-02-29 15:43:56 +08:00 |
|
|
|
42e6fe0077
|
Merge branch 'master' into zimuxia/inspectkv-sql
Conflicts:
parser/parser.y
|
2016-01-11 11:18:42 +08:00 |
|
|
|
2c5bfaebb0
|
builtin: add version()
|
2016-01-10 14:46:47 +00:00 |
|
|
|
e39a0fd28a
|
Merge branch 'master' into zimuxia/inspectkv-sql
Conflicts:
parser/parser.y
|
2016-01-07 11:02:58 +08:00 |
|
|
|
f6bb202aae
|
parser: address comments
|
2016-01-07 10:54:20 +08:00 |
|
|
|
b607c8504b
|
builtin: add time function dayname()
add builtin time function dayname()
|
2016-01-06 20:11:31 +08:00 |
|
|
|
c1ef52c6bd
|
parser: add test and update code
|
2015-12-29 11:41:33 +08:00 |
|
|
|
547141c0cb
|
parser: support admin check table and admin show ddl
|
2015-12-25 18:13:05 +08:00 |
|
|
|
a6a9b13f99
|
Merge pull request #763 from pingcap/shenli/show-procedure
*: Support show procedure status syntax
|
2015-12-22 09:33:50 +08:00 |
|
|
|
33d71ad3b0
|
Merge remote-tracking branch 'remotes/master'
|
2015-12-21 13:39:49 +08:00 |
|
|
|
2fe9938ca0
|
*: Support show procedure status syntax
|
2015-12-21 12:15:56 +08:00 |
|
|
|
9084d5d465
|
parser: fix parsing curtime
1. It can be used as an identifier
2. It should be called with parentheses
|
2015-12-21 11:13:45 +08:00 |
|
|
|
1009e715c9
|
builtin/time: Treat curTime as a synonym to currentTime and handle it at scanner part.
|
2015-12-20 17:28:21 +08:00 |
|
|
|
ee333b554e
|
fix alignment
|
2015-12-20 01:06:36 +08:00 |
|
|
|
c01879ba2e
|
parser: support built-in function pow
|
2015-12-19 23:51:04 +08:00 |
|
|
|
1b0c2e38cf
|
builtin/time: support CURRENT_TIME(), CURTIME()
For github issue #236.
|
2015-12-19 22:29:13 +08:00 |
|
|
|
da547dc073
|
Update scanner.l
finish another format error!
|
2015-12-15 17:36:24 +08:00 |
|