Commit Graph

40 Commits

Author SHA1 Message Date
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
e06c87d3c1 add an option for AddRecord and Create (#8884) 2019-01-02 11:30:53 +08:00
09c6bff91c *: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen (#8081) 2018-11-09 18:49:00 +08:00
d125958380 tikvclient: Add endKey param to Scanner (#8178) 2018-11-08 18:21:40 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
88bf9f7ba0 admin: support prefix index in admin check table. (#7241) 2018-08-06 11:57:46 +08:00
a5af7a0e1f *: remove variable 'tidb_import_data' and rename SessionVars.ImportingData to LightningMode (#7262) 2018-08-03 10:00:03 +08:00
42bba991b9 ranger: fix prefix index when charset is UTF-8 (#7194) 2018-07-31 16:14:05 +08:00
5f7abc84fe *: fix panic that upgrade from old version TiDB. (#7136) 2018-07-24 18:59:29 +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
fbae31e959 executor: optimization for insert on duplicate key update (#6194) 2018-04-08 15:12:21 +08:00
6ff87d649a ddl, tables: remove useless NewIndexWithBuffer (#6126) 2018-03-23 15:42:29 +08:00
98a2640286 *: support 'admin recover index' (#5980) 2018-03-15 18:04:35 +08:00
e7dda3245a table, executor: fix a unique key with null (#6032) 2018-03-12 21:37:10 +08:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
45d916b445 tables: Rename a variable (#5673) 2018-01-18 23:09:31 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
31b606d30d executer: optimization for insert ignore (#5508) 2018-01-12 11:09:25 +08: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
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
665f62929d *: make "unconvert" happy (#4700) 2017-09-30 15:53:01 +08:00
d782ce103e table: Speed up the add index operation (#4632) 2017-09-28 12:28:35 +08:00
a764561dac *: Speed up the add index operation (#4579) 2017-09-22 18:24:03 +08:00
892e3a8d18 fix table comments (#3184) 2017-04-29 06:51:26 -05:00
d5cf23a838 *: non-unique index doesn't need store value, write a '0' to reduce space (#2218) 2016-12-09 21:02:03 +08:00
4a6b093dff table/tables: fix panic (#1952)
fix panic
2016-11-05 10:04:42 +08:00
558ba06368 decode with value size (#1641)
Add size parameter for Decode to reduce slice growth
BenchmarkDecodeWithSize-8 300000 6153 ns/op
BenchmarkDecodeWithOutSize-8 200000 11934 ns/op
2016-08-26 10:44:03 +08:00
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
e687f908d3 *: tiny clean up (#1404) 2016-07-07 09:50:45 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +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
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00