Commit Graph

127 Commits

Author SHA1 Message Date
43de228e84 *: Address comments 2015-10-26 21:46:29 +08:00
2003c6eb4b *: Bind autocommit checker to ctx. 2015-10-26 21:21:37 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
5f2167a5d9 *: Get/Set global sys var from/to kv store. 2015-10-25 22:38:28 +08:00
c44060a766 *: Implement set names statement.
Finish set names and add some test cases.
2015-10-23 14:27:20 +08:00
bd5d23d5d5 stmt: update stmt use FromIdentVisitor. 2015-10-20 16:36:00 +08:00
107c85ec4c stmt: fix go vet check error. 2015-10-20 12:24:00 +08:00
4aeaeada1d *: clean up 2015-10-20 12:19:06 +08:00
06e7e891af Merge pull request #414 from pingcap/goroutine/rename
*: Rename mysqldef to mysql
2015-10-19 16:35:29 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
d9ad324f1b Merge pull request #409 from pingcap/siddontang/refactor-ident
refactor ident
2015-10-19 16:03:23 +08:00
94612bc56b stmt: fix go vet check error. 2015-10-19 14:42:26 +08:00
a3635b0831 stmts: Address comment 2015-10-19 13:36:34 +08:00
fb3a51d834 *: checkIdent -> checkIdentAmbiguous 2015-10-19 12:51:53 +08:00
8434f2633a stmts: Simplify tests using matchRows
Address comment
2015-10-19 10:27:16 +08:00
9e091caef6 *: support ident refer in having. 2015-10-17 18:28:46 +08:00
9e73c8d4a8 *: use Ident refer for order by. 2015-10-17 14:20:19 +08:00
486089f450 Merge remote-tracking branch 'origin/master' into shenli/add-priv-step2
Conflicts:
	stmt/stmts/account_manage.go
2015-10-16 14:24:11 +08:00
6a9c87a914 Merge pull request #397 from pingcap/shenli/sql-helper
Shenli/sql helper
2015-10-16 12:48:50 +08:00
83fa8f8d4f *: Address comment 2015-10-16 12:26:10 +08:00
08e0491b5a *: having adds SelectList field. 2015-10-16 10:13:21 +08:00
48976af41c *: Address comments 2015-10-16 10:04:49 +08:00
a8779d8d52 *: Address comment 2015-10-15 22:50:55 +08:00
207ba2f1f3 *: Add sql helper to make operations on meta table easier. 2015-10-15 17:17:04 +08:00
a13e24759e stmts: simplify test. 2015-10-14 11:55:10 +08:00
249fae310a stmts: lazy update, cache all select then do update.
Fix issue #376
2015-10-14 10:15:45 +08:00
65c17102c9 stmts: split checkUpdateColumns. 2015-10-13 22:30:33 +08:00
21042911b5 stmts: refactor update/insert/delete qualified and as handle. 2015-10-13 21:38:14 +08:00
0f2a4b1be2 Merge remote-tracking branch 'origin/master' into shenli/add-priv-step2
Conflicts:
	parser/parser.y
	parser/scanner.l
2015-10-13 10:09:11 +08:00
f0a9995e3c Merge pull request #347 from pingcap/shenli/issue-345
stmts: Fix Issue #345
2015-10-12 13:40:30 +08:00
c621c18c34 stmts: Use matchRows to simplify test case
Address comment
2015-10-12 13:19:22 +08:00
9d06134b7b stmts: Address comment 2015-10-12 13:08:07 +08:00
dec67d7ee5 Merge remote-tracking branch 'origin/master' into shenli/add-priv-step2
Conflicts:
	parser/parser_test.go
2015-10-12 11:30:17 +08:00
ee5bbd0de1 *: Check float length in parser
Fix https://github.com/pingcap/tidb/issues/312
2015-10-11 15:53:35 +08:00
eeb1a29f73 stmts: Fix Issue #345
When update multiple tables, extract target columns and corresponding
assignment list for each table.
See: https://github.com/pingcap/tidb/issues/345
2015-10-10 17:29:54 +08:00
104d30ccb8 *: Support like/where clause in show tables statement.
Fix https://github.com/pingcap/tidb/issues/339
2015-10-10 11:47:41 +08:00
135e2c0591 *: Address comments 2015-10-09 22:52:22 +08:00
0d72e6303f *: fix first select with no result types in union 2015-10-08 10:11:02 +08:00
812d7d874c *: insert support select union 2015-10-08 08:33:34 +08:00
27996c77f8 *: union support order by, limit and different all/distinct. 2015-10-07 21:58:48 +08:00
67864a44c4 *: support order by, limit and parenthesis in union parser 2015-10-07 17:10:59 +08:00
0338a07a94 stmts: Add some comments for grant.go 2015-10-07 12:11:17 +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
fdfb59c320 Merge pull request #311 from pingcap/siddontang/update-enum-show
update enum show
2015-10-07 11:23:41 +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
f74328e38d *: Refactor signle table delete statement
Use the same way with multiple table delete.
2015-10-05 22:28:53 +08:00
948fa8bc2b *: Avoid store plaintext password in mysql.user table.
Store hashed password.
2015-10-04 22:31:37 +08:00
4c3b015edd stmts: Support grant column scope privilege 2015-10-02 23:09:56 +08:00
2eb08c0033 Merge remote-tracking branch 'origin/master' into shenli/add-priv-step2 2015-10-02 15:37:04 +08:00
a656533fcf *: Finish table scope privilege grant statement 2015-10-02 15:16:58 +08:00