Commit Graph

1693 Commits

Author SHA1 Message Date
1a9a7a614c statistics,planner: let index support sync stats (#35879)
ref pingcap/tidb#35764
2022-07-11 17:23:05 +08:00
6eeabd4f54 parser/auth: Optimize caching sha2 speed (#35999)
close pingcap/tidb#35998
2022-07-08 11:35:03 +08:00
180fc97dad error code: check the value when doing type convert (#36014)
close pingcap/tidb#35963
2022-07-08 00:19:02 +08:00
6e22e47f06 parser,ddl: support 'set tiflash mode' ddl and support check tiflash mode in tiflash_replica table (#35851)
ref pingcap/tidb#35850
2022-07-07 15:15:03 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
d5898d03a9 ddl: remove onDropIndexes (#35960)
ref pingcap/tidb#14766
2022-07-06 12:17:02 +08:00
114c922bc8 *: enable gosec (#35873)
ref pingcap/tidb#35345
2022-07-05 19:39:01 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
aec4349cac statistics: let index support LoadNeededHistograms (#35775)
ref pingcap/tidb#35764
2022-07-04 14:03:00 +08:00
aa7a0fbdc3 *: enable misspell (#35719)
ref pingcap/tidb#35345
2022-07-04 10:35:00 +08:00
d1c8af6284 ddl: make ToProxyJob return value to avoid heap allocation (#35882)
ref pingcap/tidb#14766
2022-07-01 16:06:39 +08:00
bc00ddb3ca ddl: remove onDropColumns and onAddColumns (#35862)
ref pingcap/tidb#14766
2022-06-30 22:58:39 +08:00
c578d19c9f parser, ddl: support decoding binary literal in set/enum (#35822)
close pingcap/tidb#31338
2022-06-30 15:36:39 +08:00
c6103886b1 *: enable all gosimples (#35762)
ref pingcap/tidb#35345
2022-06-29 11:54:39 +08:00
2c4d1dfd36 ddl: implement the core for multi-schema change (#35429)
ref pingcap/tidb#14766
2022-06-24 19:34:38 +08:00
e752e1c020 parser: XXXDatabaseStmt now use CIStr for DB name (#35668)
close pingcap/tidb#35622
2022-06-24 19:04:37 +08:00
2bd4c4a3a0 *: enable ineffassign (#35670)
close pingcap/tidb#35345
2022-06-23 16:08:37 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
ff1b6ff5b8 planner: make some show stmt more fine-grained privilege check (#35493)
close pingcap/tidb#35393
2022-06-22 01:18:36 +08:00
1c02b4e90b parser: Add support for INTERVAL expr unit + expr (#30253) (#35390)
close pingcap/tidb#30253
2022-06-21 01:00:36 +08:00
44623f03f4 *: enable more flaky and update bazel config (#35500)
ref pingcap/tidb#35247
2022-06-20 21:46:37 +08:00
cd690e3d54 ddl: expose getPrimaryKey() as a public method of model.TableInfo (#35512)
close pingcap/tidb#35511
2022-06-20 18:16:36 +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
255dc8cae3 parser: support the ordered_hash_join hint (#35440)
ref pingcap/tidb#35439
2022-06-17 03:32:35 +08:00
b3475f2570 ddl: add front-end checks for multi-schema change (#35358)
ref pingcap/tidb#14766
2022-06-15 11:04:33 +08:00
5d4745e9d4 parser, executor: support show/set session_states (#35263)
close pingcap/tidb#35259
2022-06-10 15:24:31 +08:00
fb67ee4412 ddl: add data structure SubJob for multi-schema change (#35231)
ref pingcap/tidb#14766
2022-06-10 12:36:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
7342460e07 refactor(charset): remove unused charsets map (#35120)
close pingcap/tidb#35118
2022-06-02 14:28:27 +08:00
933d5523cb parser: fix the Incompatible parser behavior for HAVING clause #34642 (#34751)
close pingcap/tidb#34642
2022-05-30 22:52:26 +08:00
b7eeb41c31 parser: revert latin1 as an alias for utf8mb4 (#35025)
ref pingcap/tidb#34008
2022-05-30 22:04:26 +08:00
b598bd2214 *: support savepoint in transaction (#34466)
close pingcap/tidb#6840
2022-05-30 14:38:27 +08:00
7500d79a0a infoschema: add some annotation for columnInfo #34745 (#34872)
close pingcap/tidb#34745
2022-05-26 22:32:47 +08:00
d45a9c8af8 executor, parser, sessionctx: push down InRestrictedSQL flag to proto buffer (#34861)
close pingcap/tidb#34860
2022-05-26 14:06:47 +08:00
dce5064e9e parser, executor: consistently lower identity hostnames (#33172)
close pingcap/tidb#33061
2022-05-25 12:36:46 +08:00
85c595c34b session: fix user info in general log (#34853)
close pingcap/tidb#34852
2022-05-24 11:20:46 +08:00
79938e695c dml: support for show count(*) warnings | errors (#34721)
close pingcap/tidb#25068
2022-05-23 15:50:46 +08:00
81a852077a executor, parser: indicate analyze is auto or not in proto buffer (#34608)
close pingcap/tidb#34607
2022-05-20 17:42:38 +08:00
2cf1354f72 *: global stats consistency for dynamic prune (#34695)
close pingcap/tidb#34730
2022-05-19 11:34:38 +08:00
01fb9355d6 executor: add ALTER TABLE COMPACT support (#34741)
ref pingcap/tidb#34749
2022-05-19 00:44:38 +08:00
0ec79496b6 planner: fix prepared statement with window function will check the args in the preparation. (#34503)
close pingcap/tidb#31471
2022-05-16 15:22:36 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08:35 +08:00
d830900c98 session: use batch as the keyword for non-transactional DML (#34467)
ref pingcap/tidb#33485
2022-05-11 15:04:35 +08:00
ede6f8cf16 *: Support modify table/column charset from latin1 to utf8/utf8mb4 (#34386)
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
49aafa5ed6 parser: support explain analyze format='...' (#34416)
ref pingcap/tidb#33945
2022-05-06 17:20:56 +08:00
fa5e19010b planner: preprocessor add CTE recursive check when handleTableName (#34133)
close pingcap/tidb#34090
2022-05-06 15:24:56 +08:00
3e13ef364b parser: support join order hint (#34337)
ref pingcap/tidb#29932
2022-05-05 19:22:55 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
93859ddff0 ddl: correct the job.SchemaState in DROP cases (#34235)
ref pingcap/tidb#32939
2022-04-28 12:14:51 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00