f703633295
Merge pull request #861 from pingcap/shenli/agg-sum
...
*: Support sum in new plan
2016-01-20 22:24:28 +08:00
eba936c579
*: Address comment
2016-01-20 21:49:29 +08:00
686dc63352
*: Support sum in new plan
2016-01-19 22:58:11 +08:00
ff1ad881de
Merge pull request #858 from pingcap/iamxy/fix-order-binary
...
util/types: fix order by binary
2016-01-19 20:35:29 +08:00
95e0ebd8f2
Merge branch 'master' into iamxy/fix-phpmyadmin
2016-01-19 20:26:26 +08:00
bde19d022d
util/types: use RawData() to enhance readability
2016-01-19 16:14:41 +08:00
31a78b75f2
util/types: fix order by binary operand
...
In Orderby Clause, as using BINARY operator to cast the following operand to a binary string, here meet an error. Improved IsOrderedType() to handle it.
2016-01-19 13:46:16 +08:00
4e38c95411
util/codec: tiny clean up
...
make realloc more clearly
2016-01-19 11:38:29 +08:00
420c589718
*: Fix a bug in type inferrer
...
1. Add missing CaseExpr.
2. Add field type merge rules for hybrid field type expressions.
2016-01-18 22:56:24 +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
cf19afc08b
*: Add test cases for type inferrer
2016-01-17 00:16:44 +08:00
d6f63b439a
*: Fix missing result type bug
2016-01-16 16:52:55 +08:00
8eb866f476
distinct: Add a new distinct checker
2016-01-12 00:03:45 +08:00
926fbab7c9
*: address comment, add more tests.
2015-12-31 12:01:06 +08:00
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
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