Commit Graph

33 Commits

Author SHA1 Message Date
4095299e9c *: add comparable varint encoding. (#2236) 2016-12-14 21:26:59 +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
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
1c6c145f94 *: Set custom verbose flag to true (#1956)
* *: set custom verbose flag to true

* *: update .gitignore
2016-11-05 18:00:13 +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
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +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
1bd25a14d8 store/localstore: add local store xapi support. 2016-03-29 20:33:24 +08:00
38f77b979c utll/codec: fix decimal codec 2016-03-28 19:58:25 +08:00
449b34f24b *: replace interface{} with Datum in codec. 2016-03-04 12:54:34 +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
8f988bfdb4 util/codec: add bytes codec test. 2015-12-09 17:59:33 +08:00
ed051106ea util/codec: fix bytes codec. 2015-12-07 23:20:53 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
408ed6f1a9 codec: support set type 2015-09-25 16:24:01 +08:00
1eb3144cad codec: support enum type codec 2015-09-24 10:56:20 +08:00
5aab3ac504 codec: encode hex/bit to int/uint 2015-09-21 08:02:49 +08:00
08defcbaa9 codec: fix ARM build fail 2015-09-16 08:08:05 +08:00
038ab131b1 util/codec: address comment. 2015-09-10 15:18:02 +08:00
2a72346857 util/codec: address comments. 2015-09-10 14:58:23 +08:00
5d0d30d642 util/codec: fix a bug for decimal encoding and add more tests.
fix bug.
2015-09-10 14:06:28 +08:00
84de0ba2fb codec, mysqldef: add decimal codec support.
support decimal type index.
2015-09-09 18:30:36 +08:00
d74f03c6a8 codec: support mysql Duration codec 2015-09-08 15:01:22 +08:00
xia
0670dd0e34 *: pass gofmt
pass gofmt
2015-09-07 11:28:10 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00