c0e86a5150
add txn.Rollback on txn error
2015-12-31 12:23:09 +08:00
39624b3949
*: address comment
2015-12-28 11:07:07 +08:00
48c8b75edb
*: reduce string bytes convert
2015-12-25 20:52:36 +08:00
8dba28dd91
Merge remote-tracking branch 'origin/master' into clean-up-convt2e
...
Conflicts:
kv/union_store.go
2015-12-25 19:41:27 +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
f7c82e27ce
Address comments
2015-12-25 19:22:18 +08:00
e867f143ed
kv: Clean up convT2E which was slow.
2015-12-25 18:48:38 +08:00
a15502ef0b
kv: remove prefetch
2015-12-24 17:36:01 +08:00
981ef439f8
kv: remove cacheSnapshot
2015-12-24 17:23:55 +08:00
e9298e4826
kv: remove RangePrefetch and RangeGet
2015-12-24 16:07:21 +08:00
42d999f00a
kv: remove RangePrefetchOnCacheMiss option
2015-12-24 15:52:50 +08:00
c63d681a5e
kv: reduce the Transaction interface by removing Inc and GetInt64
2015-12-24 14:57:11 +08:00
15a5e4f24b
kv, store: refine Transaction interface, make 'UnionStore' optional
2015-12-24 13:49:08 +08:00
87d007d234
*: Move kv errors to kv package
2015-12-24 13:34:03 +08:00
6860503647
Merge branch 'master' into disksing/url-format-dsn
2015-12-23 19:48:22 +08:00
f45c0ed233
kv: Remove CommittedVersion from transaction
2015-12-23 11:11:07 +08:00
cb58ecfb6a
Merge branch 'master' into disksing/url-format-dsn
...
Conflicts:
store/localstore/kv.go
2015-12-23 10:16:23 +08:00
889359b62c
kv: check error first in test.
2015-12-22 09:22:52 +08:00
db377aab21
*: address comment, renames
2015-12-21 13:31:25 +08:00
abc4701b00
executor: make seek value with the same length of the index columns.
...
For composite index with 2 columns, if we just pass one value in `Seek`, we will get the wrong result.
So this change create the seek value with the length of the composite index.
2015-12-21 13:10:40 +08:00
440c8b9ea5
Merge remote-tracking branch 'origin/master' into shenli/mysql-error
2015-12-18 17:56:36 +08:00
c7f33cd14b
kv: clean up more
2015-12-18 13:50:31 +08:00
e331d3543a
Address comments
2015-12-18 13:40:25 +08:00
32684c0325
Add error.go to kv
2015-12-18 13:21:52 +08:00
2321bc267c
Group all errors together
2015-12-18 13:21:31 +08:00
bbcdf33a91
Remove compactor interface in kv.go
2015-12-18 13:14:02 +08:00
34304b1050
Add licenses header
2015-12-18 12:36:57 +08:00
a7402eba0d
kv: Clean up kv.go
2015-12-18 12:30:39 +08:00
67ad875a29
*: Convert ErrKeyExists to MySQL error
2015-12-17 23:56:16 +08:00
322476ca68
*: add tag to log message to make it easy to be filtered out.
2015-12-17 20:04:20 +08:00
99ea5ad005
kv: make it possible to turn off transaction debug log.
...
Transaction logs too much entries in debug level, it's overwhelming and obscures other
debug level messages.
When we don't care about transaction log, we should be able to turn it off.
2015-12-17 14:05:37 +08:00
eba26bd705
Merge pull request #731 from pingcap/zimuxia/tiny-cleanup
...
*: Tiny clean up
2015-12-17 13:21:41 +08:00
a90413a656
kv, table: use minimal kv interfaces
2015-12-16 17:22:25 +08:00
1642c70c64
kv: address comments
2015-12-16 12:37:40 +08:00
859945c754
kv: update comments
2015-12-15 21:55:00 +08:00
fe57c9f921
kv: update comments
2015-12-15 21:33:20 +08:00
4af036fbea
kv: update comments
2015-12-15 21:25:40 +08:00
42d2694f37
Merge pull request #717 from pingcap/disksing/update-codec
...
update codec
2015-12-15 10:07:32 +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
a78548e8d0
Merge branch 'master' into zimuxia/inspect-kv
...
Conflicts:
table/tables/tables.go
2015-12-10 16:55:30 +08:00
82b9b4c499
kv: remove kv.encoder, use codec directly
2015-12-10 11:13:05 +08:00
af6635b079
*: address comments.
2015-12-09 19:08:37 +08:00
30c59be0b0
kv: rename k to val
2015-12-09 18:01:28 +08:00
d4c916523f
kv: Address comment.
2015-12-09 16:49:19 +08:00
facce7468a
*: simplify record/index key codec.
2015-12-09 16:26:24 +08:00
200b35b061
Merge branch 'master' into zimuxia/inspect-kv
...
Conflicts:
kv/kv.go
2015-12-09 12:27:01 +08:00
df410c9eb6
*: tiny clean up.
2015-12-08 22:31:49 +08:00
958ce2284f
*: tiny refactor table record/index key codec.
2015-12-08 15:35:14 +08:00
307993205b
kv, store: remove MvccSnapshot
2015-12-07 10:40:19 +08:00