bbffc220ed
*: Tiny cleanup ( #1145 )
...
Fix typo
2016-04-23 10:27:13 +08:00
3b25069f84
evaluator: avoid evaluate independent subquery multiple times. ( #1144 )
...
* evaluator: avoid evaluate independent subquery multiple times.
* ast: rename UseOuterContext to Correlated.
2016-04-22 12:51:18 +08:00
d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
b51ab763df
plan: support limit pushdown ( #1105 )
...
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
c26dfd54e4
executor: Change interface to datum in executor. ( #1103 )
...
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
bfa3ed7a2d
*: Fix issue #1071 ( #1088 )
...
* *: fix issue#1071 and add tests
* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
bdac8ecafa
Merge branch 'master' into hanfei
2016-04-12 14:17:33 +08:00
bebacf4f3a
evaluator: just one time eval ( #1062 )
...
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
3a92f567b9
executor: support limit sort
2016-04-12 12:09:25 +08:00
8d9bf2fd6d
executor: xapi support desc ordered table lookup. ( #1078 )
...
* executor: xapi support desc ordered table lookup.
* *: fix golint comment.
* executor: fix push order for multi-column index.
2016-04-10 18:01:49 +08:00
f5daa55eb6
executor: support xapi expression push down. ( #1069 )
...
* executor: support xapi expression push down.
* *: address comment.
* *: fix subquery select from same table.
* executor: add break when matched.
* store/localstore: address comment.
2016-04-09 17:03:29 +08:00
08034540f0
*: Add leak test
...
* *: add leak test and tiny clean up
* *: unify test format and add leak test
Conflicts:
store/localstore/compactor_test.go
mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
dc8bd3e337
*: optimization, do not read not referenced columns.
2016-04-06 13:29:21 +08:00
f8696d66c0
optimizer/plan: check join path subquery when attach condition.
...
https://github.com/pingcap/tidb/issues/1031
2016-04-01 13:30:46 +08:00
1fcaa42bb3
*: Fix ddl test and inadvertently modify column info.
2016-03-30 19:21:29 +08:00
1bd25a14d8
store/localstore: add local store xapi support.
2016-03-29 20:33:24 +08:00
15c0319294
*: fix issue 962 and handle other questions about auto increment.
2016-03-18 12:23:55 +08:00
953c66499a
optimizer: fix a bug in optimizeJoinOrder
...
Fix a bug in optimizeJoinOrder.
2016-03-16 15:43:26 +08:00
8c217762c0
optimizer: fix a bug in newInnerJoinPath
...
Fix a bug in newInnerJoinPath.
2016-03-16 10:26:19 +08:00
352c27829a
evaluator: move date_add and date_sub to buildin
...
Move the evaluate of ast function date_add and date_sub to builtin.
2016-03-10 19:04:33 +08:00
f4bf763d27
evaluator: move the evaluate of ast function trim to buildin
...
Move the evaluate of ast function trim to builtin.
2016-03-09 18:06:16 +08:00
02ccdc363a
evaluator: move the evaluate of ast function substring_index and locate to buildin
...
Move the evaluate of ast function substring_index and locate to buildin.
And Change some logic in locate function to make its behavior more similar with MySQL.
2016-03-08 17:30:43 +08:00
afd369e042
evaluator: move the evaluate of ast functions to buildin
...
Move the evaluate of ast functions extract, convert and substring to buildin.
2016-03-08 10:50:14 +08:00
ff94659286
*: replace interface{} with Datum in index range
2016-03-03 22:15:17 +08:00
043ebd5ec8
*: Refactor package organization
...
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
f3576b6b8d
Merge branch 'master' into zimuxia/builtin-ctx
...
Conflicts:
expression/builtin/groupby.go
2016-03-02 12:12:29 +08:00
e71e25e31c
util/types: new Compare implementation with Datum.
2016-03-02 10:22:21 +08:00
d9f98132ee
ast: introduce 'Datum'
...
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
2016-03-01 10:54:59 +08:00
38f275319d
Merge remote-tracking branch 'origin/master' into zxylvlp/addAStrcmpBuildin
2016-02-29 15:48:06 +08:00
431879e287
buildinFunc: add a strcmp function
...
Add a function needed in https://github.com/pingcap/tidb/issues/310 .
2016-02-29 15:43:56 +08:00
64912c8597
*: Implement perfschema with MemoryTable
2016-02-29 10:28:30 +08:00
1dbc9b16e6
Merge pull request #916 from pingcap/shenli/newplan-info
...
Implement Information_Schema with memory table
2016-02-25 11:47:23 +08:00
c60122c8ea
*: address comments
2016-02-24 20:39:08 +08:00
32c6ee2cbf
executor: support Explain
2016-02-24 17:46:59 +08:00
77bedd0794
Merge pull request #914 from pingcap/zimuxia/show-ddl
...
*: Support show background DDL info
2016-02-22 11:40:01 +08:00
79eb12187b
*: rename GetDDLBgInfo to GetBgDDLInfo
2016-02-22 11:27:19 +08:00
8c7516324d
Merge branch 'shenli/dev-info' into shenli/newplan-info
2016-02-21 11:49:50 +08:00
9997e7f46d
*: Use memory table to implement Information_Schema
2016-02-20 21:53:43 +08:00
6188d96f33
optimizer/plan: fix Accept method for plans.
2016-02-19 19:40:22 +08:00
5d92bac8a5
*: support show ddl background info
2016-02-19 18:12:46 +08:00
37585a0022
Merge pull request #909 from pingcap/coocood/show
...
executor: support Show statement.
2016-02-19 17:17:06 +08:00
501c876459
optimizer: only create public result fields for table.
...
Fix `make ddl_test`.
2016-02-19 11:22:30 +08:00
58e667fb5f
executor: support Show statement.
2016-02-18 15:49:19 +08:00
4f2f242fdf
executor: support DDL statements.
2016-02-17 16:36:26 +08:00
0ff85e73ac
Merge pull request #905 from pingcap/shenli/grant
...
*: Support grant stmt in new plan.
2016-02-17 15:27:56 +08:00
138a40eca7
*: Support grant stmt in new plan.
2016-02-17 14:51:07 +08:00
f0326086aa
parser/coldef: remove dependency on expression.
2016-02-17 14:12:08 +08:00
a60199f5cd
*: Support replace stmt in new plan
2016-02-17 10:43:21 +08:00
f57c558c10
Merge pull request #902 from pingcap/shenli/newplan-insert
...
Support InsertStmt in new plan
2016-02-16 19:12:32 +08:00
5461e6256b
*: Support InsertStmt in new plan.
2016-02-16 17:50:33 +08:00