Commit Graph

30 Commits

Author SHA1 Message Date
0081e17b02 expression, planner: support builtin function benchmark (#9252) 2019-02-13 19:53:28 +08:00
ce622ec6d8 session: move more session vars to stmt context for retrying (#8034) 2018-12-10 16:39:43 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
19e4e2fa9f expression: MySQL compatible current_user function (#7801) 2018-10-16 13:53:07 +08:00
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
3299f860ff *: use chunk.Row instead of types.DatumRow in test files (#7139) 2018-07-24 21:45:33 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
25879d3649 expression: support builtin function ROW_COUNT (#4853) 2017-10-28 09:18:58 +08:00
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08:00
64bc8cb6cb expression: remove "self" field in "baseBuiltinFunc" completely (#4766)
* expression: remove "self" field in "baseBuiltinFunc" completely

* address comment
2017-10-13 04:55:25 -05:00
60626912a7 expression, plan: remove "foldable" from "baseBuiltinFunc" (#4759) 2017-10-12 04:03:54 -05:00
e488bcc23d expression: some builtin functions can be folded (#4756)
* expression: unix_timestamp, utc_timestamp can be folded

* add mores exprs

* add non-cacheable functions
2017-10-12 01:18:26 -05:00
3f4bdf6150 expression: rewrite unit test for Minus and Plus (#4691)
* expression: rewrite unit test for Minus and Plus

* move code
2017-09-30 11:47:26 +08:00
de86e7d897 expression, plan: rewrite builtin function: FOUND_ROWS, DATABASE, CURRENT_USER, USER, CONNECTION_ID, VERSION (#4395) 2017-09-02 08:30:13 +08:00
55bbc41069 expression: adjust getFunction context.Context param position (#4400) 2017-09-01 16:03:19 +08:00
f0aad43fec expression: change isDeterministic to canBeFolded (#4393) 2017-08-31 20:35:13 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
d5b860b126 expression: throw unsupported error during type infer stage (#4156) 2017-08-14 11:33:04 +08:00
0d4fbd80f5 expression: rewrite builtin function: LAST_INSERT_ID (#4093) 2017-08-10 13:54:11 +08:00
bde940f399 Add a tidb_version() function to show tidb-server info (#3592) 2017-07-17 17:07:54 +08:00
3602c20225 expression: add unit test for builtin_info.go (#3735) 2017-07-13 13:21:17 +08:00
20be357e86 expression: fix buildin function found_rows() (#3134)
fix issue #3131.
2017-05-02 11:40:10 +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
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
ffb8fddf87 expression: move builtin to builtin package, cannot run 2015-09-23 14:40:24 +08:00
f9e400d4b3 builtin: Support User() and Current_User() 2015-09-23 11:02:45 +08:00
0d46df9532 expression: rename package and remove import 2015-09-21 18:02:27 +08:00
6f531c4dab expression: move files in expressions to expression
No modification at all.
2015-09-21 17:42:09 +08:00