Commit Graph

8026 Commits

Author SHA1 Message Date
9574322317 support join reorder. (#1522) 2016-08-01 15:57:47 +08:00
5cae3c3f90 more token values moved to yySymType's ident field (#1526) 2016-08-01 13:18:15 +08:00
0c65b7f978 store/tikv: change mutex style. (#1527) 2016-08-01 12:13:04 +08:00
8169806756 *: Use prometheus for metrics (#1525)
Add prometheus metrics framework.
2016-07-30 12:08:36 +08:00
5344ba1652 travis: Change CI build cmd (#1524) 2016-07-30 09:33:18 +08:00
d2b4ad8814 *: Pass make race (#1521) 2016-07-29 18:45:55 +08:00
9c2ca4de89 Makefile: Add default task (#1519) 2016-07-29 13:58:34 +08:00
7bf53ff06b Makefile: Change make server to make, Change make to make dev (#1517) 2016-07-29 13:00:33 +08:00
470e7c245e parser: add an indent field for yySymType (#1516)
current all kind of data store in item field,
from token to a AST field follow this patten:
identifier string -> interface{} -> string

translate to interface{} represention cause
unnecessay allocation. add an indent field
and store identifier as string would avoid that
2016-07-29 10:40:22 +08:00
b0e4096f3c fix bug of limit. (#1515) 2016-07-28 17:58:13 +08:00
60d0c97721 Hanfei/newplan (#1513) 2016-07-28 14:11:57 +08:00
4a4faccba3 Add builtin function hex (#1504) 2016-07-28 13:53:54 +08:00
90e07a6738 *: resolve merge conflict in _vendor/Godeps/Godeps.json (#1510) 2016-07-28 11:08:13 +08:00
a5aca8a5e1 store/tikv: udpate backoff. (#1506) 2016-07-28 10:31:03 +08:00
b38a5cd6be mysql: MyDecimal add more methods and tests. (#1500) 2016-07-27 23:14:22 +08:00
d7db368307 tidb-server: Change default log level to info (#1508) 2016-07-27 17:38:06 +08:00
d17c49df80 *: update pd-client (#1505) 2016-07-27 16:07:41 +08:00
9a5809943d *: fix show procedure status resolving error. (#1507) 2016-07-27 15:02:44 +08:00
8ad34f0ad9 parser: use yyLex.Error instead of (*lex).err (#1492) 2016-07-27 14:42:40 +08:00
b42dae814a parser: move charset/collation/list fields to parser from lexer (#1491) 2016-07-27 11:20:31 +08:00
2b4acb0caf support cbo (#1498) 2016-07-27 11:10:52 +08:00
128af2e92a parser: store sql string in parser and move offset related method (#1493) 2016-07-27 10:50:06 +08:00
c2831f6290 *: put goyacc tool into vendor (#1499) 2016-07-27 10:30:10 +08:00
04da3d2f8b parser: add testcases for lexer (#1503) 2016-07-26 13:01:32 +08:00
66198e6ce4 store/tikv: fix an unlock bug (#1502) 2016-07-25 17:42:56 +08:00
ffcd3ba927 *: Add docs repo link in README.md (#1501) 2016-07-25 17:32:47 +08:00
5fee2ffd9b parser: clean up unused code (#1480) 2016-07-25 15:21:45 +08:00
53cbe0c534 mysql: add MyDecimal data type. (#1486) 2016-07-25 14:12:59 +08:00
212ba73b4a util/codec: encode int64 to varint if not comparable (#1448) 2016-07-25 12:52:06 +08:00
6abc5d88b7 types: Fix bug for CalculateSum (#1497) 2016-07-25 12:04:53 +08:00
f5a6c962b5 *: Change ctx.Value from interface{} to Datum (#1494) 2016-07-25 10:42:54 +08:00
4eec6caf58 *: Fix issue#1435 (#1467)
* *: fix issue 1435
2016-07-23 19:08:15 +08:00
f780dc448f travis: Add go1.7rc3 (#1489) 2016-07-23 18:03:57 +08:00
432df5458b *: aggregate related code cleanup (#1488) 2016-07-23 14:29:52 +08:00
819703589b tidb-server: Add system time monitor for detecting if system time jum… (#1484)
* tidb-server: tidb-server: Add monitor for detecting if system time jump backward
* update to latest systimemon package
2016-07-22 19:52:05 +08:00
ba59e7975c executor: Support aggregate push down in new index scan executor (#1485) 2016-07-22 18:03:55 +08:00
7ea65164c8 tikv: Enable xapi for avg/max/min (#1487) 2016-07-22 16:52:00 +08:00
c66576ba05 Support aggregate push down in new executor (#1483)
Support aggregate push down for NewXSeelctTableExec.
2016-07-22 13:15:41 +08:00
b33ab24109 *: Support set variable to default value. (#1481)
To set a SESSION variable to the GLOBAL value or a GLOBAL value to the compiled-in MySQL default value, use the DEFAULT keyword.
See http://dev.mysql.com/doc/refman/5.7/en/set-statement.html
2016-07-22 10:23:03 +08:00
cbddbcdcd0 *: fix add record panic (#1482) 2016-07-22 08:38:18 +08:00
1e6e1ca6f0 *: Support binlog stmt (#1479)
Parse and ingore it.
2016-07-21 13:39:15 +08:00
7282f4283b add not push down during refining. (#1478) 2016-07-21 10:31:08 +08:00
deac77f39f store/tikv: use defer to cleanup keys. (#1474) 2016-07-20 13:13:57 +08:00
945fd1d371 *: add error trace (#1477) 2016-07-20 11:50:33 +08:00
8749945b0c *: add builtin function greatest (#1463) 2016-07-20 11:32:14 +08:00
3e7269eec1 *: remove the useless argument in exec (#1475) 2016-07-20 11:04:41 +08:00
537abcbd84 parser: Allow "no" as an identifier (#1476) 2016-07-20 10:46:31 +08:00
1a10e4737a fix bug of interpreter. (#1473) 2016-07-19 19:26:17 +08:00
c5c7ffdeb3 fix bug about aggr ppd. (#1472) 2016-07-19 14:20:12 +08:00
35133ef397 support semijoin without aux column, support semijoin for insubquery. (#1461) 2016-07-19 11:36:32 +08:00