|
|
5c350bef3b
|
meta,executor: fix show create table panic for temporary table with auto_increment columns (#25140)
|
2021-06-04 20:30:28 +08:00 |
|
|
|
8fb29eb17e
|
kv: move TxnScope into kv (#24715)
|
2021-05-19 20:01:42 +08:00 |
|
|
|
d2bdfd51b7
|
store/tikv: move transaction options out to /kv (#24619)
|
2021-05-13 17:49:39 +08:00 |
|
|
|
8ed1d9d4a7
|
meta: add an in-memory autoID allocator (#24438)
|
2021-05-08 16:36:41 +08:00 |
|
|
|
64938b80ee
|
store/tikv: remove use of SyncLog transaction option in store/tikv (#24333)
|
2021-04-29 14:17:57 +08:00 |
|
|
|
0ec8f2d9fb
|
store/tikv: remove use of Priority transaction options in store/tikv (#24360)
|
2021-04-29 13:59:57 +08:00 |
|
|
|
67acdf3e90
|
ddl: support change from auto_inc to auto_random through 'alter table' (#20512)
|
2021-04-09 18:16:33 +08:00 |
|
|
|
efe172b0e0
|
store/tikv:move option from kv to tikv, and make define as a normal int (#23171)
|
2021-03-22 20:13:36 +08:00 |
|
|
|
411dba25b1
|
*: deprecate alter-primary-key configuration (#23270)
|
2021-03-18 15:17:36 +08:00 |
|
|
|
b5582e06ef
|
meta: fix err check (#22995)
|
2021-03-03 20:36:54 +08:00 |
|
|
|
8357f809ff
|
*: remove some useless codes and do tiny update (#22972)
|
2021-02-26 19:14:53 +08:00 |
|
|
|
68aaa2fa7e
|
*: fix auto-id allocate tracing (#22371)
|
2021-01-13 12:19:58 +08:00 |
|
|
|
f55e8f2bf8
|
table: fix insert into _tidb_rowid panic and rebase it if needed (#22062)
|
2021-01-05 18:18:19 +08:00 |
|
|
|
2905b0defb
|
*: modify autoid allocator's Alloc() method, add context and tracing (#21617)
|
2020-12-10 17:24:21 +08:00 |
|
|
|
28c9e9290b
|
*: gocritic fixes for commentFormatting (#21578)
|
2020-12-09 12:03:17 +08:00 |
|
|
|
22e5ebd310
|
*: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
|
2020-12-04 13:41:47 +08:00 |
|
|
|
d184120a99
|
ddl: use kv.Key as reorg progress marker instead of kv.Handle (#20908)
|
2020-11-11 18:47:23 +08:00 |
|
|
|
2f067c0542
|
*: redact arguments for Error (#20436)
|
2020-10-21 14:44:08 +08:00 |
|
|
|
81fa1b37e8
|
*: refactor GetSnapshot (#20475)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
|
2020-10-16 11:30:43 +08:00 |
|
|
|
79711ad6b8
|
ddl: support alter sequence (#20405)
|
2020-10-14 17:06:11 +08:00 |
|
|
|
3d4016fe46
|
*: change file mode to 0644 (#20443)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
|
2020-10-14 16:35:31 +08:00 |
|
|
|
0528a1f12f
|
*: handle the to-do item of rebuilding ReorgInfo key when executing modify/change column (#19866)
|
2020-09-27 08:34:36 +08:00 |
|
|
|
48eb295925
|
*: change some tests using failpoint to serialSuite (#19753)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2020-09-03 21:12:58 +08:00 |
|
|
|
bc63f4660b
|
ddl: reject adding auto_random column (#19618)
|
2020-09-02 10:24:56 +08:00 |
|
|
|
0d7843d781
|
ddl: fix max allocation count when create auto_random tables (#18417)
|
2020-07-13 17:19:07 +08:00 |
|
|
|
8b856cc82d
|
autoid: only initialize rowid allocator if necessary (#18326)
|
2020-07-13 17:01:56 +08:00 |
|
|
|
6e7994a850
|
ddl: limit the range of auto_random_base (#18188)
* ddl: limit the range of auto_random_base
* sort import
* make fmt
* Apply suggestions from code review
Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-06-28 19:19:05 +08:00 |
|
|
|
6c305e2a49
|
ddl: apply common handle to index reorganization (#17906)
|
2020-06-16 09:52:39 +08:00 |
|
|
|
f12cdc4201
|
config: remove allow-auto-random config option (#16596)
|
2020-06-10 14:09:12 +08:00 |
|
|
|
f82bd008d4
|
ddl: correct the usage of json.Unmarshal in job.DecodeArgs (#17857)
* ddl: correct the usage of json.Unmarshal in job.DecodeArgs
* update parser
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
|
2020-06-10 11:00:54 +08:00 |
|
|
|
04548980f8
|
ddl, meta: allow increasing auto_random bits (#17423)
|
2020-06-10 08:35:13 +08:00 |
|
|
|
a4eb75a6f0
|
ddl: reject alter auto_random_base on a non auto_random table (#17714)
Co-authored-by: Arenatlx <ailinsilence4@gmail.com>
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
|
2020-06-06 21:56:43 +08:00 |
|
|
|
9162cfa2f3
|
meta: fix the allocator batch size compute logic (#17271)
|
2020-06-01 10:47:17 +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 |
|
|
|
ce923ac85d
|
executor: only reserve the sign bit when auto_random column is signed (#15566)
|
2020-05-11 18:19:36 +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 |
|
|
|
62e4d588a8
|
Makefile: add unconvert to inspect unnecessary type convert (#16549)
|
2020-04-22 23:01:59 +08:00 |
|
|
|
1c73deca59
|
ddl: add syntax for setting the cache step of auto id explicitly. (#15409)
|
2020-04-10 15:57:51 +08:00 |
|
|
|
b8b49f5937
|
*: fix setval in another session return num when it is already satisfied in meta (#15848)
|
2020-04-03 17:11:20 +08:00 |
|
|
|
45d83d1adb
|
infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
|
2020-03-12 11:51:18 +08:00 |
|
|
|
9f0736ee8b
|
errno: move the error code from the parser/mysql to tidb/errno (#15277)
|
2020-03-11 15:40:21 +08:00 |
|
|
|
e4762f28e9
|
ddl: show max allocate times when an auto_random table is created (#15262)
|
2020-03-10 18:04:32 +08:00 |
|
|
|
b504d37924
|
*: refine the table.Table interface (#15227)
remove unnecessary methods.
"The bigger the interface, the weaker the abstraction -- Rob Pike"
|
2020-03-10 13:40:56 +08:00 |
|
|
|
dcb8b3d5dd
|
executor: fix last_insert_id in auto_random mode (#15145)
|
2020-03-05 15:59:18 +08:00 |
|
|
|
0bbf1d954c
|
*: implement the sequence allocator logic. (#14829)
|
2020-02-26 15:45:38 +08:00 |
|
|
|
27b280dd05
|
*: specify time range via TIME_RANGE hint for metrics/inspection tables (#14874)
Signed-off-by: Lonng <heng@lonng.org>
|
2020-02-21 13:01:52 +08:00 |
|
|
|
a528e60e3b
|
*: add auto_random id cache for statement retrying and table recover (#14711)
|
2020-02-19 18:53:03 +08:00 |
|
|
|
4755a9b9ef
|
util: revert util/mathutil (#14744)
|
2020-02-13 11:33:04 +08:00 |
|