55ed68ca6c
add builtin-reverse func ( #1224 )
2016-05-13 20:53:55 +08:00
2e355f3749
*: Fix issue#1114 ( #1231 )
...
* *: supprot assignment
* *: fix issue 1114
2016-05-13 11:26:26 +08:00
24503eb791
parser: support parse "ALTER TABLE DISABLE KEYS" ( #1211 )
...
* parser: support parse "ALTER TABLE DISABLE KEYS"
This statement is used in `mysqldump`.
* parser: address comment
2016-05-09 14:39:31 +08:00
0841dbef9b
*: Support builtin function round(X), round(X, D) ( #1208 )
...
Support builtin function round(X), round(X, D)
2016-05-07 13:38:02 +08:00
8a15d2102b
parser: Add "action" into UnReservedKeyword ( #1205 )
...
Fix zabbix login error
2016-05-06 12:11:46 +08:00
887f819a41
*: Support Mod(N, M) ( #1194 )
...
*: Support Mod(N, M)
Fix: https://github.com/pingcap/tidb/issues/1193
2016-05-04 10:26:22 +08:00
e742def024
add foreign key on update and on delete support ( #1152 )
...
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00
b2f1cfe9a7
parser: fix typo. ( #1172 )
2016-04-27 01:30:00 -05:00
3671f3958f
xapi: support IN expression push down. ( #1147 )
...
* xapi: support IN expression push down.
2016-04-25 19:50:33 +08:00
4ced2f7e10
*: implement some other builtin functions ( #1137 )
...
Support ISNULL(), LTRIM(), RTRIM(), LCASE() and UCASE().
Add alias for LOWER() and UPPER().
2016-04-23 21:04:26 +08:00
661339c90c
parser: Support truncate t ( #1136 )
...
* parser: support truncate t
2016-04-21 18:05:50 +08:00
ff05329a05
parser: support index hint syntax. ( #1113 )
2016-04-19 18:42:44 +08:00
8c164bc078
evaluator,parser: support ASCII(). ( #309 ) ( #1083 )
...
* evaluator: add a builtin function wanted by #310 .
* parser: update parser for ASCII().
2016-04-14 01:53:50 -05:00
0537b67d2b
*: Add more info into TableInfo and fix bug in show create table ( #1072 )
...
Fix: https://github.com/pingcap/tidb/issues/1061
2016-04-09 15:59:51 +08:00
eb941fb12f
*: Support mysqldump dump database
...
1. Fix bug in show tables like with escape char.
2. Parse but ignore sql_cache/sql_no_cache.
2016-04-07 16:25:49 +08:00
d01d516105
evaluator, parser: support UTC_DATE()
...
* evaluator, parser: support UTC_DATE()
Fix issue: #236 .
2016-04-05 21:25:04 +08:00
0a55471cba
parser: Treat key as primary key in columndef
...
Fix: https://github.com/pingcap/tidb/issues/961
2016-03-28 14:21:52 +08:00
ce96978182
*: Add index option in IndexInfo
...
1. Add index option in IndexInfo.
2. Show index option content when running show index statement.
2016-03-16 22:09:11 +08:00
7f57652532
*: Support more create table options
...
The options are parsed but ignored.
Fix: https://github.com/pingcap/tidb/issues/975
Fix: https://github.com/pingcap/tidb/issues/974
2016-03-16 10:41:42 +08:00
5fd70ed31e
parser: Handle MySQL-specific code
...
Fix: https://github.com/pingcap/tidb/issues/971
2016-03-15 15:53:39 +08:00
352c27829a
evaluator: move date_add and date_sub to buildin
...
Move the evaluate of ast function date_add and date_sub to builtin.
2016-03-10 19:04:33 +08:00
f4bf763d27
evaluator: move the evaluate of ast function trim to buildin
...
Move the evaluate of ast function trim to builtin.
2016-03-09 18:06:16 +08:00
02ccdc363a
evaluator: move the evaluate of ast function substring_index and locate to buildin
...
Move the evaluate of ast function substring_index and locate to buildin.
And Change some logic in locate function to make its behavior more similar with MySQL.
2016-03-08 17:30:43 +08:00
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
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
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
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
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
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