Commit Graph

50 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
c36ef357d8 table: remove some unused index functions (#31957)
ref pingcap/tidb#30437
2022-01-26 13:34:45 +08:00
4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) 2021-12-23 20:01:47 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
cf21dea489 test: tests call collate.SetNewCollationEnabledForTest should run in serial (#29325) 2021-11-03 11:47:01 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
28b6f52a8e table/tables: migrate test-infra to testify for index_test.go (#27557) 2021-09-06 22:40:57 +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
b7c22aa31d kv: remove UnionStore interface (#24625) 2021-05-13 21:29:39 +08:00
f8da635f5a *: refactor and fix the usages of DecodeIndexKV for clustered index (#23096) 2021-03-10 16:46:55 +08:00
5f73c822ca kv/union_store:remove tableinfo from union_store (#22976)
Co-authored-by: disksing <i@disksing.com>
2021-03-04 16:30:42 +08:00
b5a9076aea *: new secondary index value format (#20220) 2021-03-03 21:16:54 +08:00
de4612597c transaction: lock unique key for delete operation (#19220)
Signed-off-by: you06 <you1474600@gmail.com>
2020-10-29 12:08:26 +08:00
d0639b0056 *: use the newly designed memdb (#18657)
* *: use the newly designed memdb

* address comments

* remove duplicated comments

Co-authored-by: Evan Zhou <coocood@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-03 20:51:05 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
99a83a1c6d planner, unistore: support index scan for common handle on unique index (#18302) 2020-07-02 21:02:57 +08:00
552e7709de *: refactor decoder to avoid useless fieldType convert (#17632) 2020-06-03 18:13:56 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
c258afafe2 *: index codec for common handle (#16998) 2020-05-09 16:18:05 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
332cef97f5 *: support index encode/decode for new collation (#14876) 2020-02-27 11:33:33 +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
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
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
5f7abc84fe *: fix panic that upgrade from old version TiDB. (#7136) 2018-07-24 18:59:29 +08:00
537bed3afa table/tables: fix goroutine leak (#7119) 2018-07-24 15:10:02 +08:00
48a42fe424 tables: fix prefix index, when the charset is utf8, truncate it from runes (#7109) 2018-07-19 23:44:56 +08:00
44e34bd304 *: index refactor for table partition (#7062) 2018-07-17 14:01:50 +08:00
e7dda3245a table, executor: fix a unique key with null (#6032) 2018-03-12 21:37:10 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
a220cff85e ddl: Deal with discrete handles (#5102)
* ddl: deal with discrete handles
2017-11-19 21:30:06 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
37681cf435 *: opentracing for two phase commit (#4900) 2017-10-26 17:43:45 +08:00
2ddcc2b16b *: don't use localstore for test. (#4728) 2017-10-10 11:11:31 +08:00
b091e828cf table(test): add unit tests for coverage of package table (#3770) 2017-07-21 21:34:59 +08:00
4a6b093dff table/tables: fix panic (#1952)
fix panic
2016-11-05 10:04:42 +08:00
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
d04b0b997c *: support index length (#1350)
For string columns, indexes can be created that use only the
leading part of column values, using col_name(length) syntax
to specify an index prefix length
2016-07-02 13:26:40 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00