36176be874
*: improve syntax error code & message compatibility ( #9103 )
2019-01-23 10:46:29 +08:00
b339c02831
planner,expression: use constraint propagation in partition pruning ( #8885 )
2019-01-17 11:09:41 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
3835bef7ae
executor: support window func for aggregate without frame clause ( #8899 )
2019-01-15 15:23:17 +08:00
dca815c1c5
expression: return error when doing ResolveIndices ( #8929 )
2019-01-15 14:34:06 +08:00
30e8c8db40
expression:add support for JSON_MERGE_PRESERVE ( #8931 )
2019-01-11 15:03:57 +08:00
786a9d54a3
expression,util/encrypt: add support for AES OFB mode ( #8605 )
2019-01-11 14:22:57 +08:00
68ddb7f0e6
*: fix the lower bound when converting numbers less than 0 to unsigned integers ( #8544 )
2019-01-10 16:04:07 +08:00
0bc0f7d95b
expression: throw "too big precision" error for CAST(AS TIME) ( #8907 )
2019-01-09 19:44:35 +08:00
39e1dfe4c2
parser: better error message #133 ( #8950 )
2019-01-07 12:14:46 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
0c75c43010
fix typo ( #8943 )
2019-01-05 09:05:52 +08:00
3708a8306c
expression: constraint propagate for '>' and monotonous function ( #8640 )
2019-01-04 14:06:51 +08:00
91cdbf2f54
planner: support window function ( #8630 )
2019-01-03 16:56:06 +08:00
477e252b35
expression: handle empty input and improve compatibility for format ( #8797 )
2019-01-02 14:13:08 +08:00
5e0a4f1db3
expression: return null when cast to huge binary type ( #8768 )
2018-12-29 17:16:46 +08:00
b818fb2f01
expression,util/encrypt:add support for AES CFB mode ( #8760 )
2018-12-21 17:10:58 +08:00
94df8d1e30
*: ignore unknown hint and return warning instead of return a parser error ( #8685 )
2018-12-21 13:44:54 +08:00
1d3ecdf664
*: fix misspelled words ( #8722 )
2018-12-18 11:48:38 +08:00
63e7dacf8d
expression: do not set ParseToJSONFlag to a JSON column ( #8564 )
2018-12-12 13:36:44 +08:00
18b33fb425
expression,planner: fix to preserve the precision information of a timestamp-typed column in the plan cache ( #8619 )
2018-12-10 20:12:24 +08:00
ce622ec6d8
session: move more session vars to stmt context for retrying ( #8034 )
2018-12-10 16:39:43 +08:00
353861fe8f
expression: fix abs push down sign bug ( #8622 )
2018-12-10 10:48:49 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
fde9c72af5
expression, executor: castStringAsTime returns null when sql_mode is not strict ( #8516 )
2018-12-06 23:12:55 +08:00
e61bad0769
expression: handle corrupted length in uncompress builtin function ( #8586 )
2018-12-06 22:36:49 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
1cc9d4d53c
expression: split aggregation descriptor for reuse ( #8559 )
2018-12-04 16:22:15 +08:00
6e27de255b
expression: fix incorrect date arithmitical with negative interval ( #8523 )
2018-12-04 10:34:47 +08:00
c677187728
plan: support ? in Order By / Group By / Limit Offset clauses ( #8206 )
2018-12-03 21:48:54 +08:00
2f6639d12b
expression: add builtin function tidb_parse_tso ( #8385 )
2018-11-28 22:37:44 +08:00
d42a4b34c5
expression: a constraint propagate framework mainly for partition pruning ( #7643 )
2018-11-28 21:44:18 +08:00
cd7e27d6ee
sessionctx: Set foreign_key_checks = OFF ( #8358 )
2018-11-26 21:57:30 +08:00
1f46efe156
expression: add builtin function JSON_DEPTH ( #8347 )
2018-11-26 20:25:59 +08:00
4149000582
planner/core, expression: don't pushdown filters contains set or get var ( #8412 )
2018-11-26 16:31:17 +08:00
87838774e6
types: let round take effect in converting float string to int string. ( #8279 )
2018-11-26 15:55:11 +08:00
6bed56db1f
expression: support JSON return type in case expression ( #8355 )
2018-11-21 14:07:05 +08:00
b4746797fc
*: clone AggDesc before modifying its Mode in AggDesc.Split ( #8328 )
2018-11-16 15:53:22 +08:00
64781daadd
expression: make tests work with mysql sql_mode ( #8278 )
2018-11-13 10:24:03 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
4a3080a1c1
plan: use original field name when Column is extracted from IfNull ( #8225 )
2018-11-08 15:13:45 +08:00
1082d5f1ac
expression: fix wrong compare result of row ( #8222 )
2018-11-08 12:45:03 +08:00
34c3d4ccc6
planner,executor,parser: support the prepared plan cache for insert/delete/update statements ( #8107 )
2018-11-05 14:24:48 +08:00
6efbd17b03
expression: fix "values" function in non-insert statement ( #8019 )
2018-11-05 11:51:11 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
761365b31c
*: avoid using columnEvaluator for the Projectin build by buildProjtion4Union ( #8142 )
2018-11-02 17:28:09 +08:00
31f5abdad8
apply unit:day special logic on unit:hour for INTERVAL segment ( #8146 )
2018-11-02 14:14:57 +08:00
5374ff8935
expression,planner: support non-deterministic functions (e.g., now) in the plan cache ( #8105 )
2018-11-01 23:53:32 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00