Commit Graph

414 Commits

Author SHA1 Message Date
62340db3c0 mysql: change the default decimal for datetime. (#2694) 2017-02-21 19:50:54 +08:00
657a74fdf6 *: add parser and definition for all unsupported builtin funcs (part 6) (#2679) 2017-02-21 11:47:39 +08:00
3294103a37 *: add parser and definition for all unsupported builtin funcs (part 7) (#2680) 2017-02-21 11:23:43 +08:00
a202e5085a *:add parser and definition for: (#2677)
BENCHMARK, CHARSER, COERCOBILITY, COLLATION, ROW_COUNT, SESSION_USER, SYSTEM_USER

:q!
2017-02-20 10:41:32 +08:00
41afe4e934 *: add parser and definition for: (#2667) 2017-02-19 17:07:22 +08:00
37977865df *: add max1row info and refine scalar subquery's decorrelation. (#2646) 2017-02-17 19:25:00 +08:00
a8d185d8cb *: add parser and definition for all unsupported builtin funcs (part 3) (#2657) 2017-02-17 16:49:42 +08:00
2bbc3b2525 expression: handle timestampdiff with null argument. (#2665)
Fixes https://github.com/pingcap/tidb/issues/2662
2017-02-17 14:08:06 +08:00
7f8f16f27c *: add parser and definition for all unsupported builtin funcs (part 2) (#2655) 2017-02-17 10:58:33 +08:00
2f07f7141d *: Support basic aes_encrypt/aes_decrypt function. (#2640) 2017-02-16 14:03:44 +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
59e8ccf0a5 expression: workaround for wrong timediff function input (#2611) 2017-02-08 20:57:27 +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
1c01055496 plan: add Contains function on Schema (#2588)
Improve readablity.
2017-02-04 14:25:12 +08:00
006436a14a expression: use isDeterministic interface. (#2570) 2017-01-30 15:42:45 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
7e92364dd1 expression: refactor time function. (#2560) 2017-01-26 10:33:05 +08:00
b9e62d69ef expression: make and/ or expression faster. (#2561) 2017-01-26 00:02:02 +08:00
26d54c8866 expression,util/stringutil: move LIKE pattern match to stringutil package (#2548) 2017-01-25 22:28:36 +08:00
3c9bb15d29 expression: refactor functions. (#2556) 2017-01-25 20:34:41 +08:00
f6547abc7a expression: refactor function. (#2551) 2017-01-25 20:27:54 +08:00
d2db2b3c15 expression: refactor functions. (#2555) 2017-01-25 20:17:27 +08:00
a534a50ff4 expression: refactor functions. (#2558) 2017-01-25 19:55:02 +08:00
f896757b83 expression: refactor functions. (#2550)
* expression: refactor functions.

* address comment
2017-01-25 15:22:34 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
21e21c4a3c *: move the code of distinct logic. (#2539) 2017-01-23 20:43:47 +08:00
150574bacf plan: remove aggregation grouped by unique key. (#2424) 2017-01-23 19:08:48 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
5aec72ce81 expression,plan: fix some issues of ROUND func (#2461) 2017-01-22 11:35:26 +08:00
383f203735 *: add builtin function FLOOR (#2484) 2017-01-22 11:18:15 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
30f97af07f *: fixed a mistake whileing adding sqrt math func (#2513) 2017-01-19 19:24:05 +08:00
a3f4cf7beb expression: Fix a null point bug in unix_timestamp() (#2497) 2017-01-18 12:54:18 +08:00
72403f3578 *: added builtin function sqrt (#2493) 2017-01-18 12:43:59 +08:00
a680ffcfbb expression: change builtin time test. (#2494) 2017-01-18 02:52:42 +08:00
475d7e3842 expression: change test. (#2488) 2017-01-17 20:08:13 +08:00
e79a460a28 expression: change test for string_test. (#2458) 2017-01-17 14:27:25 +08:00
c470a46283 *: remove useless code. (#2457) 2017-01-15 11:37:48 +08:00
67313335fa *: Support builtin function field (#2449) 2017-01-15 11:10:39 +08:00
8a62fc1caf *: clean code. (#2464) 2017-01-15 10:00:03 +08:00
3bfac81a4e *: add builtin function FROM_DAYS (#2434) 2017-01-15 01:10:47 +08:00
d1ef3e5687 *: add builtin function SIGN (#2427) 2017-01-13 10:31:05 +08:00
5969e9ecad *: add builtin function TIMESTAMPDIFF (#2386) 2017-01-11 00:12:48 +08:00
19c87888b4 expression: add new funcs map. (#2433) 2017-01-10 19:21:10 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
b2ce51a06d *: support substr. (#2422) 2017-01-09 23:25:22 +08:00
962cd0c1fb expression: move some funcs out of builtin.go (#2418) 2017-01-09 16:33:00 +08:00
15b9956e57 *: add buildin function CONV (#2390)
*: add buildin function CONV
2017-01-09 10:57:19 +08:00