Commit Graph

36 Commits

Author SHA1 Message Date
932c4a7bfc expression: improve length and decimal size when a base type add/minus/multiply a decimal (#11873) 2019-08-28 13:29:05 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
a737d26e4f *: add tidb_enable_noop_functions to default disable get_lock()/release_lock() (#10987)
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
37c128b64f expression: set correct return field type of builtin CONVERT() (#9305) 2019-03-31 15:11:20 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
93acd10f53 *: add context.Context to NewTxn(), tiny refactor (#8530) 2018-12-06 17:45:16 +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
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
78303cbb4d planner/core: separate aggPrune from aggPushDown (#7676) 2018-10-08 19:51:09 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
1f2841fbd4 ddl: year type should have an unsigned flag (#7542) 2018-08-31 16:45:38 +08:00
d9ea38b2ad expression: fix type infer when wrap cast decimal as string (#7451) 2018-08-21 19:40:26 +08:00
f4f1692fd1 *: remove FromID from expression.Column (#7157) 2018-07-30 11:06:02 +08:00
9cf670a324 *: cut off duration.fsp in chunk (#7043) 2018-07-17 15:36:27 +08:00
5f7fc80389 expression, types: fix decimal minus/round/multiple result (#7001) 2018-07-12 00:02:19 +08:00
390e08bb87 expression: fix the wrong result of builtin function CONCAT_WS (#6762) 2018-06-12 19:54:40 +08:00
66c41128ca expression: improve constant folding of UDF if & ifnull (#6677) 2018-06-07 11:38:57 +08:00
1327ebbf96 ddl: year type should not has unsigned flag (#6745) 2018-06-04 18:38:17 +08:00
46da21b5c1 *: support select tidb_is_ddl_owner, to figure out whether tidb instance is ddl owner (#6682) 2018-06-01 17:56:44 +08:00
c0dea7e936 *: move leak check from each test to suite (#6541) 2018-05-15 20:05:03 +08:00
922ba2464c *: make explicit timestamp on (#6238) 2018-04-11 15:36:26 +08:00
76932395c3 expression: make inferring of decimal for unix_timestamp be more consistent with MySQL (#6233) 2018-04-09 11:40:24 +08:00
313d9d3660 parser: fix the result of cast (0x10 as binary(2)). (#6211) 2018-04-03 21:44:36 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
5445e17fac *: fix in-compatible behavior when modify value from Navicat GUI (#6105) 2018-03-22 15:38:27 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
5692f459af expression: refine the type infer of group_concat (#5573) 2018-01-08 16:21:44 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
fea4b02ff3 expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1 (#5523)
* expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1
2017-12-31 12:23:04 +08:00
95a5c8ce5a expresion, executor: correct the type inference of function "sum" and "avg" (#5495) 2017-12-26 18:16:52 +08:00
04a91532b8 expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum' (#5292)
* expression: fix return type and decimal len for builtin aggregation function 'avg' and 'sum'

* Code format refine

* Code format refine

* Fix frac for avg
2017-12-25 21:15:37 +08:00
ae9d7f5dab *: set session variable MaxChunkSize to 2 for test (#5238) 2017-11-28 13:48:36 +08:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
e1511d03aa plan, expression: move typeinfer_test.go from plan to expression (#5096) 2017-11-14 02:45:40 -06:00