2c5bfaebb0
builtin: add version()
2016-01-10 14:46:47 +00:00
b607c8504b
builtin: add time function dayname()
...
add builtin time function dayname()
2016-01-06 20:11:31 +08:00
cfe157f93f
*: Unify session ID and connection ID
...
This is for Github issue #722 .
1. CONNECTION_ID now can get the real id generate at server side (rather than a session id).
2. Keep session id generation untouched to ensure minimal interface change.
2015-12-21 23:03:39 +08:00
9b1a047f5b
Merge pull request #756 from sllt/master
...
parser: support built-in function pow
2015-12-21 16:26:44 +08:00
33d71ad3b0
Merge remote-tracking branch 'remotes/master'
2015-12-21 13:39:49 +08:00
5d9e7bb4fc
fix built-in/pow test
2015-12-21 13:30:01 +08:00
0539de5252
built-in/pow add test in parser and delete bultinPower function
2015-12-21 13:02:58 +08:00
01ea0ab60f
Merge branch 'master' into check-args-num
2015-12-21 11:50:32 +08:00
a5b5fd67fa
evaluator: Check function call min and max arguments in new evaluator.
...
For github issue #758 .
2015-12-20 23:17:17 +08:00
0b70b41cfe
builtin/time: fix one bug in function mapping
...
The max arg should be 1, which means accept one argument.
2015-12-20 19:31:23 +08:00
7822670132
builtin/time: Use mysql.Duration instead of mysql.Time and add length check
2015-12-20 16:47:10 +08:00
8d938f32ab
builtin/time: Add tests for the fsp argument in builtinCurrentTime()
2015-12-20 14:21:58 +08:00
8d0bf06cd5
builtin/time: Add tests in parser and support the fsp argument
2015-12-20 13:34:39 +08:00
218457791c
builtin/time: Add tests for CURRENT_TIME(), CURTIME()
2015-12-20 11:07:51 +08:00
8a0a7544bd
parser: support built-in function pow
2015-12-20 00:52:20 +08:00
c01879ba2e
parser: support built-in function pow
2015-12-19 23:51:04 +08:00
1b0c2e38cf
builtin/time: support CURRENT_TIME(), CURTIME()
...
For github issue #236 .
2015-12-19 22:29:13 +08:00
1e1ef8a0bd
*: Support connection_id()
...
Fix: https://github.com/pingcap/tidb/issues/715
2015-12-14 14:40:55 +08:00
ad94d351e5
expression: keep replace in order in builtin
2015-10-29 09:29:57 +08:00
784a677317
expression: handle DataItem nil
2015-10-28 21:08:38 +08:00
d48ac8ca26
Merge branch 'master' into zimuxia/replace-func
2015-10-28 17:53:50 +08:00
ab735686f0
expression: add replace function
2015-10-28 17:52:02 +08:00
ebfb3377c8
*: Address comment and code cleanup
2015-10-26 15:06:08 +08:00
10d90f2637
*: parser returns DataItem for stringLiteral instead of raw string.
2015-10-23 11:36:07 +08:00
2a584dcc92
expression: Address comment
2015-10-21 22:50:42 +08:00
ff328a1c60
*: Address comments
2015-10-21 14:22:32 +08:00
de767ac317
*: Fix failed cases in sqllogictest-expr
2015-10-21 13:15:17 +08:00
3442b777ca
Merge remote-tracking branch 'origin/master' into shenli/wrap-data
2015-10-19 19:17:01 +08:00
29369dba8f
*: Rename mysqldef to mysql
2015-10-19 16:26:43 +08:00
67cb0f178a
*: backup
2015-10-09 18:37:05 +08:00
dd8116a4b3
builtin: add current date function
2015-10-08 15:59:31 +08:00
039bbc6c44
builtin: Address comment
2015-10-07 12:14:21 +08:00
a18c3ddb99
builtin: support lower and upper string function
2015-10-07 12:02:54 +08:00
e8baa91cc5
builtin: update string length
2015-10-07 11:46:56 +08:00
57027edf03
expression/builtin: add rand function.
2015-09-28 18:37:38 +08:00
30c585645f
builtin: use Now for sysdate
2015-09-23 20:16:24 +08:00
a7b839d848
builtin: support sysdate function
2015-09-23 17:23:10 +08:00
85b436cad4
builtin: Address comment
2015-09-23 16:42:18 +08:00
2c363b72b0
builtin: simplify file name
2015-09-23 16:22:26 +08:00
76d1a49ab6
*: rename package name and do some export
2015-09-23 16:14:04 +08:00
ffb8fddf87
expression: move builtin to builtin package, cannot run
2015-09-23 14:40:24 +08:00