Commit Graph

93 Commits

Author SHA1 Message Date
116098baf9 plan: Closes plans that do not return in Recordset, adds some docs. 2015-09-15 21:37:26 +08:00
4f8e58f7da plan: fix tests and clean up code 2015-09-15 21:08:12 +08:00
e5d9130b77 plan: remove Do method. 2015-09-15 19:54:59 +08:00
54d04df744 driver: add Next method for Recordset and use it in driver
So we can implement `driver.Rows.Next` without a goroutine.
2015-09-15 18:37:55 +08:00
c6186c6ad4 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 18:07:51 +08:00
011fdbf057 Merge pull request #146 from pingcap/shenli/issue-108
fix issue 108
2015-09-15 17:55:17 +08:00
45d4346b68 Merge branch 'master' into qiuyesuifeng/exists-subquery 2015-09-15 17:52:41 +08:00
59de8baca9 expressions: Address comment 2015-09-15 17:49:01 +08:00
94c91f4bfb expressions,tidb: unary handes bool type 2015-09-15 17:27:47 +08:00
026df59d8a expression/expressions: address comment. 2015-09-15 16:58:23 +08:00
bc216912f0 Merge remote-tracking branch 'origin/master' into shenli/issue-108
Conflicts:
	parser/parser_test.go
2015-09-15 16:04:04 +08:00
aae463b813 expression/expressions: tiny clean up. 2015-09-15 15:47:48 +08:00
c29d7263e5 expression/expressions: add not exists subquery test. 2015-09-15 15:42:02 +08:00
d8246b7fc5 expression/expressions: use plan.Next() insead of plan.Do(). 2015-09-15 15:41:22 +08:00
181e832c29 expressions: handle hex type 2015-09-15 15:09:36 +08:00
cb38257021 Merge branch 'master' into qiuyesuifeng/exists-subquery
Conflicts:
	parser/parser_test.go
2015-09-15 14:36:11 +08:00
cd7c022d04 Merge pull request #123 from pingcap/coocood/next-skeleton
plan: Next skeleton
2015-09-15 14:27:15 +08:00
9f40950832 *: Address comments 2015-09-15 13:55:52 +08:00
c60f34f010 *: Support binary operator
See: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#operator_binary
2015-09-15 13:26:12 +08:00
0d07f8f711 Merge branch 'master' into coocood/next-skeleton 2015-09-15 13:22:13 +08:00
d975040647 parser: Support cast char with charset
Bug found in phpMyAdmin
2015-09-15 12:31:56 +08:00
3946e7ee3d Merge pull request #143 from pingcap/siddontang/arithmetic-overflow
arithmetic overflow
2015-09-15 10:33:58 +08:00
b62ef806a1 Merge remote-tracking branch 'origin/master' into shenli/issue-108 2015-09-14 23:11:38 +08:00
3848a486e7 plans: Fix bug in join.go
Fix bug in appendRow
2015-09-14 23:05:02 +08:00
ab51ff934e parser, expression/expressions: fix parser conflict bug. 2015-09-14 18:43:57 +08:00
a896aa094f stmts: WIP test multiple table update 2015-09-14 18:14:34 +08:00
10d5f4b844 expressions: remove unnecessary comment 2015-09-14 16:58:51 +08:00
7b38b74d55 expressions: update integer divide and mod overflow check 2015-09-14 16:56:01 +08:00
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
b107da119b plan: add Close method 2015-09-12 13:38:43 +08:00