786a9d54a3
expression,util/encrypt: add support for AES OFB mode ( #8605 )
2019-01-11 14:22:57 +08:00
b818fb2f01
expression,util/encrypt:add support for AES CFB mode ( #8760 )
2018-12-21 17:10:58 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
e61bad0769
expression: handle corrupted length in uncompress builtin function ( #8586 )
2018-12-06 22:36:49 +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
038ac639ba
expression: ECB/CBC modes with 128/192/256-bit key length for AES ( #7425 )
2018-09-23 22:09:02 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
8b1feeb9d4
Add two buildin function ( decode and encode) ( #7622 )
2018-09-10 18:48:15 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00
ae4300d03b
expression: Add deprecation warning for builtin function PASSWORD ( #6000 )
2018-03-13 12:37:04 +08: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
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
83ace4f748
expression: return NULL when error is not nil ( #4749 )
2017-10-11 03:38:03 -05:00
b4ad894b0a
expression, plan: do come code clean and make golint happy ( #4681 )
2017-09-29 10:35:47 +08:00
459c4691b5
expression: remove useless code ( #4672 )
2017-09-28 16:03:04 +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
55bbc41069
expression: adjust getFunction context.Context param position ( #4400 )
2017-09-01 16:03:19 +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
eaf22638b5
expression: rewrite builtin function RANDOM_BYTES ( #4148 )
2017-08-11 18:27:10 +08:00
0bf26a1df7
expression: Refactor return sig.setSelf(sig), errors.Trace(c.verifyArgs(args)) ( #4123 )
2017-08-11 14:12:45 +08:00
bf97933508
expression: rewrite builtin function: MD5, SHA1, SHA2 ( #4109 )
2017-08-10 10:48:46 +08:00
68f58dc38b
expression: rewrite builtin function: AES_ENCRYPT, AES_DECRYPT ( #4085 )
2017-08-10 10:19:47 +08:00
5077f46036
expression: rewrite builtin function: COMPRESS, UNCOMPRESS, UNCOMPRESSED_LENGTH ( #4095 )
2017-08-09 20:56:53 +08:00
96857eb021
expression, executor: password should return empty string when parameter is null ( #3880 )
2017-07-25 23:19:12 +08:00
cb7b400995
expression, executor: rewrite builtin function MD5 ( #3673 )
2017-07-10 10:48:28 +08:00
35d2ca006a
expression, parser: simplify the type inferer of builtin funcs ( #3617 )
2017-07-06 16:18:40 +08:00
900fa9fbb9
expression:rewrite password using new expression evaluation architecture ( #3593 )
2017-07-04 17:48:11 +08:00
e294500a17
expression:implement function password. ( #3275 )
2017-06-02 15:08:40 +08:00
83375338c8
expression:correct comments mistake. ( #3272 )
2017-05-16 09:49:28 +08:00
bc2bba1130
add:impl builtin uncompress & uncompressedlength ( #3136 )
2017-05-11 17:10:16 +08:00
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
f66c46953d
*: remove MySQL enterprise functions definition. ( #2973 )
2017-03-31 18:03:19 +08:00
5516ca56e6
builtin: add compress funciton ( #2879 )
2017-03-31 13:33:00 +08:00
c83bdda7b0
builtin: add random-bytes function ( #2927 )
2017-03-28 14:02:45 +08:00
88bfb59db2
mod: add sha2 built-in function ( #2914 )
...
* mod: add sha2 built-in function
2017-03-24 05:44:52 -05:00
754c58b188
expression: Use Datum.ToBytes() in AESEncrypt/Decrypt ( #2783 )
2017-03-05 09:33:12 -06:00
8934e0c4a0
builtin: add sha/sha1 built-in function ( #2781 )
...
* mod: add sha/sha1 built-in function
* Address comment
* unify return style
* address comments, add some test cases
2017-03-05 18:00:49 +08:00
0391820318
experssion: implement MD5 builtin function ( #2780 )
...
* experssion: implement MD5 builtin function
2017-03-05 02:58:47 -06:00
3294103a37
*: add parser and definition for all unsupported builtin funcs (part 7) ( #2680 )
2017-02-21 11:23:43 +08:00