Commit Graph

22 Commits

Author SHA1 Message Date
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
8ed1d9d4a7 meta: add an in-memory autoID allocator (#24438) 2021-05-08 16:36:41 +08:00
67acdf3e90 ddl: support change from auto_inc to auto_random through 'alter table' (#20512) 2021-04-09 18:16:33 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
bc63f4660b ddl: reject adding auto_random column (#19618) 2020-09-02 10:24: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
f12cdc4201 config: remove allow-auto-random config option (#16596) 2020-06-10 14:09:12 +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
a3d5082094 sessionctx, executor: add session var to control explicit insertion on auto_random column (#17102) 2020-05-26 20:32:10 +08:00
0de6925e12 ddl: Add some limit for auto_random (#17119) 2020-05-15 21:28:44 +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
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
dcb8b3d5dd executor: fix last_insert_id in auto_random mode (#15145) 2020-03-05 15:59:18 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
870d4b19c8 *: support auto_increment_increment & auto_increment_offset. (#14301) 2020-01-08 10:18:39 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
5da10ffecc *: refine some error code (#14002) 2019-12-12 11:09:58 +08:00
435a912d29 ddl: disallow dropping index on auto_increment column (#11360) 2019-07-23 15:13:24 +08:00
7056bb0d32 executor, session: refine insert unsigned bigint autoIncreID (#8181) 2018-12-18 23:01:10 +08:00