df71593935
*: add tests for xapi
2016-04-01 11:26:29 +08:00
1bd25a14d8
store/localstore: add local store xapi support.
2016-03-29 20:33:24 +08:00
4319909e08
*: unify error format in infoschema package
2016-03-29 11:10:56 +08:00
92cfb941bb
Merge pull request #1013 from pingcap/coocood/remove-select-points
...
xapi/tipb: remove points in select request.
2016-03-25 18:07:30 +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
3ee6c17389
executor: do not append max int64 handle as pb range.
2016-03-25 14:50:05 +08:00
64cf670b7e
xapi/tipb: remove points in select request.
...
Points was introduced to reduce the data size if there are many point ranges.
But it makes code more complex than expected, and the reduced size is trivial compares to the total package size.
Remove it to simplify code.
2016-03-25 13:07:49 +08:00
93c06f236c
Merge pull request #1011 from pingcap/shenli/fix-989
...
executor: Fix replace statement bug when handle is changed.
2016-03-25 11:35:51 +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
0157bcddc1
executor: add XAPI executor.
2016-03-25 10:21:59 +08:00
6604c81f5a
*: fix issue#996 and handle prepared retry
2016-03-24 12:08:53 +08:00
cda31ae7ab
executor: Fix set multiple variables bug
...
Fix: https://github.com/pingcap/tidb/issues/998
Refactor some old code.
2016-03-23 17:42:55 +08:00
4a2fe15c63
Merge remote-tracking branch 'origin/master' into zimuxia/issue-962
...
Conflicts:
ddl/ddl.go
2016-03-18 14:38:59 +08:00
7a7026e750
*: add a null kind judgment in the update statement and update comments
2016-03-18 14:29:57 +08:00
4f90f76477
executor: update TestReplace
2016-03-18 12:23:55 +08:00
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
8729b45bb6
*: add tests
2016-03-09 16:52:52 +08:00
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
404e1348bd
Merge branch 'master' into zimuxia/move-test
2016-03-02 09:56:18 +08:00
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
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
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
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