Commit Graph

  • 24e7e5d755 planner: cut prefix index according the character set (#30694) xiongjiwei 2021-12-30 16:07:50 +08:00
  • 8085c99ddf *: implement analyze predicate columns (#30816) Yifan Xu 2021-12-30 15:45:50 +08:00
  • 57ef62b8f9 lightning/backend: use optimistic transaction for tidb backend (#30953) Jack Yu 2021-12-30 15:23:50 +08:00
  • 3688609096 executor: fix prepare 'do 1' statement panic (#31142) tiancaiamao 2021-12-30 15:09:50 +08:00
  • e52f49c4ae planner: support trace decorelate solver (#31007) Song Gao 2021-12-30 14:45:50 +08:00
  • 5609c55569 lightning: return the right error in restore engine (#31059) glorv 2021-12-30 14:29:50 +08:00
  • 1920af6985 lightning: support both gs and gcs in url (#30254) glorv 2021-12-30 13:53:50 +08:00
  • 6c0c442a32 parser: add custom_gbk encoding to deal with 0x80 (#31123) Hangjie Mo 2021-12-30 13:39:50 +08:00
  • a8ce4af9f8 expression: Fix incorrect behavior of greatest/least when mixed temporal type with others (#31037) yibin 2021-12-30 11:33:50 +08:00
  • 8a83d01ac6 topsql: add sql sum execution duration information (#31143) crazycs 2021-12-30 10:53:50 +08:00
  • 9325c91a75 lightning: don't ignore error if check new collation failed (#31089) glorv 2021-12-30 10:35:50 +08:00
  • e1ecb4d0b2 executor: fix split table error message reversed step and minRegionStep (#31138) aytrack 2021-12-30 10:17:51 +08:00
  • 075b199011 ddl: don't write binlog for 'ALTER TABLE t CACHE|NOCACHE' (#31106) tiancaiamao 2021-12-30 09:59:50 +08:00
  • 97c52d0941 executor: let select into outfile has affected rows return (#31132) Andrew 2021-12-30 01:13:50 +08:00
  • 088a2444df *: persist analyze options for manual and auto analyze (#30939) Xiaoju Wu 2021-12-30 00:39:49 +08:00
  • bfd4da29ed types: BIT to CHAR conversion should change to uint first (#31126) tangenta 2021-12-29 21:15:49 +08:00
  • 608bdf39df session: show actual error in TestPessimisticLockNonExistsKey (#31140) zyguan 2021-12-29 20:49:51 +08:00
  • f672f5c8f1 server: improve the memory usage of schemaHandler's ServeHTTP to avoid OOM (#30970) wjHuang 2021-12-29 20:09:50 +08:00
  • e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134) crazycs 2021-12-29 19:51:50 +08:00
  • 1e7f0dcc63 dumpling: add collation_compatible config in dumpling (#31114) WizardXiao 2021-12-29 18:53:50 +08:00
  • fb3a3b3563 unistore: avoid nil region.meta in ut (#31116) zyguan 2021-12-29 18:35:50 +08:00
  • 3d89ddc517 lexer: handle escape under no_backslash_SQL mode (#31111) xiongjiwei 2021-12-29 18:07:50 +08:00
  • e02089d5af server: fix panic when using cursorfetch (#31008) xhe 2021-12-29 17:49:50 +08:00
  • fcfd8387bf expression: enable strcmp for tiflash (#30983) 2021-12-29 17:19:50 +08:00
  • c06ecb4de7 executor: use helper.GetRegionsTableInfo to get region schema for tidb_hot_regions_history (#30500) db 2021-12-29 17:01:50 +08:00
  • 006e3bf385 br/pkg/checksum: migrate test-infra to testify (#31084) tison 2021-12-29 16:27:50 +08:00
  • 4dec85cce3 parser: convert identifier to utf8mb4 charset (#31108) xiongjiwei 2021-12-29 16:07:50 +08:00
  • f39a328152 session: forbid setting both tidb_snapshot and tidb_read_staleness (#31082) Song Gao 2021-12-29 15:47:50 +08:00
  • 88232307df executor: fix stmt summary nil pointer panic on the cached table (#31079) tiancaiamao 2021-12-29 15:31:50 +08:00
  • c205b01d59 ddl: fix some unit test funcion that can't run independently (#31086) tiancaiamao 2021-12-29 15:11:50 +08:00
  • 7e2d12c2fd topsql: refactor reporter and add reporting part of stmtstats (#30954) Yexiang Zhang 2021-12-29 14:53:50 +08:00
  • 842d0b0842 planner: add more test cases for admin flush plan_cache (#31109) Chengpeng Yan 2021-12-29 14:39:49 +08:00
  • 8193c465c8 executor/split_test.go: migrate test-infra to testify (#30485) Zach 2021-12-29 12:13:49 +08:00
  • 7834328959 mockstore: support rc read (#31090) you06 2021-12-29 11:55:49 +08:00
  • 7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039) xiongjiwei 2021-12-28 22:07:49 +08:00
  • fb03dacbca *: periodically dump column stats usage into disk (#31072) Yifan Xu 2021-12-28 21:27:51 +08:00
  • 5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016) Yiding Cui 2021-12-28 20:47:49 +08:00
  • 61d13b561c encoding: skip utf8 charset validation in some cases (#31061) tangenta 2021-12-28 17:51:49 +08:00
  • 6d58e8ef37 br/pkg/storage: migrate test-infra to testify (#31026) tison 2021-12-28 17:25:49 +08:00
  • f35e84c2e1 *: get tiflash http(s) port from tiflash status port instead of etcd (#30901) lidezhu 2021-12-28 16:47:49 +08:00
  • 22cad97eb0 expression: support quarter pushdown to tiflash (#30704) Shenghui Wu 2021-12-28 16:03:49 +08:00
  • 3ea7a1d789 planner: throw error when insert values is correlated subquery (#31049) Shenghui Wu 2021-12-28 15:43:49 +08:00
  • 57b2908957 planner: improve the bindSQL check for plan cache (#31054) Chengpeng Yan 2021-12-28 15:28:20 +08:00
  • dc9e75e009 executor: fix bug when correlated column is used in IndexMergeReader (#30982) guo-shaoge 2021-12-28 14:45:49 +08:00
  • 0af4b77b6b schema: sequence should always be the one row (#30784) Arenatlx 2021-12-28 13:19:49 +08:00
  • e983d320e6 ddl: Allow create timestamp default 0 without sql_mode NO_ZERO_DATE (#30305) (#30507) Mattias Jonsson 2021-12-28 04:57:49 +00:00
  • 4ca3b02c90 ddl: fix concurrent column type changes(with changing data) that cause schema and data inconsistencies (#31051) Lynn 2021-12-28 12:43:49 +08:00
  • 7688d3759e lightning: remove the unnecessary offset field in the key encoding for duplicate detection (#29975) Yujie Xia 2021-12-28 12:17:49 +08:00
  • b813b373b9 server: support com_stmt_sendlongdata with character_set_client (#31055) Hangjie Mo 2021-12-28 10:33:49 +08:00
  • abb6582910 planner: support 'admin flush plan cache' (#30370) Chengpeng Yan 2021-12-27 14:57:49 +08:00
  • 2b0400aa23 br: Enable lint gosec in br (#30895) Zak Zhao 2021-12-27 14:03:49 +08:00
  • 807ca05230 sessionctx: enable IndexMerge by default (#30650) guo-shaoge 2021-12-27 12:19:49 +08:00
  • 5ea46eaf22 executor: migrate test-infra to testify for distsql_test.go (#31023) znhh6018 2021-12-26 18:17:49 +08:00
  • 76aae0d5c5 planner: change predicateColumnCollector to columnStatsUsageCollector and collect histogram-needed columns (#30671) Yifan Xu 2021-12-25 18:21:48 +08:00
  • 9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) tangenta 2021-12-24 20:21:53 +08:00
  • ab821eb315 planner: add usage of paging copr in optimizer (#30536) you06 2021-12-24 18:23:53 +08:00
  • 3de13842b3 test: control log level with environment variables (#30871) tangenta 2021-12-24 17:03:48 +08:00
  • 42cf333da1 flatten the json output (#30905) Song Gao 2021-12-24 16:48:45 +08:00
  • 93d28b9d3f placement: give default 2 followers for non-sugar syntax (#31000) xhe 2021-12-24 14:55:47 +08:00
  • 30c5f5ba59 planner: trace predicate push down (#30902) Song Gao 2021-12-24 13:15:47 +08:00
  • 6e6db1fd35 binlog: allow multiple ddl targets (#30904) qupeng 2021-12-24 12:55:47 +08:00
  • 404895c04a executor: fix the returned field count of the prepare statement (#30981) tiancaiamao 2021-12-23 21:57:47 +08:00
  • 4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) tangenta 2021-12-23 20:01:47 +08:00
  • e24493f411 planner: fix AccessPath.TableFilters got modified unexpectedly (#30966) Zhou Kunqin 2021-12-23 19:13:47 +08:00
  • 586eed998a ddl: migrate test-infra to testify for ddl/db_partition_test.go (#30952) tuuuuuu 2021-12-23 18:39:47 +08:00
  • dfaabf4d31 *: fix data race in the tikv_client (#30964) Weizhen Wang 2021-12-23 17:11:49 +08:00
  • df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) Yilong Li 2021-12-23 16:53:47 +08:00
  • 0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) Chengpeng Yan 2021-12-23 16:37:47 +08:00
  • 693946bb79 br: extend the timeout for scan region since 3 seconds is not enough (#30889) fengou1 2021-12-23 15:05:48 +08:00
  • d2ed2ae2b2 executor: display 'show create table' and INFOSCHEMA for cached table correctly (#30951) tiancaiamao 2021-12-23 14:45:47 +08:00
  • 7121bf0289 planner: fix index merge plan when expr cannot be pushed to tikv (#30341) guo-shaoge 2021-12-23 13:39:47 +08:00
  • b9eb9f6768 ddl: add format error for incorrect dict syntax in the placement rule (#30919) Weizhen Wang 2021-12-23 11:59:48 +08:00
  • dfc25ff06b br/pkg/membuf: remove global buffer pool (#29934) Yujie Xia 2021-12-23 11:13:47 +08:00
  • ec55c38d14 Makefile,tools: make CI great again! (#30828) tiancaiamao 2021-12-23 11:01:47 +08:00
  • b53f3499a6 *: when placement conflicts with tiflash, cancel the job (#30945) 王超 2021-12-23 01:01:48 +08:00
  • efb5330979 restore: use new ScatterRegions API (#30899) 山岚 2021-12-23 00:45:48 +08:00
  • 2fb260f0eb table/tables: make CI TestCacheTableBasicReadAndWrite more stable (#30924) tiancaiamao 2021-12-23 00:31:49 +08:00
  • 713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) Chengpeng Yan 2021-12-22 18:59:48 +08:00
  • d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937) tangenta 2021-12-22 18:19:48 +08:00
  • 1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934) 王超 2021-12-22 17:39:47 +08:00
  • 9063d3b837 table: set the datum collation correctly in CastValue() (#30931) tangenta 2021-12-22 16:05:47 +08:00
  • beb5451ee3 planner: revise the optimize trace output (#30882) Song Gao 2021-12-22 15:47:47 +08:00
  • 9d1e29d7cf placement: remove isolationlevel (#30859) xhe 2021-12-22 15:27:48 +08:00
  • 46e67db084 Makefile: add t.Parallel check to ensure tests are run in serial (#30869) tangenta 2021-12-22 14:35:47 +08:00
  • 529ce88c1c *: add TxnManager to manage txn in session (#30574) 王超 2021-12-22 13:53:43 +08:00
  • 3bd732f9c4 br: improve backoff unit test (#30892) fengou1 2021-12-22 11:19:47 +08:00
  • 3934157824 lightning: add back table empty check and add a switch config (#30887) glorv 2021-12-22 10:17:47 +08:00
  • 63d23f8aaa planner: add extractor for tikv_region_peers (#30656) db 2021-12-21 22:49:46 +08:00
  • 416617eb9c planner: fix wrong collation when rewrite in condition (#30492) wjHuang 2021-12-21 20:47:46 +08:00
  • e12342b494 br: error log optimization (#29640) fengou1 2021-12-21 18:09:46 +08:00
  • feee7c258a server: Add uptime status var and statistics (#29790) Daniël van Eeden 2021-12-21 10:53:48 +01:00
  • 55a38cb162 expression, cmd: let crc32() support gbk (#30900) Hangjie Mo 2021-12-21 17:27:47 +08:00
  • 2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447) cfzjywxk 2021-12-21 16:57:46 +08:00
  • a8a858bac2 topsql: add pubsub datasink (#30860) Zhenchi 2021-12-21 16:17:47 +08:00
  • fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) Yexiang Zhang 2021-12-21 15:43:47 +08:00
  • 77b4e4028c github: add issue requirement to pull request template (#30817) Xiang Zhang 2021-12-21 15:23:47 +08:00
  • 06c1e8c934 planner: support trace topn push down (#30800) Song Gao 2021-12-21 13:21:46 +08:00
  • f1e587704c expression: fix wrong retType for reverse function (#30829) wjHuang 2021-12-21 12:19:46 +08:00
  • cbe7492876 ddl: migrate test-infra to testify for ddl/foreign_key_test.go (#30853) Mini256 2021-12-21 11:47:46 +08:00
  • 66d767374d executor: fix bug when using IndexMerge in transaction (#30719) guo-shaoge 2021-12-21 10:57:46 +08:00