56044645ee
expression: add setSelf for all built-in functions ( #3218 )
2017-05-11 13:51:03 +08:00
ee312bfd71
expression: Fix code style according to goword ( #3123 )
...
ref https://github.com/pingcap/tidb/issues/3120
2017-04-25 23:35:45 +08:00
1d8dbb1682
built_in string right ( #3088 )
2017-04-23 20:37:15 +08:00
5d146946df
builtin: impl export_set ( #3036 )
2017-04-20 19:37:12 +08:00
c219218a19
fix REPLACE FUNC ( #3082 )
...
when the from_str is "", use REPLACE FUNC.
+-----------------------------------------------------------------------+
| REPLACE('www.mysql.com', '', 'tidb') |
+-----------------------------------------------------------------------+
| tidbwtidbwtidbwtidb.tidbmtidbytidbstidbqtidbltidb.tidbctidbotidbmtidb |
+-----------------------------------------------------------------------+
1 row in set (0.01 sec)
But the correct result should be:
+-----------------------------------------------------------------------+
| REPLACE('www.mysql.com', '', 'tidb') |
+-----------------------------------------------------------------------+
| www.mysql.com |
+-----------------------------------------------------------------------+
1 row in set (0.01 sec)
2017-04-19 12:45:51 +08:00
4c9452f944
Builtin: 'LOCATE' dealing with case sensitivity and utf8 characters. ( #2960 )
2017-04-18 17:23:00 +08:00
05f9a5f838
builtin:func to_base64() ( #3070 )
...
implement to_base64 and fix some case for from_base64
2017-04-18 16:01:59 +08:00
1ec85a7b1c
*: add three more builtin definitions ( #3016 )
2017-04-10 14:26:16 +08:00
a125e5378c
add mysql builtin function cos,from_base64,tan,cot ( #2977 )
2017-04-05 22:35:28 +08:00
ff3abdfd27
builtin: add format built-in function ( #2883 )
2017-03-31 13:21:08 +08:00
7b52245ed9
builtin: add quote built-in function ( #2845 )
2017-03-31 13:10:28 +08:00
7031e28ab1
Built-in Function: bin ( #2924 )
2017-03-29 09:07:12 +08:00
60ba388e0c
*: check visibility for show databases and tables ( #2934 )
2017-03-28 11:28:50 +08:00
d1a8cd4da1
builtin: add insert built-in function ( #2855 )
2017-03-25 17:00:56 +08:00
2c3e731f81
builtin: add instr built-in function ( #2857 )
2017-03-22 14:21:25 +08:00
52100cb986
Add builtin function ord ( #2881 )
2017-03-20 14:15:15 +08:00
67e89f3dd4
builtin: add elt built-in function ( #2870 )
2017-03-20 12:26:12 +08:00
826ce6fb5d
builtin: add oct built-in function ( #2835 )
2017-03-17 18:14:58 +08:00
901040ae5b
builtin: add make_set built-in function ( #2831 )
2017-03-17 13:02:51 +08:00
6e27871b63
builtin: add lpad built-in function ( #2838 )
2017-03-16 11:21:45 +08:00
657a74fdf6
*: add parser and definition for all unsupported builtin funcs (part 6) ( #2679 )
2017-02-21 11:47:39 +08:00
7f8f16f27c
*: add parser and definition for all unsupported builtin funcs (part 2) ( #2655 )
2017-02-17 10:58:33 +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
a534a50ff4
expression: refactor functions. ( #2558 )
2017-01-25 19:55:02 +08:00
67313335fa
*: Support builtin function field ( #2449 )
2017-01-15 11:10:39 +08:00
19c87888b4
expression: add new funcs map. ( #2433 )
2017-01-10 19:21:10 +08:00
9c38f89241
expression: add functionClass and builtinFunc for str funcs. ( #2399 )
2017-01-05 17:02:12 +08:00
e3e7b624f2
expression,parser: add support for FIND_IN_SET function ( #2373 )
2017-01-05 10:58:58 +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
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