Commit Graph

2890 Commits

Author SHA1 Message Date
0fed9dbc5e ddl: fixed test bug 2016-03-05 11:30:06 +08:00
7ec14d6643 Merge pull request #956 from pingcap/shenli/fix-386
types: Fix i386 float to uint error
2016-03-08 16:24:17 +08:00
f1db0e42ef types: Fix i386 float to uint error
uint64(float64(-1)) will be 0. So we cast float64 to int64 first.
2016-03-08 15:53:50 +08:00
06c3b3178d Merge pull request #954 from pingcap/zxylvlp/move-ast-functions-to-buildin
evaluator: move the evaluate of ast functions to buildin
2016-03-08 10:58:29 +08:00
afd369e042 evaluator: move the evaluate of ast functions to buildin
Move the evaluate of ast functions extract, convert and substring to buildin.
2016-03-08 10:50:14 +08:00
eff9f1d32b Merge pull request #953 from pingcap/shenli/fix-sqllogic
*: Add Coerce before compare for PatternInExpr
2016-03-07 14:49:43 +08:00
a9d0039573 *: Add Coerce before compare for PatternInExpr
Fix sqllogic test
2016-03-07 14:34:55 +08:00
9cd548dfda Merge pull request #952 from pingcap/coocood/datum-convert
*: replace interface{} with Datum in convert.
2016-03-07 14:31:39 +08:00
ac12b71714 *: replace interface{} with Datum in convert. 2016-03-07 14:11:17 +08:00
085d94c7b1 Merge pull request #951 from pingcap/shenli/rm-coldef
*: Remove coldef package
2016-03-05 19:27:50 +08:00
515f193bd2 *: Remove coldef package
There are lots of redundancies between ast and coldef. So we remove
coldef.
2016-03-05 19:11:04 +08:00
6ca8d34af9 Merge pull request #950 from pingcap/coocood/fix-compare-datum
util/types: fix compare datum.
2016-03-04 14:45:27 +08:00
11942ab3a1 util/types: fix compare datum. 2016-03-04 14:35:35 +08:00
c6c65e52d7 Merge pull request #949 from c-wind/master
ddl:Delete the useless judgment
2016-03-04 14:33:36 +08:00
380e6fd0a6 Merge branch 'master' into master 2016-03-04 14:21:04 +08:00
06cc381fa5 ddl:Delete the useless judgment 2016-03-04 14:11:04 +08:00
055f9e481d Merge pull request #948 from pingcap/coocood/datum-codec
*: replace interface{} with Datum in codec.
2016-03-04 13:51:51 +08:00
449b34f24b *: replace interface{} with Datum in codec. 2016-03-04 12:54:34 +08:00
7759f556a1 Merge pull request #947 from pingcap/coocood/datum-range
*: replace interface{} with Datum in index range
2016-03-04 10:45:42 +08:00
ff94659286 *: replace interface{} with Datum in index range 2016-03-03 22:15:17 +08:00
3421035899 Merge pull request #945 from pingcap/coocood/datum-index
*: replace `interface{}` with `Datum` in `kv.Index`
2016-03-03 12:03:22 +08:00
3d06fb90fe *: replace interface{} with Datum in kv.Index 2016-03-03 11:41:09 +08:00
70b15ac171 Merge pull request #944 from pingcap/coocood/datum-table
table: replace interface{} with Datum in table.
2016-03-03 10:28:44 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
6b37f1b85b Merge pull request #943 from pingcap/coocood/datum-executor
executor: replace Executor interface{} with Datum.
2016-03-02 16:38:33 +08:00
af131d2127 executor: replace Executor interface{} with Datum. 2016-03-02 16:13:25 +08:00
ae112b68b9 Merge pull request #937 from pingcap/coocood/datum-row
*: replace interface with Datum in `ast.Row`.
2016-03-02 15:40:39 +08:00
3a25f68469 *: replace interface with Datum in ast.Row. 2016-03-02 15:32:42 +08:00
34a26ac62f Merge pull request #942 from pingcap/zxylvlp/ddl-fix-close-bug
ddl: fix a bug in ddl close
2016-03-02 15:24:52 +08:00
9b3a4ff434 ddl: fix a bug in ddl close
Fix a bug in https://github.com/pingcap/tidb/blob/master/ddl/ddl.go#L132.
2016-03-02 15:12:57 +08:00
98bf4120f9 Merge pull request #940 from pingcap/shenli/clean-license
*: Cleanup license
2016-03-02 14:14:56 +08:00
43a6064395 *: Cleanup license 2016-03-02 14:02:26 +08:00
208b79782e Merge pull request #939 from pingcap/shenli/mv-evaluator
*: Refactor package organization
2016-03-02 13:58:14 +08:00
043ebd5ec8 *: Refactor package organization
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
834c946bd5 Merge pull request #938 from pingcap/zimuxia/builtin-ctx
*: context.Context instead of map[interface{}]interface{}
2016-03-02 13:23:52 +08:00
xia
766365ea06 expression: update error log and remove ExprEvalArgCtx 2016-03-02 13:15:24 +08:00
xia
f3576b6b8d Merge branch 'master' into zimuxia/builtin-ctx
Conflicts:
	expression/builtin/groupby.go
2016-03-02 12:12:29 +08:00
xia
5974e84b1b expression: context.Context instead of map[interface{}]interface{} 2016-03-02 11:46:15 +08:00
2b1ba7ead3 Merge pull request #936 from pingcap/coocood/remove-aggr-builtin
expression/builtin: remove obsolete aggregate function.
2016-03-02 11:14:00 +08:00
192b6bf5be Merge branch 'master' into coocood/remove-aggr-builtin 2016-03-02 11:07:23 +08:00
fc7e5e3a11 Merge pull request #934 from pingcap/coocood/datum
util/types: new Compare implementation with Datum.
2016-03-02 11:05:58 +08:00
28a5befd7f expression/builtin: remove obsolete aggregate function. 2016-03-02 10:58:34 +08:00
dec809a4aa *: address comment. 2016-03-02 10:39:32 +08:00
e71e25e31c util/types: new Compare implementation with Datum. 2016-03-02 10:22:21 +08:00
b207d1a1ea Merge pull request #935 from pingcap/zimuxia/move-test
*: Move statement tests to executor package
2016-03-02 10:08:24 +08:00
xia
404e1348bd Merge branch 'master' into zimuxia/move-test 2016-03-02 09:56:18 +08:00
xia
539d2e5de2 *: move statement tests to executor package 2016-03-01 20:23:40 +08:00
xia
512fca2a79 parser: remove duplicate tests 2016-03-01 20:19:18 +08:00
ea3423ac40 Merge pull request #933 from pingcap/shenli/rm-rset-stmt-plan
Shenli/rm rset stmt plan
2016-03-01 17:08:46 +08:00
09fdc21529 *: Remove field package
It is useless when we remove field.ResultField
2016-03-01 16:32:16 +08:00