7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
af9775aaeb
store/tikv/2pc: remove package tablecodec ( #24184 )
2021-04-26 11:27:55 +08:00
fb2df7675c
tablecodec: fix text type decode for old row format ( #23751 )
2021-03-31 22:41:25 +08:00
dc9ceb4bba
tablecodec: fix err check ( #23005 )
2021-03-01 17:48:54 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
449587a085
*: using standard error to replace terror ( #19425 )
2020-09-08 20:15:51 +08:00
48eb295925
*: change some tests using failpoint to serialSuite ( #19753 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-09-03 21:12:58 +08:00
07ae6078e8
*: support clustered index for fast analyze ( #18767 )
2020-08-07 19:22:14 +08:00
30cb0312d1
tablecode: improve the coverage of key path in tablecodec ( #16986 )
2020-06-10 14:42:15 +08:00
a1763c1b6e
executor: fix memory corrupt in COUNT/JSON_OBJECTAGG/GROUP_CONCAT ( #17106 )
2020-05-13 16:58:20 +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
62e4d588a8
Makefile: add unconvert to inspect unnecessary type convert ( #16549 )
2020-04-22 23:01:59 +08:00
c561d5aa99
*: remove useless conversions and omit some types ( #16262 )
2020-04-10 00:23:06 +08:00
0bab73adf5
*: use new row-format in tidb ( #12634 )
2020-01-02 22:34:39 +08:00
d006443194
type: encapsulate Time API ( #14288 )
2019-12-31 12:41:09 +08:00
cbf7415873
*: add errcode for structure, tablecodec, admin files ( #14054 )
2019-12-16 12:07:02 +08:00
6fd74f3e4c
planner: support cost model for tiflash table scan ( #12868 )
2019-10-29 16:05:51 +08:00
6878b97de7
tikv, tablecodec: log decoded key for TxnLockNotFound/WriteConflict error ( #12869 )
2019-10-29 14:46:21 +08:00
9b824457c1
*: improve column size calculation of statistics ( #11091 )
2019-07-15 13:05:54 +08:00
67583f9dc1
tablecodec: improve package unit test code coverage to 85% ( #10356 )
2019-05-08 15:01:51 +08:00
27a56180bd
*: replace gofail with the new failpoint implementation ( #10184 )
2019-04-22 13:30:14 +08:00
e31e8f1560
*: reduce runtime.growslice by preallocation ( #9946 )
2019-03-31 10:31:06 +08:00
9c087d13ee
*: replace github.com/etcd-io/gofail with the forked one ( #8693 )
...
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
d3b92e0288
ddl: fix panic when add index of generated column. ( #8620 )
2018-12-11 18:08:18 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
5baedaa21c
expression, types: fix some corner case when parsing string to datetime ( #7701 )
2018-10-08 10:35:52 +08:00
22519aefc2
*: update import path from coreos/gofail to etcd-io/gofail to fix ci ( #7329 )
2018-08-09 15:48:01 +08:00
e5f26cdeaf
types: fix a bug in decimal multiplication ( #7208 )
2018-07-31 22:15:27 +08:00
533c7777b9
tablecodec: make decode much more faster ( #7071 )
2018-07-17 20:09:34 +08:00
87ce884b2e
*:check max/min timestamp bound with timezone aware ( #6581 )
...
- mytime: max/min configure with UTC tz, convert to local tz during process starting, convert it to session tz before checking bound.
- time: so `check()`/`add()` need force pass `StatementContext` parameter.
- builtin_time: pass `StatementContext` from `b.ctx.sessionVars` into check/add.
- dump: also set timezone for StatementContext with UTC.
- *_test/mock: fix test case, make mock context with stmt TimeZone.
- add testcase for checkTimestamp and mytime convert timezone.
2018-05-24 15:27:38 +08:00
8a2a20e181
store/tikv: more friendly error log for WriteConflict ( #6457 )
2018-05-18 13:47:24 +08:00
8fa4980ae0
server, tablecodec: show region key's record id or index values. ( #6030 )
2018-03-20 16:01:46 +08:00
eddff3429a
*: importing data reduce memory allocations. ( #5549 )
2018-01-07 12:48:07 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
5f468489ab
util: add kvencoder package, make transfer sql to key-values be possible. ( #5236 )
2017-11-29 18:01:31 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
7d2804e43c
*: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp ( #4732 )
2017-10-10 23:38:53 -05:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
913037ebb9
tablecodec,mysql, util: mysql TypeDuration Fsp ( #3499 )
...
Fixed RoundError issue #3471
Bug Cause:
1. when deserialize mysqlDuration, the Fsp is setted with 0 instead of the Fsp from column information.
2. the default decimal for column with TypeDuration is 0.
2017-06-20 11:10:40 +08:00
0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
1685dcb1e0
tablecodec: correct comments mistake ( #3122 )
2017-04-24 10:08:15 +08:00
61be27d4ac
*: Update the return value type of CutRow and CutIndexKey to [][]byte ( #2978 )
2017-04-01 18:53:52 +08:00
e791b9a3be
http: get region's info ( #2774 )
2017-03-17 12:08:53 +08:00
74a1c9935d
*: add StatementContext argument to functions. ( #2157 )
...
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
b19cc75a94
mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. ( #2082 )
...
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
e31b281ee7
*: use new MyDecimal implementation. ( #1611 )
2016-08-22 20:24:39 +08:00
39e4d52bd7
*: support index where and aggregate push down. ( #1567 )
2016-08-15 20:03:52 +08:00
cad94acb54
Store row data in single kv pair ( #1347 )
2016-06-28 11:15:09 +08:00
02aa7874d0
tablecodec: Add EncodeRow and DecodeRow ( #1341 )
...
Add EncodeRow and DecodeRow
2016-06-23 15:39:49 +08:00