Commit Graph

2212 Commits

Author SHA1 Message Date
xia
7a7026e750 *: add a null kind judgment in the update statement and update comments 2016-03-18 14:29:57 +08:00
xia
4f90f76477 executor: update TestReplace 2016-03-18 12:23:55 +08:00
xia
15c0319294 *: fix issue 962 and handle other questions about auto increment. 2016-03-18 12:23:55 +08:00
ce96978182 *: Add index option in IndexInfo
1. Add index option in IndexInfo.
2. Show index option content when running show index statement.
2016-03-16 22:09:11 +08:00
0fa8df585a evaluator: change SetDatum and implement ToBool, ToInt
Change SetDatum and implement ToBool, ToInt.
2016-03-11 19:58:40 +08:00
5a81a2f5d4 evaluator: change Get/SetValue to Get/SetDatum.
Chnage Get/SetValue to Get/SetDatum in evaluator.go .
2016-03-11 13:37:58 +08:00
ce531c7f0d executor: fix issue959 and add tests 2016-03-10 15:13:18 +08:00
xia
8729b45bb6 *: add tests 2016-03-09 16:52:52 +08:00
xia
c3e3a7c580 *: fix issue 827 2016-03-08 18:07:44 +08:00
ac12b71714 *: replace interface{} with Datum in convert. 2016-03-07 14:11:17 +08:00
515f193bd2 *: Remove coldef package
There are lots of redundancies between ast and coldef. So we remove
coldef.
2016-03-05 19:11:04 +08:00
449b34f24b *: replace interface{} with Datum in codec. 2016-03-04 12:54:34 +08:00
ff94659286 *: replace interface{} with Datum in index range 2016-03-03 22:15:17 +08:00
3d06fb90fe *: replace interface{} with Datum in kv.Index 2016-03-03 11:41:09 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
af131d2127 executor: replace Executor interface{} with Datum. 2016-03-02 16:13:25 +08:00
3a25f68469 *: replace interface with Datum in ast.Row. 2016-03-02 15:32:42 +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
e71e25e31c util/types: new Compare implementation with Datum. 2016-03-02 10:22:21 +08:00
xia
404e1348bd Merge branch 'master' into zimuxia/move-test 2016-03-02 09:56:18 +08:00
xia
539d2e5de2 *: move statement tests to executor package 2016-03-01 20:23:40 +08:00
09fdc21529 *: Remove field package
It is useless when we remove field.ResultField
2016-03-01 16:32:16 +08:00
9f81af66ee Merge remote-tracking branch 'origin/master' into shenli/rm-rset-stmt-plan 2016-03-01 14:00:29 +08:00
b5fbabc05e *: Remove plan.go/stmt.go/rset.go
Move interface into ast and remove interfaces.
2016-03-01 13:53:48 +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
46e4201a13 Merge pull request #930 from pingcap/zimuxia/update-admin-test
executor: Update admin show ddl test
2016-02-29 15:54:26 +08:00
xia
8ef8069df8 executor: update admin show ddl test 2016-02-29 15:36:27 +08:00
68eb8e567e *: remove old code 2016-02-29 11:40:32 +08:00
64912c8597 *: Implement perfschema with MemoryTable 2016-02-29 10:28:30 +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
xia
79eb12187b *: rename GetDDLBgInfo to GetBgDDLInfo 2016-02-22 11:27:19 +08:00
060833e906 Merge pull request #912 from pingcap/coocood/table-seek
*: add `Table.Seek` method and use handle for RowKeyEntry.
2016-02-21 21:59:40 +08:00
9df628be49 executor: check error first then check found. 2016-02-20 12:28:09 +08:00
xia
5d92bac8a5 *: support show ddl background info 2016-02-19 18:12:46 +08:00
314fea7954 *:fix build after Table interface change. 2016-02-19 17:27:49 +08:00
37585a0022 Merge pull request #909 from pingcap/coocood/show
executor: support Show statement.
2016-02-19 17:17:06 +08:00
2c66123d72 executor: use struct{} for map value. 2016-02-19 16:24:43 +08:00
b47cf737c8 *: add Table.Seek method and use handle for RowKeyEntry.
Avoid calling `table/tables` methods in `executor`, makes `Table` interface independent.
2016-02-19 14:31:04 +08:00
ec475aae5f *: simplify 'table.Table` interface.
Makes it easier to implement a in-memory table.
2016-02-18 20:58:53 +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
237c4f6be6 executor: support CreateUserStmt, SetPwdStmt. 2016-02-16 16:13:09 +08:00