Commit Graph

88 Commits

Author SHA1 Message Date
70b9104122 Merge pull request #309 from pingcap/siddontang/fix-float-precision
fix float precision
2015-10-07 14:29:48 +08:00
85e96de270 Merge pull request #304 from pingcap/shenli/hash-password
*: Avoid store plaintext password in mysql.user table.
2015-10-07 11:38:16 +08:00
a926f6fbd0 util: Address comment 2015-10-07 11:17:50 +08:00
a5f93cb2e8 util: address comment. 2015-10-07 10:56:32 +08:00
bd93fb3f98 *: only truncate float when length and decimal are set 2015-10-07 10:44:48 +08:00
58d3c37f3e util: Address comment and add unittest for auth.go 2015-10-05 19:34:19 +08:00
948fa8bc2b *: Avoid store plaintext password in mysql.user table.
Store hashed password.
2015-10-04 22:31:37 +08:00
c4bf073996 util: do some cleanup. 2015-10-02 20:25:23 +08:00
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