Commit Graph

2353 Commits

Author SHA1 Message Date
25d883da3c *: Address comment 2015-12-22 00:17:12 +08:00
2015287078 *: Fix bug in convert_expr.go that miss SubstringIndexExpr 2015-12-21 22:37:51 +08:00
7ffe287551 Merge pull request #765 from pingcap/shenli/show-full-tables
plans: Fix bug in show full tables
2015-12-21 21:19:52 +08:00
7b4a3da9b7 plans: Address comment 2015-12-21 17:56:26 +08:00
48fb16316b plans: Address comment 2015-12-21 16:28:19 +08:00
9b1a047f5b Merge pull request #756 from sllt/master
parser: support built-in function pow
2015-12-21 16:26:44 +08:00
186f0cb3ee built-in/pow add test in parser 2015-12-21 16:11:05 +08:00
178a1d25e2 Merge pull request #759 from yanzhe-chen/check-args-num
evaluator: Check function call min and max arguments in new evaluator.
2015-12-21 16:06:01 +08:00
7247774ae6 Merge pull request #762 from pingcap/disksing/localstore-engine-test
localstore: add tests for engine.MultiSeek
2015-12-21 16:04:35 +08:00
4f551e17da evaluator: Check return values from valid call expressions in funcCall test. 2015-12-21 15:13:09 +08:00
55d12c184f evaluator: Refine tests for funcCall.
1. Remove the fake builtin.Func.
2. Fix one bug in handling unlimited arguments upper bound.
2015-12-21 14:45:51 +08:00
33d71ad3b0 Merge remote-tracking branch 'remotes/master' 2015-12-21 13:39:49 +08:00
48d2d87a95 plans: Fix bug in show full tables 2015-12-21 13:38:09 +08:00
5d9e7bb4fc fix built-in/pow test 2015-12-21 13:30:01 +08:00
0539de5252 built-in/pow add test in parser and delete bultinPower function 2015-12-21 13:02:58 +08:00
bb9630ce6c *: address comment 2015-12-21 11:56:08 +08:00
01ea0ab60f Merge branch 'master' into check-args-num 2015-12-21 11:50:32 +08:00
a5dbd000dc evaluator: Add tests for funcCall. 2015-12-21 11:45:44 +08:00
e281b35082 Merge pull request #761 from pingcap/shenli/fix-curtime
parser: fix parsing curtime
2015-12-21 11:26:44 +08:00
56a19f4e67 localstore: add tests for engine.MultiSeek 2015-12-21 11:25:37 +08:00
9084d5d465 parser: fix parsing curtime
1. It can be used as an identifier
2. It should be called with parentheses
2015-12-21 11:13:45 +08:00
9bc1ea2610 Merge pull request #755 from yanzhe-chen/time-func
builtin/time: support CURRENT_TIME(), CURTIME()
2015-12-21 10:31:48 +08:00
a5b5fd67fa evaluator: Check function call min and max arguments in new evaluator.
For github issue #758.
2015-12-20 23:17:17 +08:00
0b70b41cfe builtin/time: fix one bug in function mapping
The max arg should be 1, which means accept one argument.
2015-12-20 19:31:23 +08:00
1009e715c9 builtin/time: Treat curTime as a synonym to currentTime and handle it at scanner part. 2015-12-20 17:28:21 +08:00
7822670132 builtin/time: Use mysql.Duration instead of mysql.Time and add length check 2015-12-20 16:47:10 +08:00
8d938f32ab builtin/time: Add tests for the fsp argument in builtinCurrentTime() 2015-12-20 14:21:58 +08:00
8d0bf06cd5 builtin/time: Add tests in parser and support the fsp argument 2015-12-20 13:34:39 +08:00
218457791c builtin/time: Add tests for CURRENT_TIME(), CURTIME() 2015-12-20 11:07:51 +08:00
0df4f893b3 Merge pull request #757 from yanzhe-chen/typo-fixing
doc: fix some typos and syntax errors.
2015-12-20 10:41:37 +08:00
ee333b554e fix alignment 2015-12-20 01:06:36 +08:00
8a0a7544bd parser: support built-in function pow 2015-12-20 00:52:20 +08:00
9908dd49b2 doc: fix some typos and syntax errors. 2015-12-20 00:17:09 +08:00
c01879ba2e parser: support built-in function pow 2015-12-19 23:51:04 +08:00
1b0c2e38cf builtin/time: support CURRENT_TIME(), CURTIME()
For github issue #236.
2015-12-19 22:29:13 +08:00
60ec9fccff Merge pull request #747 from pingcap/shenli/mysql-error
Shenli/mysql error
2015-12-19 10:09:12 +08:00
f71e4ffbbd *: Address comment 2015-12-19 09:48:36 +08:00
5d4dea4a4e Merge pull request #753 from pingcap/ngaut/wait-for-store-close
store: Don't do any seek operation after store closed.
2015-12-18 23:17:48 +08:00
1f9964cab6 store: Don't do any seek operation after store closed. 2015-12-18 21:21:22 +08:00
440c8b9ea5 Merge remote-tracking branch 'origin/master' into shenli/mysql-error 2015-12-18 17:56:36 +08:00
9030ba8fcd Merge pull request #750 from pingcap/ngaut/cleanup-kv
kv: clean up more
2015-12-18 15:05:38 +08:00
83a3a09d36 Merge pull request #740 from pingcap/coocood/type-infer
optimizer: typeInferrer supports more expression.
2015-12-18 15:05:34 +08:00
d0999dcf49 optimizer: use HasLen checker. 2015-12-18 14:37:17 +08:00
c7f33cd14b kv: clean up more 2015-12-18 13:50:31 +08:00
108dc596e3 optimizer: address comment. 2015-12-18 13:49:45 +08:00
6dee6b6945 Merge pull request #748 from pingcap/ngaut/cleanup-kv
kv: Clean up kv.go
2015-12-18 13:45:40 +08:00
e331d3543a Address comments 2015-12-18 13:40:25 +08:00
32684c0325 Add error.go to kv 2015-12-18 13:21:52 +08:00
2321bc267c Group all errors together 2015-12-18 13:21:31 +08:00
bbcdf33a91 Remove compactor interface in kv.go 2015-12-18 13:14:02 +08:00