Commit Graph

26 Commits

Author SHA1 Message Date
bbe4c8ef37 ddl: make sequence cache-opt mutually exclusive to each other (#31362)
close pingcap/tidb#31265
2022-01-06 18:00:37 +08:00
7f36a07de9 *: fix Temporary Table doesn't work correctly with sequence (#28946) 2021-10-20 16:20:41 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
79711ad6b8 ddl: support alter sequence (#20405) 2020-10-14 17:06:11 +08:00
1fed1fb895 tests: remove incorrect use of FLUSH PRIVILEGES (#18361) 2020-07-24 23:25:14 +08:00
c9c0daf310 ddl_test: fix "TestCreateTable" test cases (#18003) 2020-06-22 15:38:52 +08:00
096f2e80cb fix sequence cache can be negative (#18071) 2020-06-18 00:06:40 +08:00
5f59f01625 *: fix error message of access denied (#17449)
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
2020-06-05 19:51:54 +08:00
f2256261f6 ddl: forbid add column with sequence as default value (#17133) 2020-05-14 11:48:54 +08:00
9b2aa18be1 ddl: fix sequence default value will cause primary-key occur not-null error #16437 2020-04-17 12:02:34 +08:00
f3b8f60480 ddl, planner: handle sequence name check in preprocess (#16193) 2020-04-09 10:59:24 +08:00
d750db3213 *: remove order support in sequenceInfo (#16105) 2020-04-07 17:47:35 +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
6eac964fb0 expression: fix sequence function usage privilege check (#15838) 2020-04-01 12:33:43 +08:00
acad2feb51 table: fix multi nextval will return wrong result without sequence cache (#15728) 2020-03-30 14:17:12 +08:00
a8561e4d45 expression: fix use sequence with wrong object name (#15637) 2020-03-25 11:55:37 +08:00
3ced6bc9ac dml: support default expression cache when insert (#15216) 2020-03-19 10:51:22 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
f5280c3cd4 expression: support sequence function unfold (#15144) 2020-03-09 19:43:46 +08:00
0bbf1d954c *: implement the sequence allocator logic. (#14829) 2020-02-26 15:45:38 +08:00
25952d4a8f ddl, executor, server: add drop if exists warnings (#14807) 2020-02-18 11:40:48 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
b25c82452f ddl: support drop sequence in TiDB (#14442) 2020-01-20 15:49:04 +08:00
ff096ee2cf ddl : support create sequence in TiDB. (#14112) 2020-01-09 19:38:14 +08:00