67313335fa
*: Support builtin function field ( #2449 )
2017-01-15 11:10:39 +08:00
3bfac81a4e
*: add builtin function FROM_DAYS ( #2434 )
2017-01-15 01:10:47 +08:00
217c26bd0b
*: Support the statement of rename table ( #2444 )
2017-01-15 00:58:10 +08:00
afeccd0e32
parser: fix aggregate functions. ( #2453 )
2017-01-13 17:10:01 +08:00
d1ef3e5687
*: add builtin function SIGN ( #2427 )
2017-01-13 10:31:05 +08:00
02511087c7
parser: handle timestamp default value with fsp specified ( #2437 )
2017-01-11 10:23:23 +08:00
293988b436
*: Fix a bug when binary literal has a charset prefix ( #2438 )
2017-01-11 10:16:51 +08:00
5969e9ecad
*: add builtin function TIMESTAMPDIFF ( #2386 )
2017-01-11 00:12:48 +08:00
2594e4f799
parser: parse use 10 instead 0 ( #2404 )
2017-01-06 11:29:55 +08:00
ac06325a1d
*: add builtin function DATEDIFF ( #2374 )
2017-01-06 10:01:20 +08:00
a44d9c3891
*: add builtin function UNIX_TIMESTAMP ( #2369 )
2017-01-05 14:09:21 +08:00
e3e7b624f2
expression,parser: add support for FIND_IN_SET function ( #2373 )
2017-01-05 10:58:58 +08:00
8e109b7df9
expression,parser: add support for INTERVAL function ( #2370 )
2017-01-05 10:38:03 +08:00
8a03344d05
*: deprecate DateArithInterval ( #2368 )
2017-01-04 11:42:59 +08:00
3f9a101ce6
parser: Index option could be a list ( #2366 )
2017-01-03 11:49:48 +08:00
f0fbe16e18
add support for the LEAST function ( #2360 )
2016-12-31 22:37:43 +08:00
c99cdaaa30
*: parser support crc32 conv bit_xor ( #2347 )
...
*: parser support crc32 conv bit_xor
2016-12-29 20:49:12 +08:00
12f3654672
add func char_length ( #2323 )
...
* add func char_length
2016-12-26 11:22:17 +08:00
d358fc691d
add two builtin functions ( #2312 )
...
Add two functions, bit_length and char.
2016-12-25 16:07:46 +08:00
2acbf242a4
parser: support show keys from table from database syntax. ( #2308 )
...
Fixes issue https://github.com/pingcap/tidb/issues/2303
2016-12-23 12:54:48 +08:00
8eb2bbd37d
parser, evaluator: support mysql builtin functions ln(), log(), log2(), log10() ( #2258 )
2016-12-16 08:52:51 +08:00
893a157301
*: support builtin function timediff ( #2249 )
2016-12-15 19:04:20 +08:00
aca4151716
parser: fix parse explain union statement error ( #2216 )
2016-12-09 20:45:48 +08:00
5917a784be
parser: fix .1_t_1_x parsed as .1 _t_1_x ( #2210 )
...
it should not be parsed as a .1(float) and _t_1_x(identifier)
instead, it should be .(dot) 1_t_1_x(identifier)
2016-12-09 11:47:46 +08:00
196b6b18fe
*: Support for changing column ( #2174 )
...
*: support for changing column in parser
* ddl: support for changing column in ddl
2016-12-07 11:19:37 +08:00
8e2c8362d4
Support builtin function schema() ( #2173 )
2016-12-06 13:34:52 +08:00
f42d3b2bcc
*: Support the statement of "alter user" ( #2144 )
2016-12-03 14:01:38 +08:00
1bca024601
parser: parse more PARTITION option ( #2133 )
2016-12-01 00:24:20 +08:00
36a16d3ee8
parser: handle PARTITION keyword generated by mydumper ( #2115 )
...
* parser: parse PARTITION keyword generated by mydumper
2016-11-29 11:29:04 +08:00
3c349259e4
*: basic support for builtin function STR_TO_DATE ( #2078 )
2016-11-28 14:17:32 +08:00
36f0f307a8
parser: support show events ( #2099 )
...
* parser: support show events
2016-11-27 22:49:49 +08:00
81a3ba602a
parser: support select t.ReservedKeyword from t; ( #2039 )
...
For example "select t.desc from t;"
2016-11-20 22:44:13 +08:00
2f47f24b22
parser: database.ReservedKeyword as identifier & clean up ( #2027 )
...
1. fix a bug test.desc can't be used as identifier, which is valid in mysql
2. introduce ReservedKeyword in parser.y and clean up
3. fix mysql client "use `select`;" can't work
4. refine lexer's special comment mode pos line/offset
2016-11-19 14:22:10 +08:00
94b5d1001f
parser: handle MySQL-specific-code comment syntax in parser ( #2018 )
...
* parser: handle MySQL-specific-code comment syntax in parser
fix issue 2017
2016-11-17 10:47:21 +08:00
2543f4b17c
parser: handle scan identifier meets \0 ( #1994 )
...
this is a vague corner case
it should be illegal according to mysql document
but mysql implementation seems accept it
so we follow implementation
trim \0 in conn packet, report error when parser meet \0
2016-11-12 09:30:12 +08:00
1056c56df1
ddl: support modify column ( #1930 )
...
* ddl: support modify column
2016-11-08 15:20:41 +08:00
1eecf8e718
parser: support drop view if exists ( #1969 )
...
mydumper executes this statement before create a table,
since we don't support view, we can simply return success.
2016-11-07 19:56:03 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
85c0954dc2
support builtin function from_unixtime ( #1929 )
2016-11-04 13:15:55 +08:00
a0cf16c092
parser: identifier may begin with digit ( #1887 )
...
* parser: identifier may begin with digit, fix issue 1878
2016-11-01 12:38:16 +08:00
a6144ad1e1
*: Support Show processlist ( #1907 )
2016-10-31 18:23:00 +08:00
04b97b68ba
parser: Support show index in tbl ( #1873 )
...
Support show index/indexes in tbl.
Fix: https://github.com/pingcap/tidb/issues/1849
2016-10-26 14:22:28 +08:00
c0c9729300
parser: fix bug hexadecimal parsed as string ( #1871 )
...
x'13181C76734725455A' should be parsed as a hexLit, but it's parsed as a string
2016-10-25 14:24:59 +08:00
ba4d6bae37
*: support drop user. ( #1854 )
2016-10-24 21:01:02 +08:00
8930ed05b1
parser: fix bug 'BINARY' not parsed as charset name ( #1803 )
...
* parser: fix bug 'BINARY' not parsed as charset name
2016-10-09 19:45:53 +08:00
6dec14119a
Fix typos ( #1714 )
2016-09-09 22:58:47 +08:00
099e8a9880
parser: Support show function status grammar ( #1710 )
...
Parsed but do nothing. Just make workbench happy.
2016-09-09 16:51:35 +08:00
fe3555e77d
*: FLUSH TABLE statement front end ( #1701 )
2016-09-08 13:27:09 +08:00
9c75a19ebf
parser: mysql start transaction WITH CONSISTENT SNAPSHOT syntax ( #1703 )
2016-09-08 08:19:06 +08:00
5a3f87d099
support unhex. ( #1675 )
2016-09-01 19:25:04 +08:00