dcc7715ec2
*: support with grant option for grant statement ( #2647 )
2017-02-16 12:58:07 +08:00
3f4c71bdbb
*: add parser and definition for all unsupported builtin funcs (part 1) ( #2649 )
...
* *: add parser and definition for builtin funcs:
bin, elt, exportSet, format, fromBase64, insert, instr, loadFile, lpad
2017-02-16 11:37:42 +08:00
ce1447449b
parser: support the field of column optional ( #2634 )
2017-02-15 13:12:45 +08:00
4fd95363b2
*: flush privileges statement ( #2602 )
2017-02-13 13:17:54 +08:00
51defd89bb
*: Support the statement of drop default ( #2616 )
2017-02-09 17:21:44 +08:00
87f51736ee
*: support the statement of alter table alter column set default ( #2608 )
2017-02-08 15:03:27 +08:00
16c1aae54c
parser: remove useless code ( #2604 )
2017-02-07 19:43:42 +08:00
395a9c6129
*: add builtin function UTC_TIMESTAMP ( #2592 )
...
* *: add builtin function UTC_TIMESTAMP
2017-02-05 02:16:18 -06:00
15d2065287
Support builtin function timestamp ( #2498 )
2017-02-05 13:06:27 +08:00
59de1e5494
parser: Parse primary key name and ignore it ( #2582 )
2017-02-03 14:07:09 +08:00
ac10a37ee3
*: support alter table rename table ( #2503 )
2017-01-22 12:39:54 +08:00
383f203735
*: add builtin function FLOOR ( #2484 )
2017-01-22 11:18:15 +08:00
869dfda127
parser: tiny clean up ( #2504 )
2017-01-20 15:56:11 +08:00
72403f3578
*: added builtin function sqrt ( #2493 )
2017-01-18 12:43:59 +08:00
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
a3c1d47058
parser: count multiple expression doesn't return error. ( #2429 ) ( #2448 )
2017-01-13 10:24:22 +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
ee9a0fea1c
parser: limit error information size ( #2415 )
2017-01-09 14:31:18 +08:00
2521ab4dec
*: extract a builtin function factory for date arithmetic ( #2403 )
...
* *: refactor DATE_ARITH according to #2368
2017-01-07 10:52:31 +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
d40e24ce46
*: in prepared statement limit/offset may be placeholder ( #2364 )
2017-01-03 14:52:14 +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
b200cef223
support function rpad ( #2270 )
2016-12-19 16:36:41 +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
f15333b8c7
parser: fix bug 0_x should parse to identifier ( #2200 )
2016-12-08 17:14:15 +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
3a721da8fc
*: fix cast decimal allocates large memory. ( #2146 )
...
If precision is too large, encode decimal allocates large amount of memory.
This commit set cast decimal unspecified length to default decimal length (10),
also add check on precision and frac on `MyDecimal.ToBin`.
2016-12-01 17:37:10 +08:00
1bca024601
parser: parse more PARTITION option ( #2133 )
2016-12-01 00:24:20 +08:00
ca700d2c75
parser: fix wrong offset for token inner mysql comment ( #2141 )
2016-11-30 22:29:07 +08:00