Commit Graph

856 Commits

Author SHA1 Message Date
89bc0903f8 Merge pull request #315 from pingcap/goroutine/meta-refactor
meta: Make sure meta key always less then other key
2015-10-08 12:03:45 +08:00
21793f225a Merge pull request #316 from pingcap/qiuyesuifeng/fix-294
Fix #294.
2015-10-08 12:03:31 +08:00
9355878c58 Merge pull request #319 from pingcap/siddontang/update-field-length
update field length
2015-10-08 09:58:57 +08:00
3867d3191a column: handle time and float type description separately. 2015-10-07 15:04:00 +08:00
d1bd2243ab parser: handle year field length option
nothing to do
2015-10-07 14:59:25 +08:00
70b9104122 Merge pull request #309 from pingcap/siddontang/fix-float-precision
fix float precision
2015-10-07 14:29:48 +08:00
f9e6cd87d6 Merge pull request #314 from pingcap/siddontang/string-function
update string function
2015-10-07 13:10:48 +08:00
973e066b34 Tiny clean up 2015-10-07 12:18:50 +08:00
88fa80b80e tidb_test: add where like test. 2015-10-07 12:18:44 +08:00
039bbc6c44 builtin: Address comment 2015-10-07 12:14:21 +08:00
cd612c05b6 parser: support lower and parser 2015-10-07 12:03:09 +08:00
a18c3ddb99 builtin: support lower and upper string function 2015-10-07 12:02:54 +08:00
8a1932ceec meta: Add makeMetaKey function to create meta key
Make sure meta key always less then other key.

Conflicts:
	meta/meta.go
2015-10-07 12:01:56 +08:00
9d0420e729 Update tests for meta change
Conflicts:
	meta/meta.go
2015-10-07 12:01:56 +08:00
2dc5eb487b Merge pull request #302 from pingcap/goroutine/fix-288
parser: Fix #288
2015-10-07 11:54:20 +08:00
e8baa91cc5 builtin: update string length 2015-10-07 11:46:56 +08:00
83904d21d1 Add OriginText tests for SubSelect 2015-10-07 11:44:13 +08:00
c1affab3c4 Introduce a new pretty way to handle subselect 2015-10-07 11:44:13 +08:00
7960e11075 Merge branch 'master' into qiuyesuifeng/fix-294 2015-10-07 11:44:11 +08:00
9e1f700679 Add more comments and fix code style 2015-10-07 11:41:32 +08:00
912164d251 parser: Fix #288
Fix get text of subselect statement.
2015-10-07 11:41:32 +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
d207927712 Merge pull request #308 from pingcap/qiuyesuifeng/tiny-clean-up
Tiny clean up util package.
2015-10-07 11:32:09 +08:00
fdfb59c320 Merge pull request #311 from pingcap/siddontang/update-enum-show
update enum show
2015-10-07 11:23:41 +08:00
a926f6fbd0 util: Address comment 2015-10-07 11:17:50 +08:00
51203fda5f Merge pull request #287 from pingcap/siddontang/show-create-table
support show create table syntax
2015-10-07 11:06:46 +08:00
a5f93cb2e8 util: address comment. 2015-10-07 10:56:32 +08:00
53efcdfab1 server: float32 should be appended with 32 bit size 2015-10-07 10:45:19 +08:00
bd93fb3f98 *: only truncate float when length and decimal are set 2015-10-07 10:44:48 +08:00
556f54e78b Merge pull request #297 from pingcap/siddontang/update-quote-parser
update quote parser
2015-10-07 10:41:00 +08:00
933eecc0a4 Merge branch 'master' into qiuyesuifeng/tiny-clean-up 2015-10-07 10:09:34 +08:00
3fe9d3e238 Merge pull request #306 from pingcap/siddontang/decimal-scientific-notation
mysqldef: support parsing scientific notation
2015-10-07 09:56:44 +08:00
547b47eb1d mysqldef: update test 2015-10-07 09:46:45 +08:00
4172bff0db Merge pull request #305 from pingcap/shenli/cleanup-delete
*: Refactor signle table delete statement
2015-10-06 22:11:53 +08:00
f74328e38d *: Refactor signle table delete statement
Use the same way with multiple table delete.
2015-10-05 22:28:53 +08:00
58d3c37f3e util: Address comment and add unittest for auth.go 2015-10-05 19:34:19 +08:00
97e2a43750 mysqldef: support parsing scientific notation 2015-10-05 18:12:31 +08:00
65137701dd plans: Address comment. 2015-10-05 09:33:02 +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
f90e031fb4 Merge pull request #298 from pingcap/siddontang/update-bit-type
update bit type
2015-09-30 17:34:36 +08:00
dffe013e79 parser: update identifier quote 2015-09-30 10:34:35 +08:00
7711c25f49 plans: add missing "`" for index. 2015-09-30 10:07:19 +08:00
cc71e8f4e7 *: add test for enum type 2015-09-30 08:28:23 +08:00
3c2caa3cd6 stmts: using first item for enum must have not null flag 2015-09-30 08:18:28 +08:00
6de93eb8c0 stmts: handle enum default value with NoDefaultValue 2015-09-30 08:18:28 +08:00
41ece3c14f column: handle enum single quote for description 2015-09-30 08:18:28 +08:00
380026dd94 column: update type length show, no blank 2015-09-30 08:15:21 +08:00
382e498e2f server: return binary string for bit type 2015-09-30 08:05:13 +08:00
340509f0d7 *: use mysql.Bit type instead of old uint64 2015-09-30 08:04:47 +08:00