Commit Graph

220 Commits

Author SHA1 Message Date
0376f4ae5c Merge pull request #808 from pingcap/ngaut/reduce-allocation
util: Reduce allocation.
2015-12-29 11:04:38 +08:00
202f56b4b8 Address comments 2015-12-29 10:51:46 +08:00
3b56db1566 Merge pull request #806 from pingcap/disksing/reduce-string-bytes-convert
*: reduce string bytes convert
2015-12-28 20:09:57 +08:00
bd3681ec0e *: minor changes 2015-12-28 12:49:26 +08:00
bd3db841fa util: Reduce allocation. 2015-12-28 12:30:56 +08:00
39624b3949 *: address comment 2015-12-28 11:07:07 +08:00
48c8b75edb *: reduce string bytes convert 2015-12-25 20:52:36 +08:00
0b99e0440b *: Move variable errors to sessionctx/variable 2015-12-24 15:27:41 +08:00
4c840db52a util/types: address comment. 2015-12-24 13:04:04 +08:00
c05500ddc9 util/types: fix DefaultFieldTypeForValue 2015-12-24 12:30:09 +08:00
3dc9261d81 Address comments 2015-12-22 20:20:08 +08:00
77201c39b3 Address comments 2015-12-22 19:59:27 +08:00
28c89dfc0b Use Castagnoli to calculate hash 2015-12-22 18:57:52 +08:00
f91303cfd4 Address comments 2015-12-22 13:50:57 +08:00
757358331d Add license header 2015-12-22 12:41:20 +08:00
462f6a971e *: instroduce segment map 2015-12-22 12:19:16 +08:00
83a3a09d36 Merge pull request #740 from pingcap/coocood/type-infer
optimizer: typeInferrer supports more expression.
2015-12-18 15:05:34 +08:00
fbc938e7b6 optimizer: address comment 2015-12-17 14:56:11 +08:00
2e1cf26a32 optimizer: typeInferrer supports more expression.
This is require for implementing prepared statement, because binary protocol depends more
on the result field type to decode value, we have to correctly set the result field type.

For statement like 'select ?', the type of the field is unknown until we execute the statement with argument,
If the field type of  parameter marker `?' is not set properly, client will not be able to read the value.
2015-12-16 18:35:45 +08:00
a90413a656 kv, table: use minimal kv interfaces 2015-12-16 17:22:25 +08:00
edf2641df7 *: fix bytes convert issue 2015-12-15 17:22:40 +08:00
42d2694f37 Merge pull request #717 from pingcap/disksing/update-codec
update codec
2015-12-15 10:07:32 +08:00
xia
22bb76409b *: address comments 2015-12-14 11:36:49 +08:00
7583446a5d *: address comments 2015-12-12 16:41:12 +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
2d5d930ee2 Merge branch 'master' into qiuyesuifeng/refector-codec 2015-12-09 18:17:06 +08:00
8f988bfdb4 util/codec: add bytes codec test. 2015-12-09 17:59:33 +08:00
d44db8b272 Merge pull request #651 from pingcap/coocood/new-plan
optimizer, executor: Use new plan for simple select statement.
2015-12-09 17:37:26 +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
d722320bda util: remove codec record key to tables package. 2015-12-08 16:39:42 +08:00
958ce2284f *: tiny refactor table record/index key codec. 2015-12-08 15:35:14 +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