83aeca4e36
*: fix length of all show stmt ( #4589 )
2017-09-22 14:29:32 +08:00
bd01434de0
expression: remove the usage of "TypeClass" in "builtin_arithmetic.go" ( #4575 )
2017-09-22 13:52:10 +08:00
3c02f6bcdb
expression, plan: remove typeinfer.go since we infer all types in expression rewrite phrase ( #4536 )
2017-09-22 13:22:46 +08:00
040ad180aa
*: use goroutine pool to avoid runtime.morestack ( #3753 )
2017-09-22 11:43:39 +08:00
74ab097d59
expression: fix a panic in buildSubquery. ( #4596 )
2017-09-21 05:57:05 -05:00
376a7ddbdd
util/types,expression: fix parseDatetime for 11111111111 and 20170118.999 ( #4273 )
2017-09-21 14:55:05 +08:00
f9e48cba46
store/tikv: abort an unsafe transaction subject to gc command ( #4469 )
2017-09-21 14:03:09 +08:00
a12306c45e
expression: remove the usage of "TypeClass" in "expression.go" ( #4571 )
2017-09-21 12:43:37 +08:00
a8b09d2761
expression: reorganize error messages for non-existent functions ( #4582 )
2017-09-21 12:14:50 +08:00
67fa005048
executor, plan: abandon the selection controller ( #4528 )
2017-09-21 11:40:04 +08:00
7c3cc87042
session_test: move index-prefix test ( #4587 )
2017-09-21 10:58:32 +08:00
d089deb1b0
expression: remove the usage of "TypeClass" in "builtin_string.go" ( #4573 )
2017-09-21 10:30:11 +08:00
c899e5bb16
expression: rewrite builtin function: MOD ( #4407 )
2017-09-21 09:48:51 +08:00
dba31ef24a
expression: remove the usage of "TypeClass" in "builtin_math.go" ( #4568 )
2017-09-21 09:33:16 +08:00
fe31f4b597
plan,statistics: don't forget to close domain in testing ( #4591 )
2017-09-20 21:42:25 +08:00
346b7c754f
config: Remove skip-grant-table from config.toml ( #4588 )
...
This option is dangerous.
2017-09-20 21:16:19 +08:00
eabb62968f
meta/autoid: fix ID allocator when transaction failed to commit. ( #4585 )
...
* meta/autoid: fix ID allocator when transaction failed to commit.
2017-09-20 20:03:50 +08:00
c9e17e8317
plan: wrap CAST on generation expressions. ( #4501 )
...
* plan: wrap CAST on generation expressions.
2017-09-20 19:49:34 +08:00
71c7470911
expression: remove the usage of "TypeClass" in "builtin_cast.go" ( #4570 )
...
* expression: remove the usage of "TypeClass" in "builtin_cast.go"
2017-09-20 19:43:38 +08:00
c92b124aa9
*: make test leak great again ( #4543 )
2017-09-20 17:07:32 +08:00
2439f173dc
expression: move "Constant" to a standalone source file ( #4583 )
2017-09-20 15:02:30 +08:00
a1654d9bf8
Bumping golang version to 1.9 ( #4527 )
...
* Bumping golang version to 1.9
2017-09-20 10:38:49 +08:00
b22e639c4a
session_test: move some tests. ( #4574 )
2017-09-19 20:33:51 +08:00
214558629e
table: fix first key ( #4572 )
2017-09-19 18:31:54 +08:00
a2393245dd
parser, ast, expression: support TIME/TIMESTAMP literal ( #4368 )
2017-09-19 16:37:29 +08:00
1ae31c9fad
Support delete ignore with strict sql mode produces warnings in truncate error ( #4564 )
2017-09-19 16:20:13 +08:00
233bd78d6e
session_test: move tests. ( #4566 )
2017-09-19 16:06:15 +08:00
f1022c8874
store/tikv: tiny update mocktikv ( #4555 )
...
* store/tikv: tiny update mocktikv
1. for mocktikv, close storage should close the leveldb engine
2. set tikvStore's mock flag in NewMockTikvStore function
2017-09-19 15:46:53 +08:00
879437475f
plan: refine return type, charset and collation for 'get variable' expression ( #4550 )
2017-09-19 14:52:19 +08:00
9e6accb800
plan: support DOT explain format ( #4562 )
2017-09-19 14:42:41 +08:00
a949c42662
store/tikv: fix gc worker. ( #4561 )
2017-09-19 14:21:53 +08:00
dee3a5cb8c
Makefile: do not generate ignored error message in parser.go. ( #4560 )
...
* Makefile: do not generate ignored error message in parser.go.
We ignore the generate error message in code, so there is no need to generate them.
Shrink the size of `parser.go` to 1/3.
2017-09-19 14:11:20 +08:00
2adc20c1f6
session_test: move some tests. ( #4558 )
2017-09-19 13:49:16 +08:00
a303748e4c
ast, parser: support syntax for "EXPLAIN FORMAT = stringlit" ( #4554 )
2017-09-19 12:50:06 +08:00
ef438a9ffe
plan: fix bug of merge join/ stream agg + order by. ( #4552 )
2017-09-19 11:19:12 +08:00
c4a2824ca9
Support update ignore for truncate as warning ( #4431 )
2017-09-19 11:02:17 +08:00
339880caad
mock-tikv: fix golint ( #4557 )
...
golint has updated to check redundant `if`.
2017-09-19 10:40:49 +08:00
aacfbf6fd3
*: move show tests. ( #4542 )
2017-09-18 23:56:54 +08:00
1043b0f794
domain: refactor schema validator interface ( #4220 )
2017-09-18 08:59:43 -05: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
7adcc568e1
executor,mysql: fix #4540 , Navicat for MySQL compability of show create table ( #4544 )
2017-09-18 20:26:57 +08:00
d38135d433
plan: support aggregation function contains aggregation function ( #4511 )
2017-09-18 17:16:16 +08:00
339c93e5f9
add real tables for global/session status in performance schema ( #4523 )
2017-09-18 17:10:34 +08:00
2762c44161
*: move aggregate functions to an individual package "aggregation" ( #4549 )
2017-09-18 15:07:35 +08:00
31f7b9c3b6
*: implement analyze columns push down ( #4522 )
2017-09-18 14:21:10 +08:00
ae00bc2c04
expression: remove the usage of "TypeClass" in "builtin_op.go" ( #4547 )
2017-09-18 14:14:53 +08:00
f00206ff9b
expression: correct error message for some builtin time functions ( #4531 )
2017-09-18 11:37:47 +08:00
74d5ce4bf1
mysql, sessionctx: refine set/get variable 'SQL_MODE' ( #4530 )
2017-09-15 23:56:38 +08:00
a7bcc2b335
stats: change FMSketch hash function from fnv to murmur ( #4541 )
2017-09-15 20:02:39 +08:00
e79e09143d
executor: fix show create table with fk ( #4537 )
2017-09-15 17:42:04 +08:00