Commit Graph

805 Commits

Author SHA1 Message Date
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
e56365ed25 stmts: Finish grant db scope privilege 2015-09-30 22:36:51 +08:00
f90e031fb4 Merge pull request #298 from pingcap/siddontang/update-bit-type
update bit type
2015-09-30 17:34:36 +08:00
f1423500d3 *: Finish grant global privilege and add uinttest 2015-09-30 17:08:43 +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
4fe771a1c5 parser: check bit field length in parser 2015-09-30 07:07:19 +08:00
e5ab419eb4 Merge pull request #290 from pingcap/siddontang/blob-text-option-length
parser: blob and text support field length option
2015-09-29 12:58:44 +08:00
95696519b5 Merge pull request #293 from pingcap/qiuyesuifeng/rand-func
Add rand function support.
2015-09-29 09:06:43 +08:00
d77e24b494 *: merge master and fix conflict 2015-09-28 22:32:53 +08:00
f6e0bf0d7e Merge pull request #296 from pingcap/siddontang/lowercase-type-desc
*: lowercase type description
2015-09-28 22:17:42 +08:00
65e9f4eec8 Merge pull request #292 from pingcap/siddontang/parser-year
parser: year support field length option
2015-09-28 22:15:13 +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
e5024e911e parser: add rand function parser support. 2015-09-28 18:37:56 +08:00
57027edf03 expression/builtin: add rand function. 2015-09-28 18:37:38 +08:00
cdfc686dcd parser: year support field length option
MySQL manual doesn’t say it, but SQLAlchemy has this test and MySQL
parser handles it too.
2015-09-28 17:18:11 +08:00
fb04c96c5b Merge pull request #291 from pingcap/siddontang/create-table-check
parser: support check expression in create table
2015-09-28 17:11:15 +08:00
3634a953d5 parser: support check expression in create table
nothin to do now
2015-09-28 16:57:47 +08:00
6b3067de42 parser: blob and text support field length option
Manual doesn’t point this, but SQLAlchemy has this test and MySQL
parser handles this too.
2015-09-28 16:22:02 +08:00
7202701270 Merge pull request #289 from pingcap/siddontang/support-national
parser: support national parser
2015-09-28 16:14:14 +08:00
0be33b5918 parser: support national parser
nothing to do now
2015-09-28 16:11:24 +08:00
99dc1d91b2 Merge pull request #285 from pingcap/siddontang/cleanup-show
cleanup show
2015-09-28 11:34:18 +08:00
0dbdd9fb28 Merge pull request #280 from pingcap/siddontang/fix-issue-266
plans: avoid next append overwriting last data
2015-09-28 11:06:34 +08:00
358c9d06a8 plans: split show into different functions 2015-09-28 11:04:46 +08:00
200861bc55 Merge pull request #284 from pingcap/siddontang/create-table-options
parser: support some table options, only in parser.
2015-09-28 10:59:18 +08:00
55a5b3937b parser: use ShowLikeOrWhereOpt to reduce code 2015-09-28 10:50:17 +08:00
49ae9493e3 stmts: ShowStmt uses SetCondition to binds like or where 2015-09-28 10:49:31 +08:00
413aa2f4af coldef: remove unsupported table options 2015-09-28 09:10:29 +08:00
754a519039 parser: support some table options, only in parser. 2015-09-28 08:55:35 +08:00
a1a6ce55bd Merge pull request #281 from pingcap/shenli/add-priv-step1
add priv step1
2015-09-28 08:13:00 +08:00
8a870d2699 *: Support grant statement syntax
Finish syntax parser.
TODO: Implement GrantStmt.Exec()
2015-09-28 00:14:06 +08:00
c9bd2d7e91 mysqldef: Add some consts 2015-09-27 18:02:58 +08:00
eee46cedfe tidb: add simple test for fixing issue 266 2015-09-27 17:54:31 +08:00
198099d378 *: Create privilege tables in bootstrap stage
Prepare for grant statement.
2015-09-27 17:46:36 +08:00
df0d09eb04 plans: avoid next append overwriting last data
Fix issue #266
2015-09-27 17:26:46 +08:00
1759a359ea mysqldef: Add some consts fro privilege 2015-09-26 23:53:30 +08:00
825d4f7647 Merge pull request #276 from pingcap/siddontang/dev-set-type
support set type
2015-09-26 07:25:43 +08:00
424ae45a42 Merge pull request #272 from pingcap/shenli/string-index
*: Support SUBSTRING_INDEX function
2015-09-25 17:09:28 +08:00
b329942046 Merge pull request #275 from pingcap/goroutine/update-version
tidb-server: update server version
2015-09-25 17:00:09 +08:00
942b5a071b expression: Address comments 2015-09-25 16:56:41 +08:00
e5ddb0aeca tidb: add set type test 2015-09-25 16:25:43 +08:00
3054c77689 *: support set type 2015-09-25 16:25:23 +08:00
cfb6622a16 expression: support set type 2015-09-25 16:24:59 +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
2127dd6116 mysqldef: update set type 2015-09-25 16:23:41 +08:00
88fe6ce73a mysqldef: add set type 2015-09-25 15:55:23 +08:00
6170bf55d0 expression: Add some test cases for substring_index
Address comment
2015-09-25 13:54:46 +08:00