Commit Graph

21 Commits

Author SHA1 Message Date
c26dfd54e4 executor: Change interface to datum in executor. (#1103)
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
08bf548700 *: Fix replace statement conflict with multiple row bug.
Fix: https://github.com/pingcap/tidb/issues/1012
2016-03-25 16:40:12 +08:00
211a3c0c9c executor: Fix replace statement bug when handle is changed.
Fix: https://github.com/pingcap/tidb/issues/989
When replace row we should check if handle is changed.
2016-03-25 11:04:28 +08:00
xia
6604c81f5a *: fix issue#996 and handle prepared retry 2016-03-24 12:08:53 +08:00
xia
7a7026e750 *: add a null kind judgment in the update statement and update comments 2016-03-18 14:29:57 +08:00
xia
15c0319294 *: fix issue 962 and handle other questions about auto increment. 2016-03-18 12:23:55 +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
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
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
09fdc21529 *: Remove field package
It is useless when we remove field.ResultField
2016-03-01 16:32:16 +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
a60199f5cd *: Support replace stmt in new plan 2016-02-17 10:43:21 +08:00
5461e6256b *: Support InsertStmt in new plan. 2016-02-16 17:50:33 +08:00
f164aa5f1e *: Support delete in new plan
Move DeleteStmt from old plan to new plan.
2016-02-15 11:41:52 +08:00
178c8d5b43 executor: address comment. 2016-02-04 15:44:39 +08:00
51a3148866 executor: support 'UPDATE' statement.
A test case is Skipped, which will be fixed in following PR.
2016-02-04 14:21:54 +08:00