Commit Graph

8635 Commits

Author SHA1 Message Date
db45460280 store/tikv: Avoid sending to channel everywhere in runGCJob (#11032)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2019-07-17 17:31:10 +08:00
dd06ebb315 fix microseconds behaviour in DATE_ADD() (#11280) 2019-07-17 14:39:55 +08:00
77b6858bf0 *: refine text protocol multiple query response (#11263) 2019-07-17 13:01:22 +08:00
23d4c97e22 Update README.md (#11267) 2019-07-17 09:28:37 +08:00
fcc15b1256 types: fix delete error when convert string to float or int (#10861) 2019-07-16 19:50:04 +08:00
f772318035 store/tikv: Make GC's tests more strict (#11084)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2019-07-16 17:47:32 +08:00
2640d6d69a config: refine comment (#11272) 2019-07-16 17:03:23 +08:00
3ec46b0286 types: fix overflow check of types/convert.go::floatStrToIntStr (#11114)
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-07-16 16:02:44 +08:00
593fb7def5 expression: add max_allowed_packet check in concat/concat_ws (#11137) 2019-07-16 15:56:51 +08:00
eae30ebbcb *: reduce tikvrpc resp struct size (#11056) 2019-07-16 13:21:00 +08:00
7403ce331e planner: fix NAME_CONST function compatibility (#11241) 2019-07-16 11:15:54 +08:00
368119b8df executor: compute ADMIN CHECKSUM for partitioned tables correc… (#11089) 2019-07-16 07:39:17 +08:00
3f1d234e20 planner: disable projection elimination for select plan of update (#10962) 2019-07-15 16:27:31 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
d381d84d1b executor,sessionctx: refine output format for tidb-specific variables of boolean type (#11239) 2019-07-15 15:47:17 +08:00
9b824457c1 *: improve column size calculation of statistics (#11091) 2019-07-15 13:05:54 +08:00
a090e6be29 Function INSERT should be NULL if any argument is NULL (#11237) 2019-07-15 11:33:06 +08:00
cb984ad326 go.mod: update go.mod to use the latest pd (#11224) 2019-07-15 10:33:04 +08:00
8f61bfaa82 planner: tiny refactor and more go style (#11244) 2019-07-15 10:20:35 +08:00
9c3997720b chunk: use native go style to do initialization (#11242) 2019-07-15 10:16:45 +08:00
c8ed781d51 executor: push-down LoadDataStmt in distsql (#11067)
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`

Co-authored-by: Lonng <heng@lonng.org>
Co-authored-by: Foreyes <foreyes_1002@163.com>
2019-07-14 17:58:49 +08:00
bdec3414e7 executor: fix the behavior when index join meet prefix index (#11081) 2019-07-12 17:48:35 +08:00
8d2c9be461 CONVERT_TZ should return NULL if its arguments are invalid. (#11176) 2019-07-12 16:33:01 +08:00
f496b775fd planner: unsigned pk cannot be pushed as index column (#11094) 2019-07-12 16:25:01 +08:00
tp
ad404bb645 *: avoid tidb-server -h output test flags (#11209) 2019-07-12 15:19:57 +08:00
d98fb747c0 types: fix incorrect weekday for ALLOW_INVALID_DATES mode (#10864) 2019-07-12 15:10:30 +08:00
e0fc847c8b executor: handle missing timestamp value for load data (#11093) 2019-07-12 14:56:55 +08:00
0ba4d0b41b executor: fix bug of point get when meet null values (#11219) 2019-07-12 14:11:14 +08:00
84432823b3 refactor the logic of load data batch insert, make batchCheckGet happen once per transaction (#11132) 2019-07-12 13:36:58 +08:00
6cd002761b planner: some cleanup (#11164) 2019-07-12 13:08:43 +08:00
7f3bff8afe session: do not keep history when the transaction retry is disabled (#11192) 2019-07-12 12:42:33 +08:00
d36d663934 ddl: refine error messages in unsupported column options (#11065) 2019-07-12 12:10:53 +08:00
5c436bb1d6 planner: support subquery in SHOW statement (#10942) 2019-07-11 23:56:51 +08:00
4a1374d93a planner: fix bug when pruning columns for TableDual (#11054) 2019-07-11 20:26:03 +08:00
9385c6eca0 executor: fix a bug of 'insert on duplicate update' statement on partitioned table (#11204)
In this statement: insert into t1 set a=1,b=1 on duplicate key update a=1,b=1
Batch checker find a=1,b=1 is duplicated, then in the "on duplicate update" step,
it uses the non-partitioned table to get the old row, which is a bug.
getOldRow returns this error: (1105, u'can not be duplicated row, due to old row not found. handle 1 not found')
2019-07-11 15:24:27 +08:00
53f8a2c366 executor, metrics: add metrics for fast analyze. (#11079) 2019-07-11 14:36:28 +08:00
2ea24e0201 ddl: do not split index when creating table (#11183)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-07-11 13:26:09 +08:00
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
7b859c1907 executor: fix a bug for 'int column <cmp> non-int constant' (#11050) 2019-07-11 11:33:22 +08:00
47f449a07d executor: explain analyze panic when processing explain analyze insert ... select ... (#11162) 2019-07-11 11:18:00 +08:00
b43668da82 planner: fix union scan on partition table bug (#11187) 2019-07-11 11:00:44 +08:00
8c20289c7d server: don't interrupt when nodelay executed (#11135) 2019-07-10 19:28:19 +08:00
f409f0b4cf expressio: fix data race of rand function (#11168) 2019-07-10 17:39:38 +08:00
f267cff60b CHANGELOG: pick changelog from branch release-2.1 and branch r… (#11017) 2019-07-10 17:09:44 +08:00
66f5754c68 *: add trace support for the AllocAutoIncrementValue function (#11158) 2019-07-10 15:07:42 +08:00
c101c80ace store/tikv: move batch client code to file client_batch.go (#11108) 2019-07-10 13:47:38 +08:00
c8794803b5 *: add admin cleanup table lock syntax support (#10423) 2019-07-10 12:54:09 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00
89baed8e17 ddl: scatter the regions of table when creating them (#10980) 2019-07-10 11:09:14 +08:00
ac0b9d3b5a planner/core: tiny cleanup the buildShow function (#11153) 2019-07-09 23:03:34 +08:00