Commit Graph

119 Commits

Author SHA1 Message Date
a90413a656 kv, table: use minimal kv interfaces 2015-12-16 17:22:25 +08:00
42d2694f37 Merge pull request #717 from pingcap/disksing/update-codec
update codec
2015-12-15 10:07:32 +08:00
xia
d5933690de *: address comments 2015-12-11 19:56:07 +08:00
a66bc590bc util/codec: remove stringFlag 2015-12-11 12:47:20 +08:00
65954424d1 *: address comment 2015-12-10 20:31:51 +08:00
c5480f2bb9 util/codec: use passed-in buffer in encode functions 2015-12-10 20:22:44 +08:00
ef71bb7e2a util/codec: address comments 2015-12-10 17:25:33 +08:00
xia
a78548e8d0 Merge branch 'master' into zimuxia/inspect-kv
Conflicts:
	table/tables/tables.go
2015-12-10 16:55:30 +08:00
xia
8f89c2275e *: use scanning instead of getting the whole data 2015-12-10 16:19:11 +08:00
82b9b4c499 kv: remove kv.encoder, use codec directly 2015-12-10 11:13:05 +08:00
910bd0c857 *: address comment. 2015-12-09 21:17:05 +08:00
af6635b079 *: address comments. 2015-12-09 19:08:37 +08:00
2d5d930ee2 Merge branch 'master' into qiuyesuifeng/refector-codec 2015-12-09 18:17:06 +08:00
facce7468a *: simplify record/index key codec. 2015-12-09 16:26:24 +08:00
xia
c120ba8dab *: address comments 2015-12-09 14:51:04 +08:00
7336360a59 *: return error instead of log.Fatal for TableFromMeta 2015-12-09 14:30:38 +08:00
xia
9aca8dc288 *: update IterRecords and RowWithCols 2015-12-09 13:21:25 +08:00
xia
200b35b061 Merge branch 'master' into zimuxia/inspect-kv
Conflicts:
	kv/kv.go
2015-12-09 12:27:01 +08:00
xia
9a348f0a14 inspectkv: support inspect kv 2015-12-09 12:11:24 +08:00
8d4fd13ef9 *: Tiny clean up 2015-12-09 12:00:31 +08:00
df410c9eb6 *: tiny clean up. 2015-12-08 22:31:49 +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
44819de730 *: fix key prefix. 2015-12-08 14:16:03 +08:00
307993205b kv, store: remove MvccSnapshot 2015-12-07 10:40:19 +08:00
293c1b8a29 *: address comments 2015-12-04 11:06:11 +08:00
7210f23da3 kv, table: fix #463 2015-12-02 13:12:11 +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
173aad00bb Merge pull request #647 from pingcap/go-vet-happy
*: Make go vet --shadow happy
2015-11-28 17:55:23 +08:00
f6714853c7 tables: use 't' for table record and index prefix. 2015-11-27 20:30:29 +08:00
f024f02dbd *: Make go vet --shadow happy
Also do some clean up.
2015-11-27 15:47:05 +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
b9135eadb4 *: Add ID to IndexInfo and use IndexID in prefix instead of IndexName 2015-11-24 21:58:26 +08:00
0abfff4664 *: address comments 2015-11-24 10:14:15 +08:00
6b5e22a93f *: merge master and fix conflict. 2015-11-23 13:34:48 +08:00
e1d30ae367 table: remove dependency on 'LastInsertID' 2015-11-23 13:32:34 +08:00
d8ae7c1e36 *: Make go vet happy 2015-11-23 13:19:12 +08:00
d698b5c8ef table: address comment. 2015-11-19 21:20:28 +08:00
56b42f3df5 table: fix table cols and writeable cols cache. 2015-11-19 21:04:20 +08:00
c358a966c8 tables: use Convert to add correct default value. 2015-11-18 17:32:13 +08:00
4230f79995 ddl: add reorg state schema change test and fix a drop index bug. 2015-11-11 17:09:42 +08:00
2815fb1fbb tables: Address comment. 2015-11-11 13:42:49 +08:00
4eb34f69ce *: distinguish write/delete reorganization state.
we must distinguish different reorganization state after write only/
delete only state.
2015-11-11 13:29:06 +08:00
930729a058 Merge branch 'master' into qiuyesuifeng/more-schema-test and fix
conflict.
2015-11-10 17:44:18 +08:00
99212f39fe *: tiny refactor remove record. 2015-11-10 17:16:29 +08:00
46cbfb10ea *: check state when creating table. 2015-11-09 10:11:46 +08:00
cda586fdd8 tables: add record must consider reorg state 2015-11-09 09:37:14 +08:00
a21673dff3 *: merge master and fix conflict. 2015-11-06 16:33:50 +08:00