Commit Graph

498 Commits

Author SHA1 Message Date
0e7f8830d0 types: fix creating partition tables fail in ANSI_QUOTES mode (#35379)
ref pingcap/tidb#24980, close pingcap/tidb#35281
2022-06-21 09:30:35 +08:00
9a77892ac8 execution: avoid decimal overflow and check valid (#34399)
close pingcap/tidb#30347, close pingcap/tidb#34388
2022-06-17 21:42:36 +08:00
4ae78cdead expression: refine date_add/sub return type and precision (#35009)
close pingcap/tidb#9813, close pingcap/tidb#31799, ref pingcap/tidb#31867
2022-06-16 16:12:34 +08:00
4fc9551dd1 sessionctx, types, executor: support encoding and decoding user-defined variables (#35343)
close pingcap/tidb#35288
2022-06-15 21:02:34 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
b2b7e311de planner: support 'explain analyze format=true_card_cost' (#34566)
ref pingcap/tidb#33945
2022-06-06 14:20:30 +08:00
8133329043 fix(cast): check cast as datetime with precision of fractional seconds part (#34968)
close pingcap/tidb#34713
2022-06-01 00:14:27 +08:00
6d6684adea fix(expression): check some builtin function for incomplete date (#34873)
close pingcap/tidb#34629
2022-05-26 14:46:47 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
10ad7bbe94 expression: fix precision loss when casting time to string (#34660)
close pingcap/tidb#34659
2022-05-15 17:40:36 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
c917cd3d3d charest: add all mysql character information in parser (#34210)
close pingcap/tidb#31598
2022-04-26 10:54:51 +08:00
0beac1800c expression: fix the wrong rounding behavior of Decimal (#33278)
close pingcap/tidb#32213
2022-04-02 14:32:29 +08:00
f012766b53 executor: raise error when text data is too long (#33345) 2022-03-26 15:04:33 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
d8fbad38a6 expression, types: fix StrToDuration result (#32896)
close pingcap/tidb#31680
2022-03-08 16:53:49 +08:00
5988d0b2f4 *: update client-go and etcd version (#32457)
close pingcap/tidb#32456
2022-02-22 11:11:43 +08:00
2b9093f30d expression: fix date format identifies '\n' as invalid separator (#32358)
close pingcap/tidb#32232
2022-02-15 17:55:38 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
8aaec2d32e types: return maxUint32 - 1 when overflow in convertToUint func (#29351)
close pingcap/tidb#29330
2022-01-26 15:18:45 +08:00
946fa58418 server, types: rule out JSON types from new charset framework (#31388)
close pingcap/tidb#31366
2022-01-10 15:29:41 +08:00
69e179e185 binlog: use node.Restore() to add TiDB-specified feature comments (#31148)
close pingcap/tidb#31147
2022-01-03 14:09:51 +08:00
5ea64e6e23 expression: change date add function return type (#28133)
close pingcap/tidb#27573
2021-12-31 19:01:51 +08:00
676a56df27 ddl, types: convert the binary default value to proper encoding (#31196)
close pingcap/tidb#30798
2021-12-31 15:15:51 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
bfd4da29ed types: BIT to CHAR conversion should change to uint first (#31126)
close pingcap/tidb#31124
2021-12-29 21:15:49 +08:00
e983d320e6 ddl: Allow create timestamp default 0 without sql_mode NO_ZERO_DATE (#30305) (#30507)
close pingcap/tidb#30305
2021-12-28 12:57:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) 2021-12-23 20:01:47 +08:00
321d307f3b types, util: clean up compareDatum (#30815) 2021-12-17 14:22:36 +08:00
8e11e0367f *: fix the flen type datetime for union/case-when/control-funcs (#30588) 2021-12-17 13:14:35 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
a8ad203f9f executor: fix regular expression in json so that it could match identifer start with '$' (#29750) 2021-12-14 18:38:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
8bc22b1aa1 expression,types: Adjusts UNIX_TIMESTAMP() for non-existing DST values (#28739) (#30405) 2021-12-09 16:57:58 +08:00
8e2b96256e types: casting JSON literal null to number types should fail (#30278) 2021-12-02 13:23:54 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
94be83bfa6 *: replace compareDatum by compare and fix wrong optimize order by (#30273) 2021-12-01 19:01:53 +08:00
13b7a2d0ef ddl: disallow change columns from zero int to time (#25728) 2021-11-30 22:09:53 +08:00