ee5bbd0de1
*: Check float length in parser
...
Fix https://github.com/pingcap/tidb/issues/312
2015-10-11 15:53:35 +08:00
32821500b7
Merge pull request #342 from pingcap/shenli/show-where-like
...
*: Support like/where clause in show tables statement.
2015-10-10 16:00:27 +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
a3f17ab8f7
*: merge master and fix conflict.
2015-10-10 10:53:08 +08:00
e9433e5098
Merge pull request #338 from pingcap/siddontang/update-as
...
parser: update as option
2015-10-10 09:56:32 +08:00
ebe12aa2da
Merge remote-tracking branch 'origin/master' into shenli/locate
2015-10-09 23:19:42 +08:00
b1f1335a34
parser: clean up and add more test
2015-10-09 16:40:25 +08:00
3f126b65e2
parser: as support Identifier too.
2015-10-09 16:35:42 +08:00
d2bb1911f9
parser: update as option
...
select field alias can support back/double/single quote
2015-10-09 15:27:46 +08:00
d12525e17c
*: remove full join
2015-10-09 13:54:59 +08:00
3514b33fc3
*: use Extract expression
2015-10-09 11:29:09 +08:00
a3084198d4
Merge pull request #331 from pingcap/siddontang/time-current-date
...
support time current date function
2015-10-09 11:21:09 +08:00
f8361752aa
parser: support extract time function
2015-10-09 10:13:05 +08:00
2a5f7b6912
parser: row is an unserved key word
2015-10-08 17:22:32 +08:00
0bc684868f
*: Support locate function
...
See: https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_locate
2015-10-08 16:26:15 +08:00
be58e070a3
parser: support current date
2015-10-08 16:00:37 +08:00
2e6fd071b6
Merge pull request #321 from pingcap/siddontang/dev-union
...
dev union
2015-10-08 15:26:04 +08:00
d40ee39dc3
*: merge master and fix conflict
2015-10-08 15:21:09 +08:00
f0df7451c0
parser: Support check clause
2015-10-08 15:12:06 +08:00
812d7d874c
*: insert support select union
2015-10-08 08:33:34 +08:00
4cc7351fa9
parser: sub select support union
2015-10-07 21:57:53 +08:00
67864a44c4
*: support order by, limit and parenthesis in union parser
2015-10-07 17:10:59 +08:00
d1bd2243ab
parser: handle year field length option
...
nothing to do
2015-10-07 14:59:25 +08:00
f9e6cd87d6
Merge pull request #314 from pingcap/siddontang/string-function
...
update string function
2015-10-07 13:10:48 +08:00
cd612c05b6
parser: support lower and parser
2015-10-07 12:03:09 +08:00
c1affab3c4
Introduce a new pretty way to handle subselect
2015-10-07 11:44:13 +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
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
4fe771a1c5
parser: check bit field length in parser
2015-09-30 07:07:19 +08:00
0b308dc4ee
*: merge master and fix conflict
2015-09-29 13:02:18 +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
e5024e911e
parser: add rand function parser support.
2015-09-28 18:37:56 +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
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
0be33b5918
parser: support national parser
...
nothing to do now
2015-09-28 16:11:24 +08:00
294d5fb79b
*: support show create table syntax
2015-09-28 15:16:57 +08:00
99dc1d91b2
Merge pull request #285 from pingcap/siddontang/cleanup-show
...
cleanup show
2015-09-28 11:34:18 +08:00
55a5b3937b
parser: use ShowLikeOrWhereOpt to reduce code
2015-09-28 10:50:17 +08:00
754a519039
parser: support some table options, only in parser.
2015-09-28 08:55:35 +08:00
f5f0d75444
*: Support SUBSTRING_INDEX function
2015-09-25 12:36:16 +08:00
5786b9b02c
*: merge master and fix conflict
2015-09-25 10:05:31 +08:00
60ee772cba
parser: support comment for create table
...
`create table (c int comment ‘this is a comment’)` or
`create table (c int) comment = ‘this is a comment’`
We only support parsing it, and do nothing outside.
2015-09-25 09:03:31 +08:00
d90b616efa
*: merge master and fix conflict
2015-09-24 11:11:00 +08:00
4e2277f0b1
Merge pull request #249 from pingcap/qiuyesuifeng/fix-issue234
...
Fix #234
2015-09-24 11:08:15 +08:00
b59fa848ff
parser: support set and enum type
2015-09-24 09:32:04 +08:00