Commit Graph

56 Commits

Author SHA1 Message Date
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
216c323f3e store: Using RWMutex instead of Mutex and reduce memory allocation 2015-11-23 16:36:21 +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
1b1de4ba69 util/codec: update decimal codec. 2015-09-10 13:31:55 +08:00
eb2849ef49 util/codec: move decimal codec to util/codec/decimal. 2015-09-10 12:14:25 +08:00
84de0ba2fb codec, mysqldef: add decimal codec support.
support decimal type index.
2015-09-09 18:30:36 +08:00