Yuchen Pei
374783c3d9
MDEV-28152 Features for sequences
...
- Add `as <int_type>` to sequence creation options
- int_type can be signed or unsigned integer types, including
tinyint, smallint, mediumint, int and bigint
- Limitation: when alter sequence as <new_int_type>, cannot have any
other alter options in the same statement
- Limitation: increment remains signed longlong, and the hidden
constraint (cache_size x abs(increment) < longlong_max) stays for
unsigned types. This means for bigint unsigned, neither
abs(increment) nor (cache_size x abs(increment)) can be between
longlong_max and ulonglong_max
- Truncating maxvalue and minvalue from user input to the nearest max
or min value of the type, plus or minus 1. When the truncation
happens, a warning is emitted
- Information schema table for sequences
2024-02-21 11:19:27 +11:00
..
2022-08-10 15:04:24 +02:00
2022-07-27 18:26:21 +03:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2023-10-17 21:52:39 +02:00
2023-10-17 21:52:39 +02:00
2022-11-01 16:33:00 +01:00
2021-10-26 17:29:40 +02:00
2021-10-26 17:29:40 +02:00
2022-11-01 16:33:00 +01:00
2022-09-21 09:33:07 +03:00
2024-02-04 16:42:31 +01:00
2022-11-01 16:33:00 +01:00
2022-09-21 10:59:56 +03:00
2022-12-14 09:18:30 +02:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2022-09-21 10:59:56 +03:00
2023-03-15 17:35:22 -07:00
2022-11-01 16:33:00 +01:00
2023-10-17 21:52:39 +02:00
2024-02-12 22:26:06 +01:00
2024-02-21 11:19:27 +11:00
2024-02-21 11:19:27 +11:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2024-02-12 22:26:06 +01:00
2021-03-22 18:10:39 +11:00
2022-09-20 16:53:20 +03:00
2022-09-21 10:59:56 +03:00
2022-09-20 16:53:20 +03:00
2022-09-20 16:53:20 +03:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2021-03-04 22:50:00 +05:30
2021-03-04 22:50:00 +05:30
2021-03-04 22:50:00 +05:30
2023-11-08 16:46:47 +01:00
2018-12-12 00:31:44 +01:00
2018-12-12 00:31:44 +01:00
2023-11-08 15:57:05 +01:00
2022-09-20 16:53:20 +03:00
2023-08-11 19:36:21 +02:00
2024-02-21 11:19:27 +11:00
2024-02-21 11:19:27 +11:00
2023-10-11 21:49:13 +05:30
2023-10-11 21:49:13 +05:30
2023-08-11 19:36:21 +02:00
2022-09-21 10:59:56 +03:00
2022-10-04 13:32:38 +02:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-11-01 16:33:00 +01:00
2022-07-27 18:26:21 +03:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2023-10-17 21:52:39 +02:00
2023-10-17 21:52:39 +02:00
2022-11-01 16:33:00 +01:00
2021-10-26 17:29:40 +02:00
2021-10-26 17:29:40 +02:00
2022-11-01 16:33:00 +01:00
2022-09-21 09:33:07 +03:00
2024-02-04 16:42:31 +01:00
2022-07-27 18:26:21 +03:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2023-10-17 21:52:39 +02:00
2023-10-17 21:52:39 +02:00
2022-11-01 16:33:00 +01:00
2021-10-26 17:29:40 +02:00
2021-10-26 17:29:40 +02:00
2022-11-01 16:33:00 +01:00
2022-09-21 09:33:07 +03:00
2024-02-04 16:42:31 +01:00
2023-11-01 13:02:19 +02:00
2023-11-01 13:02:19 +02:00
2023-11-01 13:02:19 +02:00
2023-11-01 13:02:19 +02:00
2024-02-04 16:42:31 +01:00