Commit Graph

4343 Commits

Author SHA1 Message Date
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
fb01f00d44 executor/aggfuncs: migrate test-infra to testify (#29764) 2021-11-15 20:01:08 +08:00
9c683d3f67 dml : Support point get / batch point get for cache table (#29703) 2021-11-15 15:49:07 +08:00
64681ddaed executor/aggfuncs: migrate test-infra to testify for func_count_test.go, func_group_concat_test.go, func_stddevpop_test.go, func_stddevsamp_test.go, and func_varsamp_test.go (#29529) 2021-11-15 12:29:06 +08:00
#7
8f7ed14050 executor: fix drop role not work as expected in the show result. (#29667) 2021-11-15 09:41:06 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
9b71e469e3 executor: migrate test-infra to testify for admin_test.go (#29352) 2021-11-12 23:07:07 +08:00
bdfd3f6974 *: refine CharsetAndCollation (#29561) 2021-11-12 17:41:05 +08:00
e27af5e04f *: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. (#29593) 2021-11-12 13:19:06 +08:00
a4bd02e35c planner: add optimizer trace framework for logicalOptimize (#29559) 2021-11-12 12:35:06 +08:00
1eec13120d planner: lazy the subquery-more-than-1-row error after the insert duplicate is actually triggered (#29270) 2021-11-12 01:43:05 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
c809c48a43 executor: migrate test infra to testify for concurrent_map_test.go and collation_test.go (#29553) 2021-11-11 16:21:05 +08:00
2bdebedfc0 executor: migrate utils_test.go to testify (#28941) 2021-11-11 13:31:05 +08:00
37bfd57dac *: support makezero via golangci-lint (#29267) 2021-11-10 17:05:06 +08:00
898ef6e6ed executor: fix show grants failed after drop granted role (#29494) 2021-11-10 11:17:05 +08:00
62e96720b6 variable: add support for timestamp (#29447) 2021-11-10 00:49:05 +08:00
7feb0e667b planner: fix create binding panic when status.record-db-qp enable (#29519) 2021-11-08 21:11:04 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
fa8cbd5888 executor: fix wrong result for join with enum type (#29375) 2021-11-05 16:29:03 +08:00
1b5b44047c expression, executor: fix unexpectedly modifying Flen and Decimal of CorrelatedColumn (#29457) 2021-11-05 07:49:02 +08:00
b64537d090 br: Update mysql.stats_meta after checksum in restore (#29429) 2021-11-04 19:55:02 +08:00
dcbfda914a ddl, executor: add warning log for lock/unlock tables (#29301) 2021-11-04 14:23:01 +08:00
4aec743624 *: add IsExplicitTxn in slow log (#29413) 2021-11-04 14:09:02 +08:00
9bbc7ad74a dml : dml read operation for cache table (#29184) 2021-11-04 12:07:01 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
b561dface8 planner: fix wrong results using the unique index column with cached plans (#29312) 2021-11-03 11:23:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
ec7a638e33 executor: Fix authplugin handling with alter/create (#28468) 2021-11-02 01:10:51 +08:00
3032d87e4e *: enable golangci-lint exportloopref (#28991) 2021-11-01 18:36:51 +08:00
8625143cfc infoschema: get PD version from status (#29265) 2021-11-01 15:02:50 +08:00
4879be763b infoschema: fix inserting into a temporary table panics after the database is dropped (#29263) 2021-11-01 14:40:51 +08:00
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +08:00
33378f926c planner: fix some index merge plans can not be cached when plan cache enable (#29241) 2021-11-01 11:36:16 +08:00
2c69740fde *: support plan replayer load (#29247) 2021-11-01 11:22:51 +08:00
afa7dfb10f executor: also use approximate count from pd to decide the sample rate (#29230) 2021-11-01 11:08:51 +08:00
42067720e9 ddl: Ensure feature flag support for placement rules [2] (#29258) 2021-11-01 10:34:51 +08:00
a9c249feb1 executor: grant to non-existent table with at least create privilege (#29273) 2021-11-01 09:22:50 +08:00
5e7a871c3d planner: refine warnings about can't push down to TiFlash. (#29285) 2021-11-01 00:02:50 +08:00
267c960633 executor: migrate test-infra to testify for executor_pkg_test.go (#29045) 2021-10-31 12:50:50 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
ac2c6f8d87 ddl : ddl forbid stale read for cache table and support history read (#29173) 2021-10-29 17:08:49 +08:00
0e16830288 server: add plan replayer dump http api (#29214) 2021-10-29 16:40:51 +08:00