21bf3b6202
ddl: add a switch for multi schema change & make it compatible with old test cases ( #21533 )
2020-12-10 16:26:00 +08:00
1a2098216e
session/bootstrap: Do not enable async commit and 1pc by default for new cluster ( #21438 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2020-12-03 13:50:48 +08:00
0e2f18d8f9
store, config, session: Use system variables to enable async commit and 1PC ( #21365 )
...
* add a system variable for enabling async commit
Signed-off-by: ekexium <ekexium@gmail.com >
* remove async commit enable config item
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for enabling 1PC
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* remove 1pc item in config
Signed-off-by: ekexium <ekexium@gmail.com >
* try to fix test
Signed-off-by: ekexium <ekexium@gmail.com >
* correct the condition to enable 1pc
Signed-off-by: ekexium <ekexium@gmail.com >
* do not enable 1pc/async commit on bootstrap if store is not tikv
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor checkAsyncCommit
Signed-off-by: ekexium <ekexium@gmail.com >
* fix test: enable async commit or 1PC by setting txn options
Signed-off-by: ekexium <ekexium@gmail.com >
* add a system variable for external consistency
Signed-off-by: ekexium <ekexium@gmail.com >
* remove external consistency config item
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: checkXXX does not need parameters
Signed-off-by: ekexium <ekexium@gmail.com >
* refactor: add a helper function to pessimistic_test
Signed-off-by: ekexium <ekexium@gmail.com >
* change allowed scope to global or session
Signed-off-by: ekexium <ekexium@gmail.com >
* fix external consistency test
Signed-off-by: ekexium <ekexium@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-12-02 11:49:57 +08:00
59b8e7597b
session: fix the bug that may cause upgrading from v4.0 fail ( #21350 )
2020-11-30 19:08:57 +08:00
c201eb7335
config, session: keep the default value of mem-quota-query when upgrade from 3.0 to 4.0.9+ ( #21305 )
2020-11-26 17:12:51 +08:00
e136429d8d
*: refactor parser initialize method and add tidb_enable_strict_double_type_check variable ( #20967 )
2020-11-16 19:58:27 +08:00
269494e3de
*: Move sysvar validation to struct (3 of 3) ( #20521 )
2020-11-12 13:22:42 +08:00
a53c1d05b1
expression: Support some cast functions push down to TiFlash ( #20787 )
2020-11-04 15:21:01 +08:00
152b60ebe4
session: increase cm_sketch column max length to 6291456(6MB) ( #20152 )
2020-11-02 15:21:25 +08:00
99d1163cbc
*: use ID instead of NAME in mysql.schema_index_usage ( #20589 )
2020-10-23 14:42:29 +08:00
106b04ddab
*: Fix sysvars to native type in @@ context ( #20394 )
2020-10-19 14:13:43 +08:00
bdb6c49600
*: collect index usage information from point get and dump them to KV ( #20126 )
2020-10-16 16:17:34 +08:00
f52956a39f
session: format some sql statements ( #17614 )
2020-10-05 14:42:23 +08:00
fa81ec51b4
*: refactor sysvars to allow component registration ( #20289 )
2020-09-29 14:04:24 +08:00
31bd7d8b3d
planner: rename optimizer hint TOPN_TO_COP() to LIMIT_TO_COP() ( #20022 )
2020-09-17 14:23:23 +08:00
2a3a5ab076
*: disable new partition prune in master distribution ( #19911 )
2020-09-14 16:26:54 +08:00
6f1311f4fc
session: enable clustered index by default for new clusters ( #19688 )
2020-09-02 12:00:58 +08:00
b133ae9d30
session/bootstrap: disable clustered index ( #19623 )
2020-08-31 19:44:54 +08:00
438945d294
*: enable clustered index by default ( #19582 )
2020-08-31 16:54:51 +08:00
55bd479623
session: add mysql.schema_index_usage table ( #19254 )
2020-08-19 15:58:20 +08:00
c5c7bf87bb
*: support CREATE / DROP / ADMIN RELOAD STATISTICS ( #18880 )
2020-08-11 17:27:48 +08:00
2dfae9850a
executor: make hashjoin using executor_concurrency ( #18213 )
2020-07-08 13:41:10 +08:00
c98514e751
executor: unify executor concurrency ( #16999 )
2020-06-22 17:39:32 +08:00
7ca3d9cadc
bindinfo, record how bindings are created in SQL bindings. ( #17254 )
2020-05-27 09:56:40 +08:00
997b986387
session: fix a bug that upgrading from 3.1.1 to 4.0 fails ( #17293 )
2020-05-19 21:18:24 +08:00
468b8c6f7b
executor, privilege: introduce a new privilege for the set config statement ( #16847 )
2020-04-27 14:17:38 +08:00
493b97142a
session: boostrap delete isolation engines from global variables ( #16622 )
2020-04-24 18:07:20 +08:00
9bda71df3b
infoschema, session: forbid statement summary related global v… ( #16652 )
2020-04-23 12:35:25 +08:00
b8494e7a11
expression: support disable expression pushdown based on store… ( #16389 )
2020-04-17 14:53:25 +08:00
1b3b6f0e80
*: make 'password' in mysql.user as a generated column of authentication_string ( #15311 )
2020-03-16 15:26:24 +08:00
e7272e08ed
session: fix mis-spell ( #15070 )
2020-03-02 23:52:39 +08:00
c7cda1a0c9
session: fix unexpect '0' written to new_collation_enabled value. ( #14842 )
2020-02-19 17:03:46 +08:00
344c48d3b4
*: change field name 'password' to 'authentication_string' in mysql.user ( #14598 )
2020-02-19 11:58:42 +08:00
713099c1ad
*: add a configuration entry to control if new collations are enabled ( #14734 )
...
Configuration entry `new_collations_enabled_on_first_bootstrap` is
added, which determines if the new collations can be enabled when a
TiDB cluster is initialized for the first time.
2020-02-17 15:56:24 +08:00
4ed347cff8
planner,session: add Reload and File privilege, check Reload for the flush statement ( #14319 )
2020-01-09 19:59:12 +08:00
0bab73adf5
*: use new row-format in tidb ( #12634 )
2020-01-02 22:34:39 +08:00
f9cdebdd25
privilege: fix privilege problem after upgrade ( #14177 )
2019-12-23 13:36:46 +08:00
cd07c4550d
*: support certificate based authentication ( #13955 )
2019-12-23 11:37:29 +08:00
dc80933185
*:fix typo boostrap ( #14174 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2019-12-23 10:52:18 +08:00
c7c7b730e4
set global variable tidb_txn_mode to pessimistic during bootstrap. ( #14154 )
2019-12-21 00:46:46 +08:00
093b27aea8
session: fix show variable result of tidb_enable_window_function after upgrade ( #13866 )
2019-12-03 15:54:39 +08:00
b7eddbf0f2
session: fix upgrade logic when bootstrap ( #12827 )
2019-11-09 11:08:43 +08:00
5bf03c8df4
executor: add SHUTDOWN command and privilege check ( #12804 )
2019-10-21 21:49:56 +08:00
028f63cb4a
*: rename tidb_back_off_weight ( #11655 )
2019-08-07 15:04:56 +08:00
f8912049f5
*:add opt_rule_blacklist in mysql tables. ( #11096 )
2019-07-24 13:36:29 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
cd8c4e6e37
*: add a blacklist to disallow pushing down specific expressions ( #10688 )
2019-06-12 13:54:33 +08:00
d3a750ca8f
ddl, session: update logs ( #10546 )
2019-05-27 13:42:33 +08:00
52c9d03a5e
support view related privileges in mysql.tables_priv ( #9894 )
2019-05-22 21:10:46 +08:00