26dab31068
ttl: support float number and store ttl_job_interval in info schema ( #40509 )
...
Signed-off-by: YangKeao <yangkeao@chunibyo.icu >
Signed-off-by: YangKeao <yangkeao@chunibyo.icu >
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-12 16:42:34 +08:00
caffd8d6c5
ttl: forbid creating/altering a table with TTL options when pk contains float/double column ( #40487 )
...
* ttl: forbid create/alter a table with TTL options when pk contains float/double column
* format
* update
* update
* update
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-11 16:22:33 +08:00
b226dfcb05
ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable ( #40033 )
...
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
affe126097
*: support curdate() as column's default value | tidb-test=pr/2057 ( #40326 )
...
close pingcap/tidb#38356
2023-01-05 16:14:20 +08:00
cb5affbc3c
ddl, parser: Implement the write-reorg state split task related functions, and the related interfaces of backfill worker ( #39982 )
...
close pingcap/tidb#37123
2023-01-04 15:20:19 +08:00
621115bf67
ttl, variables: add system variables for ttl job schedule ( #39727 )
...
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
c3329792e6
ttl: ouput TTL comment format when show create table ( #39853 )
...
close pingcap/tidb#39852
2022-12-13 12:56:52 +08:00
d045b41d87
ttl,ddl: disable ttl for fk and temp table ( #39581 )
...
close pingcap/tidb#39351 , close pingcap/tidb#39364
2022-12-02 18:22:01 +08:00
6a4b909c7d
parser: add global variable to control ttl syntax ( #39483 )
...
close pingcap/tidb#39482
2022-12-01 18:18:01 +08:00
a48fe7913d
executor: close resultset ( #39474 )
2022-11-30 13:57:59 +08:00
7f632be1d5
ddl: add ttl related jobs / execution ( #39298 )
...
close pingcap/tidb#39269 , close pingcap/tidb#39270 , close pingcap/tidb#39271
2022-11-28 10:42:00 +08:00
b117a2eac8
ddl,executor: enhance test for auto_increment with AUTO_ID_CACHE=1 ( #38808 )
2022-11-16 17:11:56 +08:00
cd531a4a98
*: support auto_random on composite clustered primary key ( #38617 )
...
close pingcap/tidb#38572
2022-10-27 10:45:57 +08:00
9743a9a2d2
txn: add table name in dup entry error message ( #38243 )
...
Signed-off-by: ekexium <eke@fastmail.com >
2022-10-19 14:14:55 +08:00
a06365954f
executor: close ResultSet in test ( #37787 )
2022-09-14 11:14:58 +08:00
cc2fcfceca
ddl/schematracker: fix SetDDL will cause data race ( #36768 )
...
close pingcap/tidb#36766
2022-08-02 00:24:05 +08:00
9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
9d0f5f72d3
*: enable pessimistic transaction on unistore ( #36578 )
2022-07-26 21:07:10 +08:00
0e13d5d009
ddl: implement table granularity DDL for SchemaTracker ( #36077 )
...
ref pingcap/tidb#35933
2022-07-13 14:57:05 +08:00
49b4bf96bd
ddl: implement Schema level API for DM SchemaTracker ( #35991 )
...
ref pingcap/tidb#35933
2022-07-11 11:31:05 +08:00
65e0b8e541
client: KV requests with source label ( #34833 )
...
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
4c443d5d24
executor: close RecordSet in the ddl_test and write_test ( #35373 )
...
ref pingcap/tidb#31716
2022-06-14 20:48:33 +08:00
2258bc54c4
txn: Add EnterNewTxn and OnStmtStart methods to TxnManager ( #34263 )
...
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
1bf64c60f4
*: Refactor FieldType structure ( #33569 )
...
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
f6a44bf72c
*: add limitation for UserName and HostName. ( #33224 )
...
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
52fa48ce2b
sessionctx,executor: Revert "sessionctx,executor: disallowed set null to sysvar" ( #32988 )
...
close pingcap/tidb#32987
2022-03-10 23:13:51 +08:00
77730b6d9e
sessionctx,executor: disallowed set null to sysvar ( #32879 )
...
close pingcap/tidb#32850
2022-03-10 01:13:49 +08:00
a1d8f2f3ac
*: remove ddl dependency ( #32910 )
...
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
223f5f8acd
executor: migrate test-infra to testify for part3 of executor_test ( #32884 )
...
ref pingcap/tidb#28577
2022-03-08 01:41:48 +08:00
d1bf078a58
executor: migrate test-infra to testify for infoschema_reader_test.go ( #32688 )
...
close pingcap/tidb#28587
2022-03-01 16:31:45 +08:00
db3e69eb68
executor: migrate test-infra to testify for ddl_test ( #32394 )
...
close pingcap/tidb#28572
2022-02-16 21:25:39 +08:00
1f810e5256
ddl: make rename a not exists table report right error message ( #32170 )
...
close pingcap/tidb#29893
2022-02-16 10:43:39 +08:00
f2dba0e14e
*: migrate some collation tests to explain test ( #31993 )
...
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
de885477b5
ddl: refactor schema builder ( #31172 )
...
ref pingcap/tidb#30272
2021-12-31 12:41:51 +08:00
2af4624cc9
executor: stable test TestSetDDLReorgBatchSize and TestSetDDLReorgWorkerCnt ( #30480 )
2021-12-07 17:19:56 +08:00
55a38a1c76
*: tiny clean up the RecordSet NewChunk() method ( #29232 )
2021-11-02 20:02:51 +08:00
42b0bec86d
sessionctx/variable, executor: introduce a limit on "thread" config ( #28842 )
2021-10-22 11:42:46 +08:00
466e826a7e
executor: Use charset and collation from server vars for new schemas ( #27216 )
2021-10-19 22:22:42 +08:00
e6c600ad16
*: always convert sysvar values when out of range ( #25686 )
2021-10-13 10:37:27 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
267a3b8162
executor: add auto id allocator execution runtime stats ( #28013 )
2021-10-08 17:35:24 +08:00
48c624b201
*: remove some unnecessary exported/interface functions ( #28134 )
2021-09-22 15:22:45 +08:00
33a6eee76b
test: add variable character_set_connection into test session ( #27943 )
2021-09-14 11:22:42 +08:00
09e3090ba9
go.mod: update parser to fix the parse error for subquery ( #25647 )
2021-08-17 21:06:00 +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
72807efe20
variable, ddl: allow auto inc columns in generated columns and expression indexes ( #23940 )
2021-07-28 16:22:18 +08:00
2b192e3149
topsql: refine collect information for DDL and internal SQL ( #26047 )
2021-07-15 16:13:36 +08:00
e04181b351
executor: forbid read from stale query result ( #25954 )
2021-07-13 16:49:32 +08:00
ad0f654fcb
planner: fix bug when unfolding wildcard in view definiton ( #25226 )
2021-07-02 14:49:26 +08:00