340509f0d7
*: use mysql.Bit type instead of old uint64
2015-09-30 08:04:47 +08:00
75d3bafa85
*: lowercase type description
...
MySQL show columns or show create create table both return lowercase
type description, like int, char, etc…
2015-09-28 21:40:31 +08:00
198099d378
*: Create privilege tables in bootstrap stage
...
Prepare for grant statement.
2015-09-27 17:46:36 +08:00
e6a586d6f2
types: support set type
2015-09-25 16:24:48 +08:00
408ed6f1a9
codec: support set type
2015-09-25 16:24:01 +08:00
1eb3144cad
codec: support enum type codec
2015-09-24 10:56:20 +08:00
d8c2c96c8e
types: support enum type
2015-09-24 10:56:07 +08:00
f4b997ccbe
types: add Elems field to support enum/set
2015-09-24 09:25:45 +08:00
76c60a585c
kv : Add some comments, and do some cleanup
...
Address code review comments.
2015-09-22 20:04:47 +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
4685387c82
Merge pull request #225 from pingcap/coocood/move-mocks
...
util/mock: move mocks
2015-09-22 11:21:38 +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
e0c36ba8d3
expression: fix tests
2015-09-21 20:07:38 +08:00
aa781754d6
Merge pull request #209 from pingcap/c4pt0r/MVCC-support
...
first MVCC support
2015-09-21 15:16:39 +08:00
5988e567fb
types: check overflow for bit type
2015-09-21 12:30:15 +08:00
5aab3ac504
codec: encode hex/bit to int/uint
2015-09-21 08:02:49 +08:00
7027bc8e88
kv : add MVCC support to kv
...
add a simple mvcc get/scan for kv
2015-09-20 12:00:41 +08:00
919de86dd5
types: support hex and bit type convert
2015-09-19 16:11:01 +08:00
78434002be
types: support bit type
2015-09-19 15:00:02 +08:00
faf01b5c28
Merge pull request #170 from pingcap/coocood/tidb-server
...
TiDB MySQL protocol server
2015-09-17 15:50:27 +08:00
63118e15e3
Merge pull request #169 from pingcap/siddontang/fix-issue-165
...
codec: fix ARM build fail
2015-09-16 22:59:14 +08:00
4ceedcfc27
*: Replace h with handle
2015-09-16 20:27:12 +08:00
0a68a3f4c1
tidb-server: address comment
2015-09-16 20:21:57 +08:00
8f4c552cf3
types: fix test on ARM
2015-09-16 19:50:52 +08:00
e068e9f2a6
types: fix convert test error on ARM
2015-09-16 18:10:18 +08:00
a78a36a748
tidb-server: Use Recordset.Next interface
2015-09-16 17:22:06 +08:00
47dd05e227
tidb-server: add server layer
...
MySQL protocol server.
2015-09-16 17:18:17 +08:00
08defcbaa9
codec: fix ARM build fail
2015-09-16 08:08:05 +08:00
5451c13b47
Merge pull request #160 from pingcap/siddontang/cleanup-code
...
types: remove unnecessary code
2015-09-15 15:47:24 +08:00
ada1344860
types: remove unnecessary code
2015-09-15 15:34:51 +08:00
aae3a62ae8
types: support hex in convert, compare
2015-09-15 15:09:10 +08:00
343c2d3ef4
types: Address comment to make virgo happy
2015-09-15 14:43:23 +08:00
79abe14b9c
types: Cleanup IsOrderedType
...
Remove useless return values.
2015-09-15 14:38:57 +08:00
a7897b4215
types: Allow []byte as orderby type
...
Orderby []byte is already supported by types.Compare.
With this pr we can run most of functions in phpMyAdmin.
2015-09-15 14:00:40 +08:00
88902c0746
types: Address comment
2015-09-14 17:10:36 +08:00
5844708988
types: Address comment.
2015-09-14 17:03:01 +08:00
01108075eb
types: support divide overflow check
2015-09-14 16:55:28 +08:00
8cc9d7d81c
types: support overflow check for integer arithmetic operation
2015-09-14 13:39:51 +08:00
043816587a
types: Fix convert TypeBit error
...
Pass goxorm test
2015-09-13 13:19:37 +08:00
7c12300baa
utl/types: cast bound to float to compare with float, address comments
2015-09-10 22:54:11 +08:00
80d574bfc4
util/types: unexport method overflow and invConv
2015-09-10 22:29:28 +08:00
8c3e5a28e6
util/types: clean up for golint
2015-09-10 20:14:51 +08:00
a80d131c06
util/types, column, expressions: use types.Convert to replace Col.CastValue
...
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.
For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
63776c2e76
Merge pull request #92 from pingcap/qiuyesuifeng/decimal-type-index-support
...
Add decimal type codec support.
2015-09-10 18:21:29 +08:00