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
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +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
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
46da21b5c1
*: support select tidb_is_ddl_owner, to figure out whether tidb instance is ddl owner ( #6682 )
2018-06-01 17:56:44 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +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
b4ad894b0a
expression, plan: do come code clean and make golint happy ( #4681 )
2017-09-29 10:35:47 +08:00
f89db5b6ec
expression, types: export "evalTp" to "EvalType" and move it to package "types" ( #4626 )
...
* expression, types: export "evalTp" to "EvalType" and move it to package "types"
* add source file
* change "ETJSON" to "ETJson"
2017-09-26 11:25:27 +08:00
069cc8b222
expression: open new expression framework by default ( #4595 )
2017-09-22 15:29:42 +08:00
a8b09d2761
expression: reorganize error messages for non-existent functions ( #4582 )
2017-09-21 12:14:50 +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
f02a615bed
expression: remove useless error return ( #4347 )
2017-08-28 20:34:30 +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
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +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
56044645ee
expression: add setSelf for all built-in functions ( #3218 )
2017-05-11 13:51:03 +08:00
20be357e86
expression: fix buildin function found_rows() ( #3134 )
...
fix issue #3131 .
2017-05-02 11:40:10 +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
42dec329fe
session: return correct LastInsertID. ( #3071 )
...
When insert into an auto_increment column with a given value, the last insert id write to client should be the value.
2017-04-18 18:53:24 +08:00
657a74fdf6
*: add parser and definition for all unsupported builtin funcs (part 6) ( #2679 )
2017-02-21 11:47:39 +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
006436a14a
expression: use isDeterministic interface. ( #2570 )
2017-01-30 15:42:45 +08:00
f6547abc7a
expression: refactor function. ( #2551 )
2017-01-25 20:27:54 +08:00
e79a460a28
expression: change test for string_test. ( #2458 )
2017-01-17 14:27:25 +08:00
6d1df4f552
expression: implement functionClass and builtinFunction for info funcs. ( #2385 )
2017-01-04 18:52:54 +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