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
1c1faab678
*: convert key to hex for logs ( #11781 )
2019-08-20 11:10:16 +08:00
523b93651d
Add follower read support to TiDB ( #11347 )
2019-08-16 13:26:17 +08:00
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
59e3eb75cd
*: speed up the operation of "admin check table" ( #8572 )
2019-07-31 17:11:30 +08:00
05f66f4384
ddl: fix invalid index on multi-layer virtual columns ( #11260 )
2019-07-24 11:15:22 +08:00
e1f2b3728d
*: make assertion check more reasonable ( #10424 )
...
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
0d563f1e2d
stats: fix unstable test ( #10953 )
2019-06-27 13:51:16 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
8599fee538
*: implement IterReverse for tikvSnapshot and use desc scan to get latest N ddl history jobs. ( #10152 )
2019-05-31 23:40:09 +08:00
5c21fa4b43
ddl: implement ALTER DATABASE to alter charset/collation ( #10393 )
2019-05-15 17:32:21 +08:00
f5fb5aa32d
util/admin: add unit test and move integration test. ( #10013 )
2019-04-04 16:19:07 +08:00
32fdf46b1f
util: use uniform log format for util package ( #9668 )
2019-03-22 10:33:03 +08:00
38cfb0d435
ddl: add rolling back for rename table, modify table charset, truncate table partition ( #9602 )
2019-03-13 16:05:56 +08:00
3910a720df
*: add assertion in kvproto to check data consistency ( #9180 )
2019-03-08 16:49:31 +08:00