Commit Graph

69 Commits

Author SHA1 Message Date
xia
7066bb4ea4 executor: update log 2016-01-07 13:08:07 +08:00
xia
acd1ccfdac executor: address comments 2016-01-07 11:26:05 +08:00
xia
d7fecbdbea *: address comments 2016-01-06 17:34:08 +08:00
xia
6e895bc997 executor: add test 2016-01-06 15:09:14 +08:00
xia
aba44d445c Merge branch 'master' into zimuxia/inspectkv-sql 2016-01-06 12:46:32 +08:00
xia
896ee778a2 *: address comments 2016-01-06 12:40:10 +08:00
0d3070a720 Merge branch 'master' into coocood/pk-handle2
Conflicts:
	executor/executor.go
2016-01-04 11:48:10 +08:00
a9f58a0be7 executor: address comment. 2016-01-04 11:33:23 +08:00
9b17f3f319 executor: clean up. 2016-01-02 10:44:13 +08:00
44fa34e4a6 executor: tiny clean up. 2016-01-02 09:09:48 +08:00
926fbab7c9 *: address comment, add more tests. 2015-12-31 12:01:06 +08:00
10c8f3a4c7 executor: refine table scan executor. 2015-12-30 15:52:35 +08:00
e0f944c260 *: update comments 2015-12-30 11:46:43 +08:00
e882caf8ff *: Unify PK and handle Phase2
Support table range scan.
Avoid creating PK handle index.
2015-12-29 22:40:10 +08:00
xia
be2039cf44 Merge branch 'master' into zimuxia/inspectkv-sql 2015-12-29 20:41:24 +08:00
xia
8993f0e148 *: add test 2015-12-29 20:40:36 +08:00
e45c31b89d Merge pull request #754 from hhkbp2/complete-adddate,subdate-functions
add ast evaluation for date arith
2015-12-29 14:35:00 +08:00
xia
246694cd88 executor: support admin check table and admin show ddl 2015-12-29 11:43:23 +08:00
405e6c57d4 add ast evaluation for date arith 2015-12-29 11:42:02 +08:00
bd3681ec0e *: minor changes 2015-12-28 12:49:26 +08:00
48c8b75edb *: reduce string bytes convert 2015-12-25 20:52:36 +08:00
xia
d1eb161fad *: plan support admin check table and admin show ddl 2015-12-25 18:14:52 +08:00
852ad1dc0f Merge pull request #789 from pingcap/coocood/parser-parse
parser: remove YYParse function, use Parse and ParseOneStmt instead.
2015-12-24 11:51:55 +08:00
264ca7f477 executor: address comment. 2015-12-24 10:23:41 +08:00
c4cf06cfc4 executor: fix error message typo 2015-12-23 18:34:01 +08:00
bfd188d844 parser: remove YYParse function, use Parse and ParseOne instead. 2015-12-23 18:25:28 +08:00
9481690a49 executor: add unit tests 2015-12-23 18:13:49 +08:00
56ae5f3611 Merge pull request #751 from pingcap/coocood/prepare
executor: implement executor for prepared statement.
2015-12-23 18:12:32 +08:00
2d7a105745 *: address comment 2015-12-23 14:52:45 +08:00
4ea31357ae *: Support show index from table 2015-12-22 23:05:06 +08:00
bca6bbdafe executor: address comment. 2015-12-22 13:37:19 +08:00
cce746ee8a Merge branch 'master' into coocood/prepare
Conflicts:
	session.go
2015-12-22 13:24:57 +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
eae212ba73 converter: Address comment 2015-12-22 09:01:52 +08:00
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
0037ba7add executor: move defer outside of for loop. 2015-12-21 17:53:26 +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
2fe9938ca0 *: Support show procedure status syntax 2015-12-21 12:15:56 +08:00
3b926794f6 executor: fix build 2015-12-18 19:59:18 +08:00
c5fae25a60 optimizer: validates '?' is not allowed in non-prepare mode. 2015-12-18 19:40:45 +08:00
06a0f05747 optimizer: fix field name, executor: do optimizer.Prepare only if supported. 2015-12-18 16:56:08 +08:00
dcdb32dbde plan. executor: support prepared statement. 2015-12-18 16:56:08 +08:00
bbb5a5ead6 converter: don's convert to old *expression.Position, convert to value instead.
It will be casted to position expression by `rests.castPosition`
2015-12-15 14:44:47 +08:00
cfb50d64b3 executor: rename indexSIngleCompare to indexColumnCompare 2015-12-10 19:43:24 +08:00
d98c7f5fac executor: handle multi column index
Multi column index scan was handled in `IndexScan` plan but not handled in `IndexScanExec` executor.
2015-12-10 17:35:46 +08:00
e8eaf5f295 Merge pull request #688 from pingcap/qiuyesuifeng/refector-codec
Codec refactor.
2015-12-10 11:04:10 +08:00
e6f3eb4137 executor: fix build. 2015-12-09 18:26:58 +08:00
1a17ea014e Merge remote-tracking branch 'origin/master' into shenli/fix-issue-694 2015-12-09 17:53:33 +08:00