Commit Graph

291 Commits

Author SHA1 Message Date
c6637049ab plan: alloc plan ID in builder (#1301)
Avoid race condition.
2016-06-08 11:29:08 +08:00
e3597b6548 Add Datum.IsNull() fucntion (#1298)
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +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
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
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
37585a0022 Merge pull request #909 from pingcap/coocood/show
executor: support Show statement.
2016-02-19 17:17:06 +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
d1356f4307 performance_schema: code refactoring and remove old implementation 2016-02-02 15:25:51 +08:00
ab448aaa8c performance_schema: revised according to cuiqiu's comments 2016-01-25 17:59:28 +08:00
30337c9f07 performance_schema: revised according to liuqi, cuiqiu's comments 2016-01-25 17:11:58 +08:00
5c1bc1c086 performance_schema: initial empty tables 2016-01-25 16:24:10 +08:00
aa04996297 *: Address comments and fix a bug in show stmt
1. Address comments
2. Add charset info in show stmt result field. Workbench can run show stmt now.
2016-01-17 12:44:51 +08:00
50d858ff5c plan/plans: fix is null panic. 2016-01-04 16:02:05 +08:00
788b3de76c plan/plans: address comment. 2015-12-31 21:01:50 +08:00
926fbab7c9 *: address comment, add more tests. 2015-12-31 12:01:06 +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
c4e18bb422 Merge branch 'master' into coocood/pk-handle
Conflicts:
	plan/plans/index_test.go
2015-12-29 09:59:54 +08:00
bd3681ec0e *: minor changes 2015-12-28 12:49:26 +08:00
c3bdfb1fed stmt/stmts: insert use primary key value as record ID 2015-12-25 21:02:52 +08:00
48c8b75edb *: reduce string bytes convert 2015-12-25 20:52:36 +08:00
75a7b8b0d9 Merge pull request #793 from pingcap/shenli/kv-error
*: Move kv errors to kv package
2015-12-25 19:25:10 +08:00
42d999f00a kv: remove RangePrefetchOnCacheMiss option 2015-12-24 15:52:50 +08:00
87d007d234 *: Move kv errors to kv package 2015-12-24 13:34:03 +08:00
f68a3baac2 plans: Address comment 2015-12-23 10:55:51 +08:00
431006dab4 plans: Address comment 2015-12-23 09:20:31 +08:00
4ea31357ae *: Support show index from table 2015-12-22 23:05:06 +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
7b4a3da9b7 plans: Address comment 2015-12-21 17:56:26 +08:00
48fb16316b plans: Address comment 2015-12-21 16:28:19 +08:00
48d2d87a95 plans: Fix bug in show full tables 2015-12-21 13:38:09 +08:00
2fe9938ca0 *: Support show procedure status syntax 2015-12-21 12:15:56 +08:00
67ad875a29 *: Convert ErrKeyExists to MySQL error 2015-12-17 23:56:16 +08:00
edf2641df7 *: fix bytes convert issue 2015-12-15 17:22:40 +08:00
42d2694f37 Merge pull request #717 from pingcap/disksing/update-codec
update codec
2015-12-15 10:07:32 +08:00
a453ceca5f plans: show database like implementation. 2015-12-14 17:09:06 +08:00
a66bc590bc util/codec: remove stringFlag 2015-12-11 12:47:20 +08:00
e8eaf5f295 Merge pull request #688 from pingcap/qiuyesuifeng/refector-codec
Codec refactor.
2015-12-10 11:04:10 +08:00
54ddb7b4ed plans: Add a empty table PROFILING in INFORMATION_SCHEMA
Fix: https://github.com/pingcap/tidb/issues/696
2015-12-09 22:16:29 +08:00
910bd0c857 *: address comment. 2015-12-09 21:17:05 +08:00
af6635b079 *: address comments. 2015-12-09 19:08:37 +08:00
45200918a0 *: add error check for create table. 2015-12-08 17:24:18 +08:00
50f9e43e8b *: tiny clean up. 2015-12-08 16:39:25 +08:00
958ce2284f *: tiny refactor table record/index key codec. 2015-12-08 15:35:14 +08:00
97e328bf44 Merge pull request #636 from pingcap/shenli/index-id
*: Add ID to IndexInfo and use IndexID in prefix instead of IndexName
2015-11-30 19:39:59 +08:00
1a28ff83a0 Merge remote-tracking branch 'origin/master' into shenli/index-id
Conflicts:
	ddl/ddl.go
	kv/index_iter.go
2015-11-27 14:28:59 +08:00
75352d81a4 Merge branch 'master' into disksing/refactor-lasetinsertid
Conflicts:
	ddl/ddl_test.go
	plan/plans/from_test.go
	session_test.go
	stmt/stmts/insert.go
	stmt/stmts/replace.go
2015-11-27 13:29:51 +08:00