|
| 1 | +--- |
| 2 | +title: TiDB 2.1.12 Release Notes |
| 3 | +category: Releases |
| 4 | +--- |
| 5 | + |
| 6 | +# TiDB 2.1.12 Release Notes |
| 7 | + |
| 8 | +发版日期:2019 年 6 月 13 日 |
| 9 | + |
| 10 | +TiDB 版本:2.1.12 |
| 11 | + |
| 12 | +TiDB Ansible 版本:2.1.12 |
| 13 | + |
| 14 | +## TiDB |
| 15 | + |
| 16 | +- 修复在使用 feedback 时由于类型不匹配导致进程 panic 的问题 [#10755](https://github.com/pingcap/tidb/pull/10755) |
| 17 | +- 修复某些情况下改变字符集导致 BLOB 类型变成 TEXT 类型的问题 [#10745](https://github.com/pingcap/tidb/pull/10745) |
| 18 | +- 修复某些情况下在事务中的 `GRANT` 操作误报 "Duplicate Entry" 错误的问题 [#10739](https://github.com/pingcap/tidb/pull/10739) |
| 19 | +- 提升以下功能跟 MySQL 的兼容性 |
| 20 | + - `DAYNAME` 函数 [#10732](https://github.com/pingcap/tidb/pull/10732) |
| 21 | + - `MONTHNAME` 函数 [#10733](https://github.com/pingcap/tidb/pull/10733) |
| 22 | + - `EXTRACT` 函数在处理 `MONTH` 的时候支持零值 [#10702](https://github.com/pingcap/tidb/pull/10702) |
| 23 | + - `DECIMAL` 类型转换成 `TIMESTAMP` 或者 `DATETIME` 类型 [#10734](https://github.com/pingcap/tidb/pull/10734) |
| 24 | +- 修改表的字符集时,同步修改列的字符集 [#10714](https://github.com/pingcap/tidb/pull/10714) |
| 25 | +- 修复某些情况下 `DECIMAL` 转换成浮点数的溢出问题 [#10730](https://github.com/pingcap/tidb/pull/10730) |
| 26 | +- 修复 TiDB 跟 TiKV 在 gRPC 最大封包设置不一致导致的某些超大封包报 "grpc: received message larger than max" 错误的问题 [#10710](https://github.com/pingcap/tidb/pull/10710) |
| 27 | +- 修复某些情况下 `ORDER BY` 没有过滤 NULL 值导致的 panic 问题 [#10488](https://github.com/pingcap/tidb/pull/10488) |
| 28 | +- 修复 `UUID` 函数的返回值,在多机器情况可能出现重复的问题 [#10711](https://github.com/pingcap/tidb/pull/10711) |
| 29 | +- `CAST(-num as datetime)` 的返回值由错误变更为 NULL 值 [#10703](https://github.com/pingcap/tidb/pull/10703) |
| 30 | +- 修复某些情况下 unsigned 列直方图遇到 signed 越界的问题 [#10695](https://github.com/pingcap/tidb/pull/10695) |
| 31 | +- 修复统计信息的 feedback 遇到 bigint unsigned 主键时处理不正确导致读数据时报错的问题 [#10307](https://github.com/pingcap/tidb/pull/10307) |
| 32 | +- 修复分区表某些情况下 `Show Create Table` 结果显示不正确的问题 [#10690](https://github.com/pingcap/tidb/pull/10690) |
| 33 | +- 修复在某些关联子查询上聚合函数 `GROUP_CONCAT` 计算不正确的问题 [#10670](https://github.com/pingcap/tidb/pull/10670) |
| 34 | +- 修复某些情况下 slow query 内存表在解析慢日志的时候导致的显示结果错乱的问题 [#10776](https://github.com/pingcap/tidb/pull/10776) |
| 35 | + |
| 36 | +## PD |
| 37 | + |
| 38 | +- 修复极端情况下 etcd Leader 选举阻塞的问题 [#1576](https://github.com/pingcap/pd/pull/1576) |
| 39 | + |
| 40 | +## TiKV |
| 41 | + |
| 42 | +- 修复极端条件下 Leader 迁移过程中 Region 不可用的问题 [#4799](https://github.com/tikv/tikv/pull/4734) |
| 43 | +- 修复在机器异常掉电时由于接收 snapshot 未及时将数据刷新到磁盘导致丢数据的问题 [#4850](https://github.com/tikv/tikv/pull/4850) |
0 commit comments