Commit Graph

160 Commits

Author SHA1 Message Date
afe2c8dee3 Merge branch 'master' into coocood/use-terror 2015-11-05 19:21:00 +08:00
38726769b4 terror: new implementation. 2015-11-05 19:15:49 +08:00
89fa72467c Merge pull request #491 from pingcap/coocood/binder
ast,optimizer: switch to use new parser, and convert ast.Node to old statements.
2015-11-05 15:38:31 +08:00
0943aa598e terror: unify util/errors and util/errors2 in terror. 2015-11-05 12:05:16 +08:00
5b7d18d541 *: Unify behavior of both local store and HBase
Please enter the commit message for your changes. Lines starting

Conflicts:
	kv/index_iter.go
2015-11-03 15:44:35 +08:00
3b55987799 Merge remote-tracking branch 'origin/master' into shenli/binder 2015-10-31 22:18:17 +08:00
b6ee1409fb *: Address comments 2015-10-30 19:07:44 +08:00
8f53419016 optimizer: fix bugs, pass tests. 2015-10-30 14:41:43 +08:00
3871b0afbd *: Support character string literal
See: https://dev.mysql.com/doc/refman/5.7/en/charset-literal.html
2015-10-30 12:21:57 +08:00
a6f146564e Merge pull request #473 from pingcap/shenli/show-grants
Shenli/show grants
2015-10-30 08:46:57 +08:00
59cd541484 *: Record selectList at the first time running SelectStmt.Plan.
Fix https://github.com/pingcap/tidb/issues/177
2015-10-29 19:05:43 +08:00
xia
da556cbaa4 *: unify expression.Assignment in parser 2015-10-29 14:24:37 +08:00
1b023694d5 stmts: Fix master
Add ctx to Compile in replace_test.go
2015-10-28 15:02:41 +08:00
628922ae35 Merge pull request #439 from pingcap/shenli/string-literal
Shenli/string literal
2015-10-28 14:54:51 +08:00
09b66390cf *: Support show grants syntax and add ShowGrant interface to UserPrivileges 2015-10-27 22:01:07 +08:00
3ce3925e36 Merge pull request #448 from pingcap/zimuxia/replace
*: Add replace statement
2015-10-27 17:51:00 +08:00
fb3389094c *: fix drop table
fix https://github.com/pingcap/tidb/issues/457
2015-10-27 16:46:26 +08:00
xia
4f92173267 *: rename InsertRest to InsertValues and add TODOs 2015-10-27 13:21:35 +08:00
xia
376bdee59a stmt: update only modify columns. 2015-10-27 10:30:33 +08:00
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
xia
5a42db1ea4 *: rename getSetlist to fillValueList and add the InsertRest structure
to make the code more clear
2015-10-26 18:14:51 +08:00
2ed175243e Merge remote-tracking branch 'origin/master' into shenli/string-literal
Conflicts:
	expression/cast.go
2015-10-26 15:10:07 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
xia
f5f4b223a5 *: Update format. 2015-10-26 10:48:22 +08:00
5f2167a5d9 *: Get/Set global sys var from/to kv store. 2015-10-25 22:38:28 +08:00
xia
b4562dc8f5 stmt: update affected rows and test 2015-10-24 16:19:10 +08:00
xia
bacb489963 stmt: change remove method to function 2015-10-23 20:32:20 +08:00
xia
36a60807cb stmt: rename addRecord to getRow and rename SetList to Setlist 2015-10-23 20:31:14 +08:00
xia
ccc0ffdfe9 stmt: add replace primary key and unique index test 2015-10-23 20:29:08 +08:00
xia
84ae608915 stmt: add removeExistRow 2015-10-23 20:28:23 +08:00
xia
79ecef38cb stmt: rename addRecord to getRow 2015-10-23 17:16:20 +08:00
51d07882a6 *: Fix bug in getCtxCharsetInfo
Use session system variables.
2015-10-23 14:39:19 +08:00
c44060a766 *: Implement set names statement.
Finish set names and add some test cases.
2015-10-23 14:27:20 +08:00
xia
b9f0bbe088 stmt: adjust the code format 2015-10-22 17:59:12 +08:00
xia
c5cb36a709 stmt: add replace statment test 2015-10-22 17:58:38 +08:00
xia
3447ac2f55 stmt: add replace statment 2015-10-22 17:57:59 +08:00
3c28357b09 *: Pass context to Compile()
Compile should know context to get current charset info.
2015-10-22 17:09:53 +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