e24d1455af
types, executor: refine convertToMysqlEnum when src is of type Enum ( #19640 )
...
* types, executor: refine convertToMysqlEnum when src is of type Enum
* remove useless code
* refine
* add a TODO for collation
* add test for collate
* remove useless code
* address comment
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-01 19:35:12 +08:00
6831e487a8
Issue 19371 - Prepare statement with @Var (uppercase in var name fix) ( #19373 )
2020-08-23 21:34:47 +08:00
f8518988e4
ddl: improve compatibility for ALTER TABLE algorithms ( #19270 )
...
* ddl: always try a better algorithm
* ddl: adapt the test
* ddl: fix TestAlterAlgorithm
* ddl: better test fix
* ddl: typo
* ddl: update comment
Co-authored-by: bb7133 <bb7133@gmail.com >
* executor: typo
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: bb7133 <bb7133@gmail.com >
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-21 16:30:57 +08:00
57e43bdea3
planner: workaround the panic of command EXECUTE when printing an expensive query log ( #19316 )
2020-08-20 17:45:47 +08:00
b642045ff2
charset: add utf8_unicode_ci and utf8mb4_unicode_ci interface ( #18678 )
...
* add unicode_ci interface
* fix build
* fix check
* fix test
* change comments
* add test
* Update util/collate/unicode_ci.go
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: djshow832 <zhangming@pingcap.com >
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
Co-authored-by: djshow832 <873581766@qq.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-07-24 17:16:03 +08:00
8b856cc82d
autoid: only initialize rowid allocator if necessary ( #18326 )
2020-07-13 17:01:56 +08:00
a8da23c254
test: fix data race caused by update global config ( #17964 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-12 13:05:27 +08:00
f139821c82
session,executor: tiny clean up the runStmt function ( #17911 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-06-11 22:11:58 +08:00
f12cdc4201
config: remove allow-auto-random config option ( #16596 )
2020-06-10 14:09:12 +08:00
a3d5082094
sessionctx, executor: add session var to control explicit insertion on auto_random column ( #17102 )
2020-05-26 20:32:10 +08:00
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
0de6925e12
ddl: Add some limit for auto_random ( #17119 )
2020-05-15 21:28:44 +08:00
26e946d25e
plannercore: ignore invisible indexes in optimizer ( #15421 )
2020-05-07 11:00:40 +08:00
30f6f32708
tests: abstract Cluster interface for introducing new mock... ( #16940 )
2020-04-30 10:46:55 +08:00
46e37a1700
executor: generalize SHOW TABLE t NEXT_ROW_ID for auto_random and sequences ( #16821 )
2020-04-29 20:00:26 +08:00
b56733dde1
executor: fix DATA RACE caused by change the global logger whe… ( #16722 )
2020-04-22 21:47:51 +08:00
4e44a74b16
executor: fix show default num and sequence ( #16450 )
2020-04-17 16:43:09 +08:00
32149dcc23
ddl: fix a panic when creating key partition table ( #16260 )
...
mysql> create table t(a char(5), unique key(a(5))) partition by key() partitions 5;
ERROR 2013 (HY000): Lost connection to MySQL server during query
2020-04-13 16:53:03 +08:00
c561d5aa99
*: remove useless conversions and omit some types ( #16262 )
2020-04-10 00:23:06 +08:00
82829e1fa5
*: consolidate some settings related to the collation ( #15553 )
2020-03-23 17:38:31 +08:00
60ba54e040
config: add option 'allow-expression-index' for expression index ( #15259 )
2020-03-20 19:03:22 +08:00
12aabbdc67
ddl: basic support for invisible index ( #15366 )
2020-03-17 15:31:35 +08:00
3d01c646db
planner: add show table $table_name next_row_id syntax ( #14567 ) ( #14697 )
2020-03-14 14:55:23 +08:00
9f0736ee8b
errno: move the error code from the parser/mysql to tidb/errno ( #15277 )
2020-03-11 15:40:21 +08:00
574a014f70
*: deprecate system variables tidb_mem_quota_XXX ( #15084 )
2020-03-10 15:57:03 +08:00
fb7d50a53b
config: change default oom action to cancel ( #15251 )
2020-03-10 15:16:19 +08:00
6ccdf645dc
ddl: add a channel to limit multiple DDL jobs writing at the same time ( #14342 )
2020-03-05 14:13:38 +08:00
9ae471c0ee
*: fix data race for plan cache ( #14756 )
2020-03-03 16:03:09 +08:00
236352e98f
*: show build and probe side for join and index lookup related operators in explain result ( #14838 )
2020-02-26 17:12:09 +08:00
b98c88c948
infoschema/executor: support field expression in show index and related infoschema ( #14400 )
2020-02-20 19:04:48 +08:00
a528e60e3b
*: add auto_random id cache for statement retrying and table recover ( #14711 )
2020-02-19 18:53:03 +08:00
a7d690c32a
executor: start workers in Next instead of Open for IndexMergeReader ( #14815 )
2020-02-18 18:47:18 +08:00
6d50a47a8b
executor: add quote for partition name( close #14477 ) ( #14793 )
2020-02-16 19:53:19 +08:00
c59f339ded
executor: refine the IPC in indexMergeReaderExecutor ( #14381 )
2020-02-14 10:51:14 +08:00
e5bffd9470
planner, executor: let 'show [variables|status]' be sorted by… ( #14727 )
2020-02-14 10:43:11 +08:00
72b1f0e7b8
executor: correctly handle panic for hashjoin build phase ( #14056 )
2020-02-05 12:23:23 +08:00
5a9f2fa5ab
server, tikv: enable unit test run parallel and add parallel f… ( #14296 )
2020-01-09 15:12:45 +08:00
a7ff591368
session, executor: add memTracker for DeleteExec ( #14289 )
2019-12-31 22:06:20 +08:00
e00887e3b9
executor: add memTracker for UpdateExec ( #14299 )
2019-12-31 21:59:31 +08:00
c1bc9ffe5b
*: add memory tracker for InsertExec and ReplaceExec ( #14179 )
2019-12-30 11:43:01 +08:00
b45e8b1f9b
session: move test and make it stable ( #13885 )
2019-12-04 15:50:09 +08:00
17ffc8031b
executor: do not set priority when tidb_force_priority is set ( #13633 )
2019-11-22 10:51:38 +08:00
5bc709f13c
executor: speed up TestEarlyClose ( #13386 )
2019-11-12 15:39:10 +08:00
26174f11b5
*: disable batch DMLs by default ( #13081 )
2019-11-07 19:59:15 +08:00
7ffa4500e6
planner: support a hint to read from tiflash in planner ( #12479 )
2019-10-11 16:36:35 +08:00
ba9d1ca960
*: adjust delta schema count and add metrics ( #11625 )
2019-09-27 20:33:18 +08:00
a582640dc3
executor: make point updates go short path ( #12243 )
2019-09-27 18:36:01 +08:00
20bdf44d12
ddl: fix the set's default value where create table ( #12267 )
2019-09-26 12:18:20 +08:00
df2075d745
*: remove the transaction kv count limit ( #11141 )
2019-08-09 20:35:37 +08:00
8bc63973df
executor: move failpoint test case to seq test suite ( #11525 )
2019-07-30 18:32:05 +08:00