Commit Graph

4485 Commits

Author SHA1 Message Date
ceed5488cf executor: fix data race in IndexMergeReaderExec (#31230)
close pingcap/tidb#31229
2021-12-31 17:41:50 +08:00
xhe
4f30a14256 ddl: support batch create table (#28763) 2021-12-31 17:13:50 +08:00
974b5784ad topsql: make topsql enable only be controlled by pub/sub sink (#31209) 2021-12-31 16:49:20 +08:00
072561c85b sessionctx: make tidb_enable_column_tracking off by default (#31204)
close pingcap/tidb#31205
2021-12-31 13:45:51 +08:00
xhe
de885477b5 ddl: refactor schema builder (#31172)
ref pingcap/tidb#30272
2021-12-31 12:41:51 +08:00
#7
d2c352980a ddl: fix the error message when drop the index column (#29526)
close pingcap/tidb#29344
2021-12-31 00:27: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
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57:50 +08:00
24e7e5d755 planner: cut prefix index according the character set (#30694)
close pingcap/tidb#30564
2021-12-30 16:07:50 +08:00
8085c99ddf *: implement analyze predicate columns (#30816)
close pingcap/tidb#31102
2021-12-30 15:45:50 +08:00
3688609096 executor: fix prepare 'do 1' statement panic (#31142)
close pingcap/tidb#31141
2021-12-30 15:09:50 +08:00
6c0c442a32 parser: add custom_gbk encoding to deal with 0x80 (#31123)
close pingcap/tidb#30581
2021-12-30 13:39:50 +08:00
8a83d01ac6 topsql: add sql sum execution duration information (#31143) 2021-12-30 10:53:50 +08:00
e1ecb4d0b2 executor: fix split table error message reversed step and minRegionStep (#31138)
close pingcap/tidb#31137
2021-12-30 10:17:51 +08:00
97c52d0941 executor: let select into outfile has affected rows return (#31132)
close pingcap/tidb#31131
2021-12-30 01:13:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
db
c06ecb4de7 executor: use helper.GetRegionsTableInfo to get region schema for tidb_hot_regions_history (#30500) 2021-12-29 17:01:50 +08:00
88232307df executor: fix stmt summary nil pointer panic on the cached table (#31079)
close pingcap/tidb#31077
2021-12-29 15:31:50 +08:00
8193c465c8 executor/split_test.go: migrate test-infra to testify (#30485)
close pingcap/tidb#28617
2021-12-29 12:13:49 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
f35e84c2e1 *: get tiflash http(s) port from tiflash status port instead of etcd (#30901) 2021-12-28 16:47:49 +08:00
3ea7a1d789 planner: throw error when insert values is correlated subquery (#31049)
ref pingcap/tidb#30626
2021-12-28 15:43:49 +08:00
57b2908957 planner: improve the bindSQL check for plan cache (#31054) 2021-12-28 15:28:20 +08:00
dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982)
close pingcap/tidb#30913
2021-12-28 14:45:49 +08:00
0af4b77b6b schema: sequence should always be the one row (#30784)
close pingcap/tidb#30786
2021-12-28 13:19: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
abb6582910 planner: support 'admin flush plan cache' (#30370) 2021-12-27 14:57:49 +08:00
5ea46eaf22 executor: migrate test-infra to testify for distsql_test.go (#31023)
close pingcap/tidb#28574
2021-12-26 18:17:49 +08:00
ab821eb315 planner: add usage of paging copr in optimizer (#30536)
close pingcap/tidb#30578
2021-12-24 18:23:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
404895c04a executor: fix the returned field count of the prepare statement (#30981)
close pingcap/tidb#30971
2021-12-23 21:57:47 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) 2021-12-23 16:37:47 +08:00
d2ed2ae2b2 executor: display 'show create table' and INFOSCHEMA for cached table correctly (#30951)
close pingcap/tidb#30950
2021-12-23 14:45:47 +08:00
713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) 2021-12-22 18:59:48 +08:00
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +08:00
9063d3b837 table: set the datum collation correctly in CastValue() (#30931)
close pingcap/tidb#30930
2021-12-22 16:05:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
66d767374d executor: fix bug when using IndexMerge in transaction (#30719)
close pingcap/tidb#30685
2021-12-21 10:57:46 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
e3c56b75ea executor: buildWindow cannot call typeInfer twice (#30773)
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
24d970fc46 executor: improve SET sysvar=DEFAULT handling (#29680)
close pingcap/tidb#29670
2021-12-20 07:57:45 +08:00
1cf2a6da7e ddl: add helper function to set and query TiFlash's sync status (#30473) 2021-12-17 15:06:35 +08:00
8e11e0367f *: fix the flen type datetime for union/case-when/control-funcs (#30588) 2021-12-17 13:14:35 +08:00
ad740a694a *: placement policy ref will be converted to direct options when recover or flashback table (#30705) 2021-12-16 20:38:36 +08:00
daf525a17e *: replace compareDatum by compare, range part (#30710) 2021-12-16 19:48:36 +08:00