Commit Graph

68 Commits

Author SHA1 Message Date
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +08:00
9923f8cfa9 Reduce slice growth (#1663) 2016-08-30 19:52:41 +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
212ba73b4a util/codec: encode int64 to varint if not comparable (#1448) 2016-07-25 12:52:06 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +08:00
458671af7e util/codec: unify decimal codec with tikv. (#1268) 2016-05-30 17:50:23 +08:00
05043bfb0c *: fix decimal codec bug, see #1265. (#1266) 2016-05-30 10:34:14 +08:00
cf6d1f5f97 *: do not set null column value to save storage space. (#1236) 2016-05-17 19:14:28 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
921f65f259 Merge pull request #1026 from pingcap/busyjay/simplify-number-encode
util: Simplify number encoding
2016-03-29 21:18:33 +08:00
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
b92b1e6c62 simplify number encoding 2016-03-29 19:12:30 +08:00
08510fef0e util/codec: do not modify data while decoding bytes.
Decoding method should not modify the original data.
2016-03-29 12:08:30 +08:00
38f77b979c utll/codec: fix decimal codec 2016-03-28 19:58:25 +08:00
0157bcddc1 executor: add XAPI executor. 2016-03-25 10:21:59 +08:00
1662e7ed68 xapi: add xapi functions. 2016-03-23 17:29:05 +08:00
449b34f24b *: replace interface{} with Datum in codec. 2016-03-04 12:54:34 +08:00
4e38c95411 util/codec: tiny clean up
make realloc more clearly
2016-01-19 11:38:29 +08:00
5266298560 executor/converter,ast: Fix bugs for running phpmyadmin
1. Add ShowGrants to oldShow convert, phpmyadmin can run up now.
2. Fix a bug in Accept of FuncLocateExpr, handling the Pos arg of LOCATE() not given.
2016-01-18 12:17:18 +08:00
202f56b4b8 Address comments 2015-12-29 10:51:46 +08:00
bd3db841fa util: Reduce allocation. 2015-12-28 12:30:56 +08:00
a66bc590bc util/codec: remove stringFlag 2015-12-11 12:47:20 +08:00
65954424d1 *: address comment 2015-12-10 20:31:51 +08:00
c5480f2bb9 util/codec: use passed-in buffer in encode functions 2015-12-10 20:22:44 +08:00
ef71bb7e2a util/codec: address comments 2015-12-10 17:25:33 +08:00
9b4f43e62f util/codec: add varint and compactBytes 2015-12-10 15:17:44 +08:00
82b9b4c499 kv: remove kv.encoder, use codec directly 2015-12-10 11:13:05 +08:00
befec95fe5 util/codec: address comment. 2015-12-09 21:31:07 +08:00
af6635b079 *: address comments. 2015-12-09 19:08:37 +08:00
8f988bfdb4 util/codec: add bytes codec test. 2015-12-09 17:59:33 +08:00
d0a8009db5 util/codec: address comments. 2015-12-09 15:55:00 +08:00
a111613c9c util/codec: address comments. 2015-12-09 14:35:48 +08:00
512dbae5ae util/codec: fix type and tiny update comment. 2015-12-09 12:00:02 +08:00
df410c9eb6 *: tiny clean up. 2015-12-08 22:31:49 +08:00
25ba003d1c util/codec: use sign bit codec instead of number sign. 2015-12-08 22:12:35 +08:00
67ae65a176 util/codec: tiny refactor number codec. 2015-12-08 20:41:49 +08:00
883e520c4a util/codec: tiny refactor decimal codec. 2015-12-08 18:51:26 +08:00
44819de730 *: fix key prefix. 2015-12-08 14:16:03 +08:00
8f0ff0c1fc util: update key codec. 2015-12-08 10:25:19 +08:00
689d47c7ed *: tiny refactor encode/decode key. 2015-12-08 00:06:22 +08:00
835e5c4b2f util/codec: remove old bytes codec. 2015-12-07 23:23:19 +08:00
ed051106ea util/codec: fix bytes codec. 2015-12-07 23:20:53 +08:00
355f77ef31 util/codec: add new bytes codec. 2015-12-07 21:21:24 +08:00
8ba428e2fe codec: fix typo 2015-11-24 12:01:12 +08:00
e8c8b1fdcb codec: update bytes alloc. 2015-11-24 11:58:40 +08:00
226615adc8 *: Fix deadlock and index out of bound 2015-11-23 16:49:57 +08:00