Commit Graph

2649 Commits

Author SHA1 Message Date
dc8098bc73 planner: BatchPointGet support partition table (#15327) 2020-03-13 09:10:32 +08:00
de39b8a5c6 executor: do not store rows in UpdateExec (#15325) 2020-03-12 21:23:02 +08:00
ab17254e3b executor: fix error message when inserting an invalid value for type datetime (#15220) 2020-03-12 12:04:03 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
a10a2c317e UCP: Migrate dataForTiDBClusterInfo from package infoschema to executor (#15230) 2020-03-11 20:50:29 +08:00
34ff2b9a1d executor: use deep copy for maxMin4JSON (#15242) 2020-03-11 17:35:32 +08:00
a999ef6981 expression: support different expr push down for TiKV and TiFlash (#15174) 2020-03-11 16:16:03 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
0abbd9865d server: make unique index could be used in fast path for batch point get, and do lock keys (#15266) 2020-03-11 14:32:04 +08:00
3e16e1f9fd executor: Migrate dataForStatistics, dataForTikVRegionPeers, dataForTiDBHotRegions from package infoschema to executor (#15202) 2020-03-11 14:26:32 +08:00
248be5bba5 planner: push down Lock to PointGet and BatchPointGet (#15257) 2020-03-11 13:58:32 +08:00
ac2fa182e3 infoschema: Migrate dataForMetricTables from package infoschema to executor (#15238) 2020-03-11 13:53:03 +08:00
d329fad8c4 store: fix timing of prewrite binlog in slow log (#15273) 2020-03-11 10:32:32 +08:00
8a3bfd8e2a executor,infoschema: move dataForSessionVar into executor (#15267) 2020-03-11 10:21:32 +08:00
31469e057b executor,infoschema: move dataForTableConstraints into executor (#15240) 2020-03-10 21:00:32 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
12fa28f52e executor: fix the data race on TestDataForTableStatsField and TestPartitionsTable (#15260) 2020-03-10 20:28:32 +08:00
9905a26ea0 txn: fix UpdateForUpdateTS for non autocommit pessimistic mode (#15244) 2020-03-10 17:11:39 +08:00
574a014f70 *: deprecate system variables tidb_mem_quota_XXX (#15084) 2020-03-10 15:57:03 +08:00
4adc2582fd show: fix show create table sequence_name (#15241) 2020-03-10 15:51:32 +08:00
353a6e02e9 metrics: add new transaction metrics to grafana script (#15236) 2020-03-10 15:46:03 +08:00
fb7d50a53b config: change default oom action to cancel (#15251) 2020-03-10 15:16:19 +08:00
b504d37924 *: refine the table.Table interface (#15227)
remove unnecessary methods.
"The bigger the interface, the weaker the abstraction -- Rob Pike"
2020-03-10 13:40:56 +08:00
0bd1ae7b24 executor: fix data race on TestPrepareCacheForPartition (#15245) 2020-03-09 22:40:45 +08:00
d8264d47f7 infoschema: change table_type for system tables (#15128) 2020-03-09 19:18:04 +08:00
f51a7fc6e9 infoschema: fix show information_schema.table default value bug and refine metric table comment. (#15210) 2020-03-09 18:12:00 +08:00
55b3e1110c *: reduce the allocation caused by Datum.Copy (#15219) 2020-03-09 17:38:46 +08:00
ace86913da executer: refine diagnose detail information (#15139) 2020-03-09 17:16:40 +08:00
9afaef8bb5 executor: bind the func to memtableRetriever (#15181)
* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind dataForSchemata to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: rename dataForSchemata

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind the func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

* executor: bind func to memtableRetriever

Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>

Co-authored-by: Lonng <heng@lonng.org>
2020-03-09 13:06:25 +08:00
9e98f706ae planner, executor: support point get as a option of DataSource (#14775) 2020-03-09 10:47:16 +08:00
1f5fb46f95 infoschema: migrate dataForTables and dataForPartitions from package infoschema to executor #15034 #15037 (#15208) 2020-03-09 10:30:16 +08:00
5d0a260ce6 executor,infoschema: move dataForUserPrivileges from infoschema to executor (#15155) 2020-03-06 17:57:46 +08:00
a37a0ff461 store: check constraint for "Delete-Your-Writes" records when txn commit (#14968) 2020-03-06 16:45:48 +08:00
13d7322a0f executor: migrate dataForKeyColumnUsage from infoschema to executor (#15166) 2020-03-06 15:37:46 +08:00
fde73403fd expression: Add format_bytes and format_nano_time performance schema functions (#14975) 2020-03-06 11:50:46 +08:00
1d28e7cc1c executor: move testShowStatsSuite into SerialSuites (#15062) 2020-03-06 11:24:16 +08:00
2d5d2fde27 *: fix the same future wait twice in RC transaction (#15117) 2020-03-06 00:05:54 +08:00
0ddfe0716f *: fix datum's collation behavior to build correct logical ranges (#14963) 2020-03-05 22:34:46 +08:00
e9ba1446f6 executor: support SELECT FOR UPDATE for BatchPointGet (#15129) 2020-03-05 19:47:16 +08:00
dcb8b3d5dd executor: fix last_insert_id in auto_random mode (#15145) 2020-03-05 15:59:18 +08:00
6ccdf645dc ddl: add a channel to limit multiple DDL jobs writing at the same time (#14342) 2020-03-05 14:13:38 +08:00
debe5cbcff executor: Migrate dataForIndexes from package infoschema to exector (#15116) 2020-03-05 11:06:46 +08:00
d259e90127 infoschema, planner, executor: add virtual system table `infor… (#15121) 2020-03-04 20:48:52 +08:00
1771fff928 expression: make field and findInSet support collation (#15100) 2020-03-04 18:12:53 +08:00
8e10e90e31 *: add config diagnose and fix warning (#15107) 2020-03-04 16:58:46 +08:00
3b347958c6 infoschema: Migrate the infoschema's retrieving data logic for 'dataForCollationCharacterSetApplicability' to executor (#15115) 2020-03-04 16:29:16 +08:00
d457dd7e31 test: correct TiDB-style executable comment version for auto_random (#14858) 2020-03-04 10:29:09 +08:00
9c970f137d infoschema: Migrate the infoschema's retrieving data logic for 'CharacterSets/Collations' to executor (#15103) 2020-03-03 22:29:12 +08:00
3722500e36 infoschema: Migrate the infoschema's retrieving data logic for 'engine' to executor (#15102) 2020-03-03 21:56:55 +08:00
2c5170875d collation: add some collation tests for HashJoinExec, MergeJoinExec and SelectExec (#15067) 2020-03-03 17:33:18 +08:00