923dc22a75
Merge branch 'master' into qiuyesuifeng/exists-subquery
2015-09-14 16:54:46 +08:00
b3af815db0
Merge pull request #139 from pingcap/shenli/cleanup-function
...
Shenli/cleanup function
2015-09-14 16:51:17 +08:00
1c634cf43d
Merge pull request #141 from pingcap/ngaut/variable-clean-up
...
Tiny clean up
2015-09-14 15:44:40 +08:00
e3b6b391af
Merge pull request #140 from pingcap/siddontang/arthimetic-overflow
...
check arithmetic operation overflow
2015-09-14 15:16:11 +08:00
88553d8c4b
Merge remote-tracking branch 'origin/master' into shenli/merge-master
2015-09-14 13:58:28 +08:00
7161e9a0a7
expressions: check integer arithmetic operation overflow
2015-09-14 13:40:12 +08:00
55fb663476
parser: Refactor function
...
Avoid conflict for function name and keywords
Pass all the tests
2015-09-14 13:22:14 +08:00
310083bf5a
expression, localstore: Remove unused code
2015-09-14 12:00:17 +08:00
8849578ba8
expression/expressions: tiny clean up test.
2015-09-14 11:12:23 +08:00
aab38d7f3d
expression/expressions: add exists subquery test.
2015-09-14 11:12:02 +08:00
b7e641b92a
expression/expressions: fix exists subqueyr null value bug.
2015-09-14 11:11:44 +08:00
22612fd2f0
expression/expressions: add exists subquery support.
2015-09-14 11:11:11 +08:00
76475b2868
*: add base exists subquery framework.
2015-09-14 11:10:44 +08:00
730adf7fb5
Merge pull request #136 from pingcap/ngaut/tiny-clean-up
...
expression, parser: Tiny clean up
2015-09-14 10:42:09 +08:00
39b6503558
Merge pull request #125 from pingcap/qiuyesuifeng/any-all-support
...
Support any/some/all subquery.
2015-09-14 10:33:06 +08:00
002b2a3bf8
expression/expressions: address comment.
2015-09-14 10:27:57 +08:00
82f65233d6
expression/expressions: address comment.
2015-09-14 10:18:33 +08:00
58c7cf3a23
expression, parser: Tiny clean up
2015-09-14 10:15:44 +08:00
23f8e96f41
expressions: Address comment
2015-09-14 08:31:11 +08:00
b36ad55741
expressions: use integer for time in arithmetic op if FSP = 0
2015-09-14 08:23:04 +08:00
393e23b477
expression/expressions: tiny clean up.
2015-09-12 14:58:16 +08:00
ca60323edb
expression/expressions: address comment.
2015-09-12 12:03:17 +08:00
ace4331c97
expression/expressions: add error check test.
2015-09-11 22:52:21 +08:00
09502ecca2
expression/expressions: add column count check.
2015-09-11 22:51:54 +08:00
32edd1c08f
expression/expressions: add cmp subquery test.
2015-09-11 22:31:38 +08:00
1642355dfd
expression/expressions: add null value check.
2015-09-11 22:30:54 +08:00
02c9334da4
expression/expressions: add all/any for subquery comparation.
...
support subquery.
2015-09-11 19:50:37 +08:00
f713eb201a
*: add base compare subquery framework
...
@qiuyesuifeng
Conflicts:
parser/parser_test.go
2015-09-11 17:49:54 +08:00
6ce10d1a4d
expressions,parser: IN expression uses subquery
2015-09-11 13:45:47 +08:00
6ecc7cccfd
Address comment
2015-09-11 13:28:31 +08:00
ca163c38f7
expressions: check subquery column count
2015-09-11 13:09:54 +08:00
af8d96dff3
Address comment
2015-09-11 11:56:39 +08:00
825bb7c6a3
expressions: update subquery
2015-09-11 11:48:51 +08:00
396b0a2bca
Merge pull request #100 from pingcap/coocood/convert
...
util/types, column, expressions: use types.Convert to replace Col.Cas…
2015-09-10 23:30:54 +08:00
1758d53dc8
Address comment
2015-09-10 23:13:32 +08:00
a80d131c06
util/types, column, expressions: use types.Convert to replace Col.CastValue
...
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.
For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
2055d891ed
expressions: support row in IN expression
2015-09-10 18:35:03 +08:00
af42efef32
expressions: check with columnNumber
2015-09-10 18:35:03 +08:00
89455adedc
Merge pull request #89 from pingcap/coocood/unify-int-type
...
*: unify all integer types to int64 and uint64
2015-09-10 11:26:49 +08:00
7e5fa1175e
Address comment
2015-09-10 11:07:29 +08:00
ecc04adb5b
expression: only comparison operation support row constructor
2015-09-10 09:32:08 +08:00
18f23afbdb
expression: update variable name
2015-09-09 22:35:25 +08:00
46852b9a3c
expression: add Row types in helper function
2015-09-09 22:35:25 +08:00
ce99391d9b
expression: add Row expression
2015-09-09 22:35:25 +08:00
a5e0858986
*: unify all integer types to int64 and uint64
...
Simplify type related codes.
2015-09-09 22:21:15 +08:00
1e4cdb813f
*: update QL-LICENSE and STRUTIL-LICENSE.
2015-09-08 19:25:50 +08:00
b2d62f9fb6
mysqldef, kv, stmt, stmt/stmts, parser, field: fix-copyright-infringement.
2015-09-07 09:05:15 -04:00
0498db499c
Merge pull request #42 from Unknwon/iconv
...
expression/expressions: replace iconv-go with text/transform
2015-09-07 17:49:15 +08:00
af3626fcbd
expression/expressions: replace iconv-go with text/transform
...
Remove CGO requirement for compiling iconv-go currently is using.
Replace it with native implementation of Go.
2015-09-07 05:22:15 -04:00
d97c747264
expressions: operator supports []byte type
2015-09-07 16:08:32 +08:00