Commit Graph

20 Commits

Author SHA1 Message Date
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
0e76e66e03 store/tikv: log big transaction. (#2525) 2017-01-22 11:59:31 +08:00
43102df978 util/time: ToPackedUint would return error for invalid timestamp (#2190)
month=0 or day=0 is invalid in timestamp such as 2016-00-00 00:00:00
so ToPackedUint should return error, for those cases.
2016-12-12 18:50:16 +08:00
9cca7b0b02 types: move Bit, Enum, Set, Hex to types package (#2085)
Consistent with Time and MyDecimal.
2016-11-24 12:28:55 +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
1fca94703b mock-tikv: update to reflect the change of tikv (#1712)
Remove use of tipb.Row
2016-09-20 15:15:14 +08:00
232605aa0e Avoid using tipb.KeyRange (#1685)
Do not use tipb.KeyRange.
Use EncodeRowKeyWithHandle to generate endKey.
Avoid decode values when only need handle.
2016-09-05 14:53:46 +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
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
1d5fdbfaf9 *: improve time codec. (#1551) 2016-08-05 14:23:38 +08:00
d639c0aa54 support single index read. (#1538) 2016-08-02 16:13:50 +08:00
3047e7ad68 tablecodec: Fix a bug when there is no colID matched in row data (#1360) 2016-06-30 17:15:34 +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
633b5b9a9a *: Clean up tablecodec and tables (#1338) 2016-06-22 17:11:54 +08:00
ee1bdd699a *: Cleanup table codec (#1337)
Prepare for row-based storage model
2016-06-22 15:24:56 +08:00
a9aad12ba8 *: move tablecodec package out of xapi. (#1335) 2016-06-22 13:32:26 +08:00