|
|
afd369e042
|
evaluator: move the evaluate of ast functions to buildin
Move the evaluate of ast functions extract, convert and substring to buildin.
|
2016-03-08 10:50:14 +08:00 |
|
|
|
515f193bd2
|
*: Remove coldef package
There are lots of redundancies between ast and coldef. So we remove
coldef.
|
2016-03-05 19:11:04 +08:00 |
|
|
|
404e1348bd
|
Merge branch 'master' into zimuxia/move-test
|
2016-03-02 09:56:18 +08:00 |
|
|
|
512fca2a79
|
parser: remove duplicate tests
|
2016-03-01 20:19:18 +08:00 |
|
|
|
09fdc21529
|
*: Remove field package
It is useless when we remove field.ResultField
|
2016-03-01 16:32:16 +08:00 |
|
|
|
302fa65023
|
parser: align
|
2016-03-01 11:17:01 +08:00 |
|
|
|
f6c88b0216
|
*: address comments.
|
2016-03-01 11:06:53 +08:00 |
|
|
|
d9f98132ee
|
ast: introduce 'Datum'
Datum is a value box intended to replace 'interface{}' for better performance and easier to use.
|
2016-03-01 10:54:59 +08:00 |
|
|
|
431879e287
|
buildinFunc: add a strcmp function
Add a function needed in https://github.com/pingcap/tidb/issues/310 .
|
2016-02-29 15:43:56 +08:00 |
|
|
|
f0326086aa
|
parser/coldef: remove dependency on expression.
|
2016-02-17 14:12:08 +08:00 |
|
|
|
5461e6256b
|
*: Support InsertStmt in new plan.
|
2016-02-16 17:50:33 +08:00 |
|
|
|
3b30b67518
|
optimizer, executor: support Union statement and Select Distinct.
|
2016-02-15 13:30:08 +08:00 |
|
|
|
f164aa5f1e
|
*: Support delete in new plan
Move DeleteStmt from old plan to new plan.
|
2016-02-15 11:41:52 +08:00 |
|
|
|
ff0a660b12
|
Makefile: tiny fix
|
2016-01-20 14:46:28 +08:00 |
|
|
|
207c7673b9
|
*: update error code.
|
2016-01-16 13:21:06 +08:00 |
|
|
|
d298a5fedf
|
*:add parser.go
|
2016-01-15 21:52:42 +08:00 |
|
|
|
42e6fe0077
|
Merge branch 'master' into zimuxia/inspectkv-sql
Conflicts:
parser/parser.y
|
2016-01-11 11:18:42 +08:00 |
|
|
|
2c5bfaebb0
|
builtin: add version()
|
2016-01-10 14:46:47 +00:00 |
|
|
|
e39a0fd28a
|
Merge branch 'master' into zimuxia/inspectkv-sql
Conflicts:
parser/parser.y
|
2016-01-07 11:02:58 +08:00 |
|
|
|
f6bb202aae
|
parser: address comments
|
2016-01-07 10:54:20 +08:00 |
|
|
|
b607c8504b
|
builtin: add time function dayname()
add builtin time function dayname()
|
2016-01-06 20:11:31 +08:00 |
|
|
|
be2039cf44
|
Merge branch 'master' into zimuxia/inspectkv-sql
|
2015-12-29 20:41:24 +08:00 |
|
|
|
8993f0e148
|
*: add test
|
2015-12-29 20:40:36 +08:00 |
|
|
|
e45c31b89d
|
Merge pull request #754 from hhkbp2/complete-adddate,subdate-functions
add ast evaluation for date arith
|
2015-12-29 14:35:00 +08:00 |
|
|
|
405e6c57d4
|
add ast evaluation for date arith
|
2015-12-29 11:42:02 +08:00 |
|
|
|
c1ef52c6bd
|
parser: add test and update code
|
2015-12-29 11:41:33 +08:00 |
|
|
|
547141c0cb
|
parser: support admin check table and admin show ddl
|
2015-12-25 18:13:05 +08:00 |
|
|
|
7b248032da
|
parser: address comment.
|
2015-12-24 11:00:34 +08:00 |
|
|
|
631045ce5f
|
parser: address comment.
|
2015-12-24 10:47:37 +08:00 |
|
|
|
bfd188d844
|
parser: remove YYParse function, use Parse and ParseOne instead.
|
2015-12-23 18:25:28 +08:00 |
|
|
|
56ae5f3611
|
Merge pull request #751 from pingcap/coocood/prepare
executor: implement executor for prepared statement.
|
2015-12-23 18:12:32 +08:00 |
|
|
|
4ea31357ae
|
*: Support show index from table
|
2015-12-22 23:05:06 +08:00 |
|
|
|
cce746ee8a
|
Merge branch 'master' into coocood/prepare
Conflicts:
session.go
|
2015-12-22 13:24:57 +08:00 |
|
|
|
a6a9b13f99
|
Merge pull request #763 from pingcap/shenli/show-procedure
*: Support show procedure status syntax
|
2015-12-22 09:33:50 +08:00 |
|
|
|
6e1094c16a
|
parser: "variables" is an unreserved keyword
|
2015-12-21 23:27:45 +08:00 |
|
|
|
186f0cb3ee
|
built-in/pow add test in parser
|
2015-12-21 16:11:05 +08:00 |
|
|
|
33d71ad3b0
|
Merge remote-tracking branch 'remotes/master'
|
2015-12-21 13:39:49 +08:00 |
|
|
|
0539de5252
|
built-in/pow add test in parser and delete bultinPower function
|
2015-12-21 13:02:58 +08:00 |
|
|
|
2fe9938ca0
|
*: Support show procedure status syntax
|
2015-12-21 12:15:56 +08:00 |
|
|
|
9084d5d465
|
parser: fix parsing curtime
1. It can be used as an identifier
2. It should be called with parentheses
|
2015-12-21 11:13:45 +08:00 |
|
|
|
1009e715c9
|
builtin/time: Treat curTime as a synonym to currentTime and handle it at scanner part.
|
2015-12-20 17:28:21 +08:00 |
|
|
|
8d0bf06cd5
|
builtin/time: Add tests in parser and support the fsp argument
|
2015-12-20 13:34:39 +08:00 |
|
|
|
ee333b554e
|
fix alignment
|
2015-12-20 01:06:36 +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 |
|
|
|
3d93c973e8
|
parser: add comment for exported variables.
|
2015-12-18 20:11:34 +08:00 |
|
|
|
c5fae25a60
|
optimizer: validates '?' is not allowed in non-prepare mode.
|
2015-12-18 19:40:45 +08:00 |
|
|
|
dcdb32dbde
|
plan. executor: support prepared statement.
|
2015-12-18 16:56:08 +08:00 |
|
|
|
da547dc073
|
Update scanner.l
finish another format error!
|
2015-12-15 17:36:24 +08:00 |
|
|
|
6e33ea7d44
|
Update scanner.l
OK, Align finished.
|
2015-12-15 17:34:55 +08:00 |
|