Commit Graph

111 Commits

Author SHA1 Message Date
2aa4cad1d2 *: Tiny clean up 2015-10-19 20:10:28 +08:00
5ff8eb3877 kv: remove useless keyCmpFn from Seek/Next iterface. 2015-10-19 20:02:10 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
fdd629a07b stringutil: Clean license 2015-10-19 09:48:32 +08:00
6c540d6279 *: Fix issue 393
See: https://github.com/pingcap/tidb/issues/393
2015-10-17 17:09:29 +08:00
83fa8f8d4f *: Address comment 2015-10-16 12:26:10 +08:00
48976af41c *: Address comments 2015-10-16 10:04:49 +08:00
a8779d8d52 *: Address comment 2015-10-15 22:50:55 +08:00
2bf61835db sqlhelper: Remove useless file 2015-10-15 17:19:51 +08:00
207ba2f1f3 *: Add sql helper to make operations on meta table easier. 2015-10-15 17:17:04 +08:00
9acfcd2b14 *: Address comment 2015-10-14 13:49:50 +08:00
641aeabd42 *: Address comment 2015-10-14 13:23:12 +08:00
25b571bf59 *: Set/Enum element with single-quote should be replaced to two single-quotes
Address comment and add testcase
2015-10-14 11:58:48 +08:00
c1f168673f *: Address comment 2015-10-14 11:30:36 +08:00
d01821579e *: Address comment 2015-10-14 11:06:09 +08:00
3a7e3ed2d0 *: Address comment 2015-10-14 10:38:18 +08:00
d50b6c5fcc *: Fix hibernate bug about col.Flen/Decimal 2015-10-13 18:11:11 +08:00
16d0c20fa6 util: add some comments
address review comment
2015-10-13 11:00:32 +08:00
8b4a5f0829 mvcc: address review comments 2015-10-12 18:39:18 +08:00
8b6121931e Merge pull request #262 from pingcap/coocood/fix-index-plan
plans:fix a bug in index plan
2015-10-10 09:13:52 +08:00
041da15fd0 plan: address comments 2015-10-09 17:23:54 +08:00
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
90983decff Merge branch 'master' into coocood/fix-index-plan
Conflicts:
	plan/plans/join.go
2015-10-07 09:56:02 +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
d4a9152d22 util: add testkit
The testkit package used to run sql statements and check results.
It simplifies testing code.
2015-09-24 13:48:28 +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