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
4449eb062a
ddl: add ddl job error count limit, exceed the limit should cancel the ddl job ( #9295 )
2019-02-27 15:03:04 +08:00
c8c92e2dd7
ddl: refine cancel modify column, add/drop foreign key rollback ( #9419 )
2019-02-27 14:07:34 +08:00
8369ed2ffc
ddl, util: Handle default values for generating column expressions when adding an index ( #9371 )
2019-02-27 12:59:18 +08:00
79a88a0b3c
ddl: fix cancel truncate table ddl error ( #8977 )
2019-02-22 16:58:04 +08:00
45ee205896
ddl :fix cancel add/drop partitioned table ddl job ( #8938 )
2019-02-19 17:22:41 +08:00
33a961decf
ddl: fix canceling model.ActionRebaseAutoID and model.ActionShardRowID ddl jobs ( #9226 )
2019-02-18 11:34:13 +08:00
818ec911c5
admin: fix admin check table err when add column not null, then add index on the column ( #9108 )
2019-01-20 22:44:10 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
e06c87d3c1
add an option for AddRecord and Create ( #8884 )
2019-01-02 11:30:53 +08:00
eaeaca74ae
ddl: fix cancel drop column ddl error ( #8545 )
2018-12-28 11:28:26 +08:00
ffa375fdc2
ddl: fix cancel drop table/database ddl job bug. ( #8537 )
...
* ddl: fix cancel drop table bugs
2018-12-26 10:34:07 +08:00
bd69b15e79
*: add the error check ( #8770 )
2018-12-24 22:22:00 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
d3b92e0288
ddl: fix panic when add index of generated column. ( #8620 )
2018-12-11 18:08:18 +08:00
6e2d6c7aa7
ddl: fix cancel drop index error ( #8504 )
2018-12-07 23:29:23 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00