b098b47b0b
parser,ast: parse admin show slow statement ( #7688 )
...
Add the following new syntax:
* admin show slow top [internal | all] N
* admin show slow recent N
2018-09-26 14:04:54 +08:00
e7afbb2713
*: make analyze buckets number configurable ( #7619 )
2018-09-06 17:16:23 +08:00
69d5e36ac4
*: bump go version to 1.11 ( #7491 )
2018-08-29 21:48:50 +08:00
2ac2faf29f
parser: support SUBPARTITION grammar for table partition ( #7470 )
2018-08-23 16:39:04 +08:00
69b13c59d6
parser: enhance the compatibility for table partition ( #7440 )
...
* 'COMMENT = xxx' and 'COMMENT xxx' are both acceptable, '=' is optional
* Add 'TABLESPACE xxx' to partition definition option
* For 'ENGINE = xxx', 'COMMENT = xxx', 'TABLESPACE xxx' options, the order is exchangable
2018-08-21 16:58:05 +08:00
fd3706148f
lexer: support more syntaxes regarding 'SET Syntax' ( #7020 )
2018-07-10 18:20:33 +08:00
10151e1598
parser,ast: parse statement execution time optimizer hints ( #7012 )
2018-07-08 17:08:29 +08:00
cef2ebde62
*: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement ( #6936 )
2018-06-29 19:09:12 +08:00
12d4c5aea5
*: support 'show master status' ( #6785 )
2018-06-08 12:36:12 +08:00
e2b23619f0
*: adding trace syntax support ( #6644 )
2018-06-03 18:40:47 +08:00
39a2f84231
executor: support cleanup dangling index data command ( #6102 )
2018-04-02 18:26:23 +08:00
959c319585
*: Support AlterTable with Algorithm option and fix a few things reported by goword ( #6141 )
...
Improve the compatibility with MySQL.
2018-03-27 21:39:29 +08:00
090f7c5e12
admin: show more information on ddl history ( #6035 )
...
* admin:address comments
* output information limit number
* handling comment questions
* handling comment questions
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
* *: fix test case
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
* Address comments
2018-03-16 10:07:50 +08:00
98a2640286
*: support 'admin recover index' ( #5980 )
2018-03-15 18:04:35 +08:00
1a812fc19b
parser: support long varchar ( #5920 )
2018-03-03 10:20:03 +08:00
a04b2f9a8d
*: support show stats_healthy. ( #5769 )
2018-02-05 19:30:05 +08:00
cc808a51aa
parser: Support the ODBC syntax of time/date/timestamp literal ( #5634 )
2018-01-14 16:04:29 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
04ef7d7992
*: shard implicit row ID ( #5513 )
2018-01-04 16:32:41 +08:00
f744c777de
parser: Support PACK_KEYS option in CreateTable statement ( #5554 )
...
Parse but ignore it.
2018-01-04 13:37:49 +08:00
f8c0aaf0c9
parser, expression: support SEPARATOR in group_concat aggregate function ( #5420 )
2017-12-15 16:36:13 +08:00
c9245f52c2
plan: add hint to force to choose hash join. ( #5315 )
2017-12-08 20:02:45 +08:00
d742d9285a
parser: support sql_mode 'IGNORE SPACE' ( #5106 )
2017-12-07 09:49:48 +08:00
7e480bd90e
ast, parser: support create view syntax ( #5197 )
2017-11-23 22:53:50 +08:00
326e63a55f
add bit_and, bit_or to parser.y ( #5091 )
2017-11-15 21:02:49 -06:00
e1882357af
parser: support sql_mode "PIPES_AS_CONCAT" ( #5012 )
2017-11-09 20:37:09 +08:00
3f3ae07312
parser: parse more privilege types like RELOAD,EVENT and so on ( #5013 )
...
RELOAD
CREATE TEMPORARY TABLES
LOCK TABLES
CREATE VIEW
SHOW VIEW
CREATE ROUTINE
ALTER ROUTINE
EVENT
2017-11-07 11:42:21 +08:00
ad1c532ea5
*: remove unused package and functions ( #5003 )
...
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
b0d20c9d6b
*: parse and ignore REPLICATION CLIENT/SLAVE, USAGE privileges in grant statement ( #4870 )
2017-10-25 00:26:53 -05:00
2f3d5e8220
parser: add straight_join_syntax support, just treat it as JOIN. ( #4872 )
2017-10-23 21:07:48 -05:00
1a987dd825
*: Support the operation of cancel DDL jobs ( #4753 )
...
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
b9bf914312
*: dummy implementation for show profiles statement ( #4795 )
...
* *: dummy implementation for show profiles statement
* address comment
2017-10-17 03:27:12 -05:00
d5a26905ef
parser: add int1, int2, int3, int4, int8 type support ( #4803 )
2017-10-17 03:15:33 -05:00
ca7403a814
parser: refactor parser step2 ( #4652 )
...
Refactor expression syntax to use MySQL naming and structure.
Partially fix issue #4026
2017-09-29 15:34:03 +08:00
dd06221d71
parser: refactor parser first step ( #4545 )
...
* parser: refactor parser first step
This is the first step to refactor parser. it solve several problems.
1. function name can be general identifier, we don't need to define a keyword for a builtin function.
2. write test to make sure keyword is consistent with lever token. this fixes #4538 .
3. Removed ReservedKeyword, solve the identifier in scanner.
4. Simplified precedence definition.
* *: address comment
2017-09-18 21:04:00 +08:00
e61efe6ee5
parser: support nvarchar syntax ( #4500 )
2017-09-12 14:30:04 +08:00
952aafd403
*: Add operation of admin show ddl jobs ( #4316 )
...
* *: implement "admin show ddl jobs"
2017-09-05 13:07:51 +08:00
31819a8dcb
parser, expression: implement builtin function: LAST_DAY ( #4290 )
2017-08-23 16:34:35 +08:00
3f8334e188
*: provide SHOW PLUGINS statement with a dummy implementation ( #4278 )
2017-08-22 10:58:47 +08:00
6e0ff81269
parser: support DISTINCTROW( #4007 )
2017-08-04 19:37:53 +08:00
2745333435
parser,plan: support \N shortcut for null ( #3943 )
2017-08-01 14:16:43 +08:00
7874e989eb
*: support natural join. ( #3861 )
2017-08-01 13:56:29 +08:00
bde940f399
Add a tidb_version() function to show tidb-server info ( #3592 )
2017-07-17 17:07:54 +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
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
ddc2ffcfa5
parser: add generated column grammar. ( #3428 )
2017-06-09 14:31:35 +08:00
791b4c273c
expression: add buildin functions json_{set,insert,replace} and json_merge. ( #3388 )
2017-06-06 15:50:32 +08:00