Commit Graph

138 Commits

Author SHA1 Message Date
xia
807531c256 table: address comments 2016-01-11 09:55:38 +08:00
xia
d7fecbdbea *: address comments 2016-01-06 17:34:08 +08:00
xia
f4dece1cab table: update RowWithCols and add test 2016-01-06 15:09:45 +08:00
d8a6a9385c tables: Address comment and refactor AddRecord methord 2016-01-05 18:03:01 +08:00
aca48efaf5 *: Show key content in DuplicateEntry error message
Fix: https://github.com/pingcap/tidb/issues/822
2016-01-05 13:54:26 +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
fca76e816c *: address comment. 2015-12-29 10:17:43 +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
2bb206fbc9 table/tables: use types.ToInt64 2015-12-26 22:03:32 +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
87d007d234 *: Move kv errors to kv package 2015-12-24 13:34:03 +08:00
xia
c5ba66c4cf Merge branch 'master' into zimuxia/update-inspectkv 2015-12-22 10:11:35 +08:00
67ad875a29 *: Convert ErrKeyExists to MySQL error 2015-12-17 23:56:16 +08:00
xia
9f3ca1c62c Merge branch 'master' into zimuxia/update-inspectkv 2015-12-17 12:16:34 +08:00
xia
d983ef5210 table: update RowWithCols 2015-12-17 12:03:45 +08:00
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