Commit Graph

253 Commits

Author SHA1 Message Date
1e1ef8a0bd *: Support connection_id()
Fix: https://github.com/pingcap/tidb/issues/715
2015-12-14 14:40:55 +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
a54b712137 expression: remove unnecessary todo comment. 2015-12-05 20:09:35 +08:00
3ba316fe55 optimizer, executor: use index range 2015-11-25 21:44:55 +08:00
242444b182 Merge branch 'master' into coocood/new-plan 2015-11-24 14:17:27 +08:00
d8ae7c1e36 *: Make go vet happy 2015-11-23 13:19:12 +08:00
49bc1c8d9c executor: fix bugs, pass more tests. 2015-11-18 17:19:43 +08:00
9af46bbdb6 Merge branch 'master' into coocood/new-plan 2015-11-18 10:06:35 +08:00
c01af56fc3 executor, optimizer: new executor and optimizer implementation 2015-11-13 23:24:10 +08:00
xia
415085546b Merge branch 'master' into zimuxia/issue525
Conflicts:
	expression/variable.go
	parser/scanner.l
	plan/plans/show.go
	plan/plans/show_test.go
	stmt/stmts/set.go
2015-11-09 20:22:05 +08:00
xia
f35ec29b6c *: rename GlobalSysVarAccessor to GlobalVarAccessor,
use GetSysVar and GetStatusVar.
2015-11-09 20:02:49 +08:00
b803cabc2f Merge pull request #544 from pingcap/shenli/refactor-globalvar
*: Use Bind/Get global sysvar accessor instead of type assertion
2015-11-09 16:55:03 +08:00
fc980462a0 Merge pull request #524 from pingcap/zimuxia/issue-419
parser: Support ADDDATE and SUBDATE function
2015-11-09 13:25:17 +08:00
7d49f39f2e *: Use Bind/Get global sysvar accessor instead of type assertion 2015-11-09 13:02:30 +08:00
8c99975ac4 *: fix mybatis test error. 2015-11-07 16:57:10 +08:00
xia
3b1f107d4b *: add comments 2015-11-06 21:29:08 +08:00
xia
b98b6920b9 *: add comments 2015-11-06 21:23:11 +08:00
xia
5ce49e128d *: add test 2015-11-06 17:33:05 +08:00
xia
69b2c31291 expression: support adddate or subdate function with days form 2015-11-06 17:30:52 +08:00
df4cc43703 expression: update comments 2015-10-31 17:09:01 +08:00
xia
480f7f358c *: use a const int value instead of string 2015-10-30 14:50:12 +08:00
xia
414ae7b732 *: rename DateCast to DateArith 2015-10-30 13:30:44 +08:00
xia
c7e3951f73 expression: update the variable name in evalArgs 2015-10-30 11:48:36 +08:00
xia
ebd6cce017 expression: rename date_add_test.go to date_cast_test.go and
add date_sub operation test
2015-10-30 11:30:16 +08:00
xia
a1de92a96b expression: add date_sub operation 2015-10-30 11:28:10 +08:00
xia
47677955e5 expression: rename date_add.go to date_cast.go and rename VisitDateAdd
to VisitDateCast
2015-10-30 11:24:37 +08:00
xia
ad94d351e5 expression: keep replace in order in builtin 2015-10-29 09:29:57 +08:00
784a677317 expression: handle DataItem nil 2015-10-28 21:08:38 +08:00
xia
d48ac8ca26 Merge branch 'master' into zimuxia/replace-func 2015-10-28 17:53:50 +08:00
xia
a39d9daf86 expression: rename Val to val 2015-10-28 17:52:30 +08:00
xia
ab735686f0 expression: add replace function 2015-10-28 17:52:02 +08:00
628922ae35 Merge pull request #439 from pingcap/shenli/string-literal
Shenli/string literal
2015-10-28 14:54:51 +08:00
8feb08325f expression: Remove useless comment. 2015-10-26 21:54:21 +08:00
2ed175243e Merge remote-tracking branch 'origin/master' into shenli/string-literal
Conflicts:
	expression/cast.go
2015-10-26 15:10:07 +08:00
ebfb3377c8 *: Address comment and code cleanup 2015-10-26 15:06:08 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
f7942d5c5a Merge remote-tracking branch 'origin/master' into shenli/global-variable 2015-10-26 11:17:56 +08:00
5f2167a5d9 *: Get/Set global sys var from/to kv store. 2015-10-25 22:38:28 +08:00
220285ca66 Merge pull request #433 from pingcap/qiuyesuifeng/unify-cast-convert
Refactor cast by using convert function.
2015-10-24 00:21:53 +08:00
359311972e expression: Address comment 2015-10-23 19:45:43 +08:00
10d90f2637 *: parser returns DataItem for stringLiteral instead of raw string. 2015-10-23 11:36:07 +08:00
9ea0b58c7e expression: Fix bug found in sqllogictest-aggregates 2015-10-22 14:13:33 +08:00
13ffc0b026 Merge branch 'master' into qiuyesuifeng/unify-cast-convert 2015-10-22 12:03:29 +08:00
64bec698fe *: refactor cast by using convert function. 2015-10-22 11:51:08 +08:00
2a584dcc92 expression: Address comment 2015-10-21 22:50:42 +08:00
ff328a1c60 *: Address comments 2015-10-21 14:22:32 +08:00
de767ac317 *: Fix failed cases in sqllogictest-expr 2015-10-21 13:15:17 +08:00
3442b777ca Merge remote-tracking branch 'origin/master' into shenli/wrap-data 2015-10-19 19:17:01 +08:00
06e7e891af Merge pull request #414 from pingcap/goroutine/rename
*: Rename mysqldef to mysql
2015-10-19 16:35:29 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00