cc5e161ac0
*: use tikv/client-go/v2 ( #25359 )
2021-06-11 17:24:35 +08:00
9f8175743f
*: refine some error messages ( #24767 )
2021-06-03 21:14:26 +08:00
b7c22aa31d
kv: remove UnionStore interface ( #24625 )
2021-05-13 21:29:39 +08:00
aee5819a20
*: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY ( #23529 )
2021-03-26 15:59:24 +08:00
24c9df147d
*: refactor table.Table interface, clean up unnecessay methods ( #22430 )
2021-03-02 19:48:54 +08:00
b74dfaf810
mockstore: move mockstore/cluster to tikv/mockstore/cluster ( #22856 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-22 15:42:16 +08:00
27db39b480
*: use CLUSTERED and NONCLUSTERED to control primary key type ( #22409 )
2021-02-05 20:41:41 +08:00
ea6ccf82e9
*: refactor the RestrictedSQLExecutor interface ( #22579 )
2021-01-29 12:56:44 +08:00
d184120a99
ddl: use kv.Key as reorg progress marker instead of kv.Handle ( #20908 )
2020-11-11 18:47:23 +08:00
fd84a91895
ddl, tikv: add delay during AddIndex DDL and remove schema check for async commit ( #20550 )
2020-10-28 11:48:34 +08:00
2f067c0542
*: redact arguments for Error ( #20436 )
2020-10-21 14:44:08 +08:00
6342fa6a50
ddl: fix corrupted default value for bit type column ( #18036 )
2020-10-04 12:59:40 +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
b7364a317b
*: add rollbacking logic for column type change ( #19531 )
2020-09-15 17:23:00 +08:00
449587a085
*: using standard error to replace terror ( #19425 )
2020-09-08 20:15:51 +08:00
945f7cc4a0
ddl, tables: support the column type change between the integer types ( #19059 )
2020-08-26 21:30:14 +08:00
eff7837795
executor: support 'recover index' in clustered index tables ( #19284 )
...
* support 'recover index' in clustered index table
* ddl: add truncate to buildCommonHandleFromChunkRow
* executor: truncate the updated handle
* executor: set core.HandleCols in the initialization of RecoverIndexExec
* refine code
* remove unused code
* fix integration test
* fix integration test
* address comment
* early return when recovering clustered pk
* remove panic
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-26 11:51:52 +08:00
c7c98d7380
ddl: add addingDefinition field for adding partition replica check ( #18495 )
2020-07-29 17:08:26 +08:00
baf6c99b95
*: fix a bug causes indexed virtual generated column return wrong value and refine admin check table ( #18408 )
2020-07-24 12:59:47 +08:00
761a961ba0
kv: refactor MemBuffer and reduce the memory usage ( #18372 )
2020-07-15 15:26:25 +08:00
a6971dd685
*: support 'admin check table' on clustered index table ( #18346 )
2020-07-14 15:59:37 +08:00
3f6f36f742
*: refactor table.IterRecord and extract some methods ( #18214 )
...
* *: refactor table.IterRecord and extract some methods
* fix ci test
* fix ci test
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-06-29 09:24:34 +08:00
7daa4a7f88
*: fix bugs that creating index on clustered index table or table with the virtual generated column ( #18114 )
2020-06-19 19:58:37 +08:00
6c305e2a49
ddl: apply common handle to index reorganization ( #17906 )
2020-06-16 09:52:39 +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
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
8ea2ed03e7
session: Move OptimizerUseInvisibleIndexes from SmtmCtx to SessionVars ( #17040 )
2020-05-09 08:41:05 +08:00
26e946d25e
plannercore: ignore invisible indexes in optimizer ( #15421 )
2020-05-07 11:00:40 +08:00
30f6f32708
tests: abstract Cluster interface for introducing new mock... ( #16940 )
2020-04-30 10:46:55 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
90bfe841ae
server: add drop/truncate table tiflash replica info in /tiflash/replica http api ( #15699 )
2020-04-24 16:00:48 +08:00
af376db3dc
*: refactor Handle in tablecodec and rowcodec ( #16705 )
...
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com >
2020-04-23 18:55: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
c2538facc9
ddl: Support the operation of adding multi-columns ( #15540 )
2020-04-08 13:22:25 +08:00
9f0736ee8b
errno: move the error code from the parser/mysql to tidb/errno ( #15277 )
2020-03-11 15:40:21 +08:00
750583c665
*: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. ( #12472 )
2020-02-10 22:56:05 +08:00
465af00b46
*: use new registrable terror ( #14606 )
2020-02-06 16:40:26 +08:00
b25c82452f
ddl: support drop sequence in TiDB ( #14442 )
2020-01-20 15:49:04 +08:00
f036eecc9d
ddl: support create/drop expression index ( #14117 )
2020-01-07 10:29:39 +08:00
cbf7415873
*: add errcode for structure, tablecodec, admin files ( #14054 )
2019-12-16 12:07:02 +08:00
97a4fae7d2
ddl : support ADMIN REPAIR TABLE to override bad tableInfo in meta & supply a REPAIR MODE for safely restart. ( #12046 )
2019-12-03 13:50:26 +08:00
d811fbb461
util: remove some unused code in admin package ( #13742 )
2019-11-27 14:37:25 +08:00
3a48a48630
*: remove the assertion proto ( #13732 )
...
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
760d27c51f
util: fix staticcheck errors ( #13456 ) ( #13651 )
2019-11-22 17:20:25 +08:00
df1baca19f
*: support adding/dropping the primary key by a configuration ( #13229 )
2019-11-15 01:10:51 +08:00
9ed376ada2
util/admin: support admin check table on partition table ( #12796 )
2019-10-29 20:16:37 +08:00
8ed2e1bf45
util/admin: fix the error of "invalid list index" when cancel ddl jobs ( #12402 )
2019-10-13 20:39:03 +08:00
e173c7f5c1
executor: add several sql hint related to session variables ( #11809 )
2019-09-17 13:39:16 +08:00
2307338ae7
planner: generate index path as candidate when it is a single scan ( #12022 )
2019-09-09 19:13:41 +08:00
073ab9b6a3
*: refactor RestrictedSQLExecutor ( #11904 )
2019-08-28 19:17:19 +08:00