Commit Graph

2367 Commits

Author SHA1 Message Date
757358331d Add license header 2015-12-22 12:41:20 +08:00
462f6a971e *: instroduce segment map 2015-12-22 12:19:16 +08:00
7dc33aa028 Merge pull request #768 from pingcap/ngaut/faster-multi-seek
boltdb:Make MultiSeek faster
2015-12-22 09:43:45 +08:00
55c0e14ab4 Address comments 2015-12-22 09:39:19 +08:00
a6a9b13f99 Merge pull request #763 from pingcap/shenli/show-procedure
*: Support show procedure status syntax
2015-12-22 09:33:50 +08:00
ebb820dbcd Merge pull request #769 from pingcap/shenli/convert-substringindex
*: Fix bug in convert_expr.go that miss SubstringIndexExpr
2015-12-22 09:32:45 +08:00
a63a22c961 Merge pull request #764 from pingcap/coocood/fix-composite-index
executor: make seek value with the same length of the index columns.
2015-12-22 09:31:17 +08:00
889359b62c kv: check error first in test. 2015-12-22 09:22:52 +08:00
eae212ba73 converter: Address comment 2015-12-22 09:01:52 +08:00
25d883da3c *: Address comment 2015-12-22 00:17:12 +08:00
07e6387a54 Merge pull request #771 from pingcap/shenli/variables-ident
parser: "variables" is an unreserved keyword
2015-12-21 23:49:00 +08:00
6e1094c16a parser: "variables" is an unreserved keyword 2015-12-21 23:27:45 +08:00
2015287078 *: Fix bug in convert_expr.go that miss SubstringIndexExpr 2015-12-21 22:37:51 +08:00
818fafd45a boltdb:Make MultiSeek faster 2015-12-21 21:26:22 +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
abc4701b00 executor: make seek value with the same length of the index columns.
For composite index with 2 columns, if we just pass one value in `Seek`, we will get the wrong result.
So this change create the seek value with the length of the composite index.
2015-12-21 13:10:40 +08:00
0539de5252 built-in/pow add test in parser and delete bultinPower function 2015-12-21 13:02:58 +08:00
2fe9938ca0 *: Support show procedure status syntax 2015-12-21 12:15:56 +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