3750320899
executor: add close recordSet in executor ( #22714 )
2021-03-07 17:54:55 +08:00
b81e547e66
executor: fix err check ( #22991 )
2021-03-03 19:26:56 +08:00
602bcd2e40
*: fix some structcheck lint warnings ( #22983 )
2021-03-02 23:12:54 +08:00
febac515b1
store/tikv: move coprocessor out ( #22922 )
2021-03-01 11:42:54 +08:00
b74dfaf810
mockstore: move mockstore/cluster to tikv/mockstore/cluster ( #22856 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-22 15:42:16 +08:00
27db39b480
*: use CLUSTERED and NONCLUSTERED to control primary key type ( #22409 )
2021-02-05 20:41:41 +08:00
0370fbf6a3
types: Regard TypeNewDecimal as not a hasVariantFieldLength type. ( #21849 )
2020-12-23 12:59:48 +08:00
ab9cd019be
*: make expression index as an experiment feature ( #21721 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-12-14 20:52:44 +08:00
93c3e6becd
*: fix default decimal precision ( #21162 )
2020-11-21 21:07:54 +08:00
e608e4bca9
ddl: fix the enum's default value where create table ( #20849 )
2020-11-11 20:18:17 +08:00
9007614f95
executor: fix wrong is-null result of ShowExec.fetchShowIndex ( #20287 )
2020-11-10 17:51:12 +08:00
522275783e
executor: fix auto-id allocation during statements retry ( #20659 )
2020-11-09 16:37:12 +08:00
f1c464a86a
collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface ( #20504 )
2020-11-03 11:35:39 +08:00
a55a51a163
executor: fix show create table int default value ( #20462 )
2020-10-28 14:08:37 +08:00
fd84a91895
ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit ( #20550 )
2020-10-28 11:48:34 +08:00
272f964031
executor: support global kill ( #17649 )
2020-10-27 19:39:20 +08:00
91b6d9eedc
executor: fix unexpected 'invalid auto-id' error in pessimistic txn retry ( #20123 )
2020-09-22 10:21:41 +08:00
0e4b809cad
*: remove expression index out of the experiment feature ( #19998 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-18 13:25:37 +08:00
78166329e2
executor: set the correct resultCh for task when indexHashJoin keep order ( #18840 )
...
* executor: set the correct resultCh for task when indexHashJoin keep order (#18757 )
* update test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-05 17:24:57 +08:00
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