Commit Graph

93 Commits

Author SHA1 Message Date
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
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
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
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
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
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
294d5fb79b *: support show create table syntax 2015-09-28 15:16:57 +08:00
49ae9493e3 stmts: ShowStmt uses SetCondition to binds like or where 2015-09-28 10:49:31 +08:00
198099d378 *: Create privilege tables in bootstrap stage
Prepare for grant statement.
2015-09-27 17:46:36 +08:00
4b5f87c98a *: rename EmptyFieldList to more sense FromDual name
Dual is a dummy table, `select 1, 2` is equivalent to `select 1, 2 from
dual`, and dual is widely known.
2015-09-24 08:02:43 +08:00
48deaeb38a stmts: use GetIdentValue to support qualified name 2015-09-22 17:17:31 +08:00
604d78da45 stmts: delete where support qualified name 2015-09-22 14:40:01 +08:00
50fb972258 *: support show collation 2015-09-22 09:20:36 +08:00
e91233533e expression: fix import 2015-09-21 18:55:17 +08:00
37cf491651 *: Address comments 2015-09-21 15:54:12 +08:00
2c2e025305 Merge pull request #207 from pingcap/shenli/create-user
Support basic create user statement
2015-09-21 09:43:46 +08:00
85d13c7e82 stmts: Address comments 2015-09-20 23:19:05 +08:00
113cbf2cdc *: Address comments 2015-09-20 22:59:43 +08:00
e68f558e11 *: merge master and fix conflict 2015-09-20 19:29:46 +08:00
1400803273 Merge remote-tracking branch 'origin/master' into shenli/create-user 2015-09-20 16:25:54 +08:00
428c629dee stmts: Add missing files 2015-09-20 16:22:14 +08:00
227c9a16d1 *: Support basic create user statement
Support create user with authstring
2015-09-20 16:20:11 +08:00
e6339e52fc stmt/stmts: fix show stmt use current db bug. 2015-09-20 14:05:25 +08:00
2c31d4a139 merge from master and fix conflict 2015-09-20 13:00:25 +08:00
0ddf7b8921 Merge pull request #195 from pingcap/shenli/set-password
Shenli/set password
2015-09-20 11:26:28 +08:00
15d1899478 *: Address comment 2015-09-20 11:11:39 +08:00
732ebf6b48 rset: remove redundant rset layer.
Clean up.
2015-09-20 00:15:05 +08:00
0c81acb99a *: support show variables where syntax 2015-09-19 22:09:59 +08:00
b2ab5e5b1a stmts: Support SET PASSWORD and add unittest 2015-09-19 10:50:22 +08:00
00bf40f760 Merge pull request #182 from pingcap/siddontang/correlated-subquery
refactor subquery to support correlated subquery
2015-09-19 10:00:21 +08:00
7b90a3b6b1 WIP: Support set password 2015-09-18 17:32:49 +08:00
d9a8c7e4f2 *: use RowStack to rector and simplify outer query 2015-09-18 14:52:05 +08:00
0dcf4c92f1 Merge pull request #183 from pingcap/zimuxia/autocommit
*: add autocommit judgment and test
2015-09-17 17:48:44 +08:00
xia
1bd9a1e740 *: rename SetStatus to SetStatusFlag 2015-09-17 16:47:53 +08:00