76cc17ebf7
parser: support username without quotes ( #3742 )
2017-07-15 10:16:24 +08:00
ddc104a2a6
parser: support for setting global variable with on and off ( #3631 )
2017-07-14 11:16:59 +08:00
4b16708bd2
parser: add syntax support for show charset ( #3726 )
2017-07-13 10:41:10 +08:00
f024ebbdca
*: support show stats_buckets ( #3720 )
2017-07-12 17:37:53 +08:00
f212ef1705
* support show stats_histogram ( #3683 )
2017-07-11 15:49:11 +08:00
aa41e3aaf4
*: support show stats ( #3633 )
2017-07-06 16:51:59 +08:00
35d2ca006a
expression, parser: simplify the type inferer of builtin funcs ( #3617 )
2017-07-06 16:18:40 +08:00
467a01a2d0
*: support drop stats ( #3615 )
...
* plan, executor: support drop stats
* ast: add comment
* address comment
* address comment
2017-07-05 17:01:36 +08:00
45cd7c9864
builtin, json: add json_object and json_array functions. ( #3562 )
2017-07-03 20:23:27 +08:00
740d9393e8
parser: add TablesTerminalSym nonterminal symbol desc ( #3578 )
...
* parser: add TablesTerminalSym nonterminal symbol desc
2017-06-29 20:42:00 +08:00
f265357476
parser: add syntax support "lock table" and "unlock table" ( #3570 )
...
before this pr, TiDB can't support sql like `lock table t1 write, t2 read`,
it just support `lock tables t1 write, t2 read`
2017-06-29 17:13:44 +08:00
45490a02b9
parser: Support alter table rename table without to ( #3552 )
2017-06-27 20:04:25 +08:00
2b4a3ce5e6
parser: parse "select HIGH_PRIORITY ..." statement ( #3466 )
2017-06-26 17:19:10 +08:00
5dd0165532
Fix Run Empty Alter Table Add Constraint SQL Error ( #3456 )
...
* Fix Run SQL like "ALTER TABLE `test`.`t` ADD INDEX `index1` ();"
2017-06-13 20:50:40 +08:00
4bc3cf7a48
*: support using clause in join statement. ( #3372 )
2017-06-12 17:14:13 +08:00
ddc2ffcfa5
parser: add generated column grammar. ( #3428 )
2017-06-09 14:31:35 +08:00
a623135bae
*: add cast(value as JSON) support. ( #3395 )
2017-06-07 19:58:27 +08:00
791b4c273c
expression: add buildin functions json_{set,insert,replace} and json_merge. ( #3388 )
2017-06-06 15:50:32 +08:00
ea9ce9c0fa
*: fix issue3356 ( #3357 )
2017-06-01 23:53:45 +08:00
f83bdd0aaf
*: fix 3235 ( #3358 )
2017-05-31 23:27:47 +08:00
b73b833e02
parser: use ExpressionListOpt for json functions. ( #3362 )
2017-05-31 13:46:22 +08:00
9b6fc032fc
*: add References_priv to mysql.user ( #3343 )
2017-05-26 17:58:32 +08:00
6962814a29
add json_type function and compare json with primitive types. ( #3307 )
2017-05-24 15:21:40 +08:00
76ece8ec1f
ddl: add support first/after for modify/change column ( #3215 )
2017-05-24 09:58:30 +08:00
2c07a47f22
parser: fixed alter table compression option ( #3293 )
2017-05-20 16:37:57 +08:00
cd5bc0a314
parser: support add fulltext index and clean redundant code ( #3299 )
2017-05-20 16:25:40 +08:00
213954d2e7
*: add specified columns for LOAD DATA INFILE Syntax ( #3240 )
...
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
9b8a445aa8
*: parse more lock options in alter table statement ( #3260 )
...
* *: parse more lock options in alter table statement and ignore them
2017-05-15 14:29:13 +08:00
be56698f72
document-store: init work. ( #3228 )
...
* document-store: init work.
1. add error codes and messages for json;
2. add json_extract and json_unquote functions in parser;
2017-05-10 19:17:52 +08:00
3f296ed82d
*: add Trigger_priv column to mysql.user ( #3143 )
2017-05-03 13:49:07 +08:00
588bf60f0c
*: support analyze index ( #3156 )
2017-05-01 19:42:46 +08:00
0595143194
*: add Process_priv column to mysql.user ( #2994 )
2017-04-28 22:35:46 +08:00
2547b86be3
parser: replace Expression with ExpressionListOpt ( #3124 )
2017-04-26 13:08:15 +08:00
8aab91fb3c
allowed zero argument in typeinferer ( #3137 )
2017-04-25 23:08:28 +08:00
31d2cc8351
parser: make "ENGINE = xxx" optional in partition definition ( #3140 )
2017-04-25 17:20:37 +08:00
5243f6f461
expression: fixed pow/power return wrong error message when there more than two arguments. ( #3114 )
2017-04-23 21:13:27 +08:00
78d4520199
*: resolve conflict on 'in' and add builtin position ( #3079 )
2017-04-19 21:30:48 +08:00
aa9a97a051
*: show create table output utf8_bin collate. ( #3076 )
...
*: show create table output utf8_bin collate.
We only support case sensitive utf8_bin collation right now, but show create table ignored the collation.
So the dumped DDL statement doesn't contains collation option.
When the DDL statement is executed on MySQL, the collation will be changed to utf8_general_ci.
If the string column is defined as unique key, there would be duplicated key error.
This PR enforce utf8 charset and utf8_bin collation when parse a column definition, and enfore table option
`DEFAULT CHARSET=utf8 COLLATE=utf8_bin` in SHOW CREATE TABLE statement.
2017-04-18 19:54:21 +08:00
1ec85a7b1c
*: add three more builtin definitions ( #3016 )
2017-04-10 14:26:16 +08:00
f7cc682eed
*: support Super_priv ( #2990 )
2017-04-05 19:21:07 +08:00
c9e3b81c53
Parser: Fix function resolution rule for 'TIMESTAMPADD' and 'TIMESTAMPDIFF' ( #2991 )
2017-04-05 14:01:47 +08:00
aaa6184670
*: implement index nested loop join ( #2945 )
2017-04-01 15:12:20 +08:00
f66c46953d
*: remove MySQL enterprise functions definition. ( #2973 )
2017-03-31 18:03:19 +08:00
1253d2b87b
builtin: get_format function implemented. ( #2932 )
2017-03-29 09:11:47 +08:00
7739d97697
Sort Merge Join ( #2850 )
...
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
6d58b5c6ec
parser: parse /*+ */ for optimizer hint ( #2904 )
2017-03-21 14:47:21 +08:00
779a38b61c
*: parse and ignore lock option in alter table statement ( #2811 )
2017-03-11 15:47:28 +08:00
a884e170c3
parser: QUOTE is not a keyword ( #2805 )
...
Fix https://github.com/pingcap/tidb/issues/2803
2017-03-10 14:07:54 +08:00
ecb01eb3af
parser: handle the national character set like N'literal' ( #2773 )
2017-03-06 19:08:54 +08:00
50a6799d1f
parser: PI is not a keywork ( #2763 )
2017-03-01 14:47:05 +08:00