Commit Graph

18302 Commits

Author SHA1 Message Date
25d698c797 test: improve test by checking gc_delete_range instead of scanning keys (#29651) 2021-11-11 11:59:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
17edc5758f parser: add ANALYZE TABLE t ALL COLUMNS syntax (#29361) 2021-11-10 18:17:05 +08:00
4cee7a358b statistics: remove redundant assignment for statistics.Column.Count (#27773) 2021-11-10 17:25:06 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
92de9c0466 *: remove old placement code for truncate partition (#29619) 2021-11-10 16:51:05 +08:00
99ab8bf16f br: Create grpc.connection with block mode (#29601) 2021-11-10 12:17:05 +08:00
82f2bccf03 planner: eliminate empty projection below aggregation (#29606) 2021-11-10 11:55:05 +08:00
898ef6e6ed executor: fix show grants failed after drop granted role (#29494) 2021-11-10 11:17:05 +08:00
96a9ce1b14 lightning: do not shadow checksum error (#29626) 2021-11-10 11:07:05 +08:00
dbea9892c4 *: Remove old syntax ALTER TABLE ... ADD/REMOVE/ALTER PLACEMENT POLICY ... (#29603) 2021-11-10 01:19:06 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
4c929c5b04 *: remove old placement code for truncate table (#29596) 2021-11-09 20:03:06 +08:00
bbea5a794e dml : cache table reads data from the original table in a new transaction (#29575) 2021-11-09 16:47:06 +08:00
6ed0134902 statistics: pseudo table should not contain the hidden columns (#29584) 2021-11-09 16:27:05 +08:00
a6c2c4316a br: fix-panic, call close(chan) before waitgroup.done() (#29491) 2021-11-09 14:19:05 +08:00
ffd6ee6583 pkg/lightning: reduce cpu&memory usage when duplicate-resolution is enabled (#29555)
* bug fix

* set default resolution algorithm to 'none'

* remove switchToNormalMode

* Update br/pkg/lightning/restore/table_restore.go

Co-authored-by: glorv <glorvs@163.com>

Co-authored-by: glorv <glorvs@163.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-09 13:58:03 +08:00
c4549eaedc br: Git Action triggered only by merge action (#29533) 2021-11-09 13:01:05 +08:00
7227ef87da planner: fix the issue that set wrong length and width for Decimal and Real when using plan-cache (#29579) 2021-11-09 10:47:04 +08:00
7feb0e667b planner: fix create binding panic when status.record-db-qp enable (#29519) 2021-11-08 21:11:04 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
5d9eb5b123 planner: fix the wrong access conditions for indexScan (#29558) 2021-11-08 17:51:04 +08:00
a14ad60987 expression: support GBK for builtin function SHA1/SHA2 (#29544) 2021-11-08 17:07:05 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
e98d587577 ddl: make CI TestDropSchemaWithPartitionTable stable (#29499) 2021-11-08 14:05:04 +08:00
a78e7fe572 *: insert/update or explain should not trigger table cache condition (#29477) 2021-11-08 12:35:03 +08:00
74eaa060fc docs: add the design of table attributes (#28971) 2021-11-08 12:05:03 +08:00
cbc9b4357f dumpling : add err message for dumpling (#29118) 2021-11-08 11:53:04 +08:00
f3c9d963b8 ddl_test: amend the test name to the distinguished one (#29540) 2021-11-08 11:37:03 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
4df2c21a94 *: TIDB_DECODE_KEY(): Decode keys which only have a TableID (#29522) 2021-11-08 00:19:04 +08:00
883b79c29e statistics: migrate test-infra to testify for statistics/handle/ddl_test.go (#29284) 2021-11-07 18:29:03 +08:00
f9730b698b expression: set maxScale for type Decimal if the scale is NotFixScale (#29521) 2021-11-07 17:15:04 +08:00
3537d7e5af lightning,dumpling: make tidb version check more compitible (#29500) 2021-11-07 16:55:04 +08:00
4b110036e1 expression: fix wrong result type for greatest/least (#29408) 2021-11-07 11:17:03 +08:00
2a6d43a760 expression: cleanup code (#29459) 2021-11-07 10:49:12 +08:00
e897ba12ad .github/: cancel dumpling integration test in progress (#29506) 2021-11-05 23:06:53 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
ae65cae8d0 expression: fix wrong caseWhen function for enum type (#29454) 2021-11-05 15:27:06 +08:00
cdd141dcca planner: fix the issue that IndexJoin with plan-cache return wrong results after changing some parameters unexpectedly (#29496) 2021-11-05 14:57:02 +08:00
c0eda4b22a expression : improve error handle for EncodeString/Encode (#29451) 2021-11-05 14:31:02 +08:00
651e910911 dumpling: fix tidb lock consistency and check tikv problem (#29448) 2021-11-05 13:01:02 +08:00
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
9409d54d81 expression: support builtin func password for GBK (#29202) 2021-11-05 12:17:02 +08:00
1b5b44047c expression, executor: fix unexpectedly modifying Flen and Decimal of CorrelatedColumn (#29457) 2021-11-05 07:49:02 +08:00
e0fd3c3a45 ddl: fix cannot delete attributes when database is dropped (#29467) 2021-11-05 00:37:02 +08:00
0e817e1579 config: set the default value of auto_tls to false (#27486) 2021-11-04 23:13:02 +08:00
d80efa5c1e br: Compatibility problem between br and TiDB for DDLs about attribute in Incremental Backup (#29360) 2021-11-04 21:41:02 +08:00
86caab907c tidb-server: add warning when the failpoint is enabled in tikv/client-go (#29452) 2021-11-04 20:05:02 +08:00
b64537d090 br: Update mysql.stats_meta after checksum in restore (#29429) 2021-11-04 19:55:02 +08:00