Commit Graph

653 Commits

Author SHA1 Message Date
db8f405fff Merge remote-tracking branch 'origin/c4pt0r/mvcc-support' into c4pt0r/mvcc-support 2015-09-22 18:52:04 +08:00
1c7934b1b9 *: pass golint 1.5.1 2015-09-22 18:01:46 +08:00
20bac87d60 kv : Add some comments, add release interface
address code review comments
2015-09-22 17:51:41 +08:00
3bcbe1baef kv : remove commitId from Commit() function
add another fuction to do this.
2015-09-22 17:25:18 +08:00
2d35df36ea Merge remote-tracking branch 'origin/master' into mvcc 2015-09-22 14:58:23 +08:00
d615630af9 kv : Add MvccSnapshot interface
MvccSnapshot interface allow user to get/seek specific version of data.
2015-09-22 14:55:17 +08:00
15c5ea5a0d Merge pull request #221 from pingcap/shenli/dsn-auth
Support basic auth for tidb-server
2015-09-22 11:47:17 +08:00
036796ea9f *: Address comment
log error in session.Auth()
2015-09-22 11:41:23 +08:00
302d4fc565 tidb-server: Remove user/password from config 2015-09-22 11:33:14 +08:00
4685387c82 Merge pull request #225 from pingcap/coocood/move-mocks
util/mock: move mocks
2015-09-22 11:21:38 +08:00
05cc62a4cb Merge pull request #226 from pingcap/siddontang/insert-empty-paren
support `insert t () values ()`
2015-09-22 11:21:26 +08:00
8451cf8836 *: Fix bug when client use ipv6 address
IPv6 address maybe like this: [::1]:12345
2015-09-22 11:21:01 +08:00
86286e0476 *: Address comment 2015-09-22 11:07:47 +08:00
bdda8d0703 Merge pull request #223 from pingcap/siddontang/show-collation
support show collation
2015-09-22 10:47:57 +08:00
9228766098 tidb: add insert with empty paren 2015-09-22 10:33:17 +08:00
1485ed490b parser: support parsing insert t () values () 2015-09-22 10:31:57 +08:00
25126e946a *: Address comments
1. Address comments
2. Set ci hosts
2015-09-22 10:30:56 +08:00
93d4b77a32 util/mock/mocks: add package comment. 2015-09-22 10:21:06 +08:00
2e4c197cd6 util/mock/mocks: add license header. 2015-09-22 10:09:41 +08:00
89a8cbdef9 util/mock: move mocks to mock package 2015-09-22 09:57:54 +08:00
276438d947 util/mocks: move mocks package to sub-directory of mock package. 2015-09-22 09:53:55 +08:00
50fb972258 *: support show collation 2015-09-22 09:20:36 +08:00
59af4ac591 *: Support basic auth for tidb-server
Use password to auth user.
2015-09-22 00:24:43 +08:00
5ead2e460f Merge pull request #218 from pingcap/siddontang/show-return-type
plans: show must set result type, default is varchar.
2015-09-21 21:50:24 +08:00
ccd85d0bbd plans: Address comment 2015-09-21 21:43:30 +08:00
2ad9a35ee6 Merge pull request #219 from pingcap/coocood/refactor-expression
expression: refactor expression
2015-09-21 20:39:56 +08:00
f3f640254b expression: fix go vet 2015-09-21 20:26:10 +08:00
e0c36ba8d3 expression: fix tests 2015-09-21 20:07:38 +08:00
c621aeaa30 Merge branch 'master' into mvcc 2015-09-21 19:55:51 +08:00
fce9984e10 kv : Add MvccReader interface
add interface to get/scan specific version
2015-09-21 19:52:49 +08:00
e91233533e expression: fix import 2015-09-21 18:55:17 +08:00
92e40e29b8 *: WIP add Auth interface for Session 2015-09-21 18:31:26 +08:00
b85a95fcbe Merge pull request #217 from pingcap/c4pt0r/boltdb-mvcc-fix
kv : Clarify the semantics of MVCC Delete in BoltDB engine implementation
2015-09-21 18:06:47 +08:00
9072f4f385 plans: show must set result type, default is varchar.
SQLAlchemy will use column type to do something, so we cannot return 0
for column type.
2015-09-21 18:06:45 +08:00
0d46df9532 expression: rename package and remove import 2015-09-21 18:02:27 +08:00
59e65d943a kv : Clarify the semantics of MVCC Delete in BoltDB engine implementation
Nil is the tombstone in MVCC sematics, but in origional implementation we can't
use Nil as value.
2015-09-21 17:50:31 +08:00
6f531c4dab expression: move files in expressions to expression
No modification at all.
2015-09-21 17:42:09 +08:00
434d11a450 expression: refactor expression
Firstly, abstract SubQuery to interface{}, some mock test are not able to keep.
2015-09-21 17:39:28 +08:00
b8a8ac9568 Merge pull request #214 from pingcap/shenli/store-bootstrap
*: Move bootstrap to CreateSession
2015-09-21 16:10:36 +08:00
703cd7e6bf Merge pull request #215 from pingcap/c4pt0r/MVCC-support
kv : Fix typo
2015-09-21 16:08:01 +08:00
a8b8fdf25a tidb: Address comment 2015-09-21 16:04:09 +08:00
c7f86850b3 kv : Fix typo
Versio -> Version
2015-09-21 15:58:11 +08:00
37cf491651 *: Address comments 2015-09-21 15:54:12 +08:00
e7d2bff9f1 *: Move bootstrap to CreateSession
Bootstrap should be done for both tidb-server and embedded mode.
2015-09-21 15:34:52 +08:00
aa781754d6 Merge pull request #209 from pingcap/c4pt0r/MVCC-support
first MVCC support
2015-09-21 15:16:39 +08:00
20180eb463 kv : mvcc support
Address code review comments
2015-09-21 14:39:24 +08:00
6b7c3bf183 Merge pull request #211 from pingcap/coocood/clone-cleanup
expression: remove return error in Clone interface
2015-09-21 13:12:14 +08:00
5c1320fcdf Merge pull request #213 from pingcap/siddontang/bit-boundary-check
support boundary check for bit type
2015-09-21 13:04:36 +08:00
2a67b61219 Merge pull request #210 from pingcap/shenli/comment-in-query
*: Remove leading comment when check IsQuery
2015-09-21 12:54:13 +08:00
d5457cb461 tidb: add bit type boundary check 2015-09-21 12:30:36 +08:00