65fd9a77c6
Change bool to int64.
2016-03-11 20:27:01 +08:00
b8547f5734
Merge branch 'master' into zxylvlp/change-datum-in-ast
2016-03-11 20:05:52 +08:00
0fa8df585a
evaluator: change SetDatum and implement ToBool, ToInt
...
Change SetDatum and implement ToBool, ToInt.
2016-03-11 19:58:40 +08:00
89294597b2
Merge pull request #969 from pingcap/zimuxia/fix-explain-select
...
tidb-server: Fix the table field is null in the ResultField structure.
2016-03-11 17:43:27 +08:00
6beacc6795
tidb-server: fix the table field is null in the ResultField structure.
2016-03-11 14:48:37 +08:00
5a81a2f5d4
evaluator: change Get/SetValue to Get/SetDatum.
...
Chnage Get/SetValue to Get/SetDatum in evaluator.go .
2016-03-11 13:37:58 +08:00
a0d9292310
Merge pull request #966 from pingcap/zxylvlp/move-ast-functions-to-buildin
...
evaluator: move the evaluate of ast function date_add and date_sub to…
2016-03-11 09:49:06 +08:00
352c27829a
evaluator: move date_add and date_sub to buildin
...
Move the evaluate of ast function date_add and date_sub to builtin.
2016-03-10 19:04:33 +08:00
6b154fd7a8
Merge pull request #965 from pingcap/zimuxia/issue959
...
*: Fix issue#959
2016-03-10 18:05:47 +08:00
6feff794a3
*: address comments
2016-03-10 16:29:36 +08:00
ce531c7f0d
executor: fix issue959 and add tests
2016-03-10 15:13:18 +08:00
cd0a3dbe03
*: add Rebase interface and add tests
2016-03-10 15:13:18 +08:00
0f17f0c66b
Merge pull request #964 from pingcap/zxylvlp/move-buildin-files-to-evaluator
...
evaluator: move the files in buildin package to evaluator package
2016-03-10 10:36:04 +08:00
79962174ef
evaluator: move the files in buildin package to evaluator package
...
Move the files in buildin package to evaluator package.
2016-03-10 10:03:47 +08:00
7250f055cd
Merge pull request #960 from pingcap/zxylvlp/move-ast-functions-to-buildin
...
evaluator: move the evaluate of ast function trim to buildin
2016-03-09 18:23:13 +08:00
f4bf763d27
evaluator: move the evaluate of ast function trim to buildin
...
Move the evaluate of ast function trim to builtin.
2016-03-09 18:06:16 +08:00
ad031ef318
Merge pull request #957 from pingcap/zimuxia/issue-827
...
*: Fix issue #827
2016-03-09 17:01:57 +08:00
8729b45bb6
*: add tests
2016-03-09 16:52:52 +08:00
c3e3a7c580
*: fix issue 827
2016-03-08 18:07:44 +08:00
9f39a90227
Merge pull request #955 from pingcap/zxylvlp/move-ast-functions-to-buildin
...
evaluator: move the evaluate of ast function substring_index and locate to buildin
2016-03-08 17:48:08 +08:00
3fbcb85bb3
Merge remote-tracking branch 'origin/master' into zxylvlp/move-ast-functions-to-buildin
2016-03-08 17:34:18 +08:00
02ccdc363a
evaluator: move the evaluate of ast function substring_index and locate to buildin
...
Move the evaluate of ast function substring_index and locate to buildin.
And Change some logic in locate function to make its behavior more similar with MySQL.
2016-03-08 17:30:43 +08:00
e2b5c1829c
Merge pull request #958 from c-wind/master
...
ddl: fixed test bug
2016-03-08 16:53:41 +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
0fed9dbc5e
ddl: fixed test bug
2016-03-05 11:30:06 +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