Commit Graph

8026 Commits

Author SHA1 Message Date
c18dd04e04 optimize when condition is false constant. 2016-08-15 11:11:37 +08:00
7736822c02 vendor: update kvproto. (#1581) 2016-08-15 10:44:08 +08:00
0a0abbb2e7 parser: use the new lexer as default (#1566) 2016-08-15 10:06:52 +08:00
3c817210a2 Merge pull request #1584 from nolouch/master
*:fix issue 428
2016-08-11 22:01:08 +08:00
a261ca5c76 Merge branch 'master' into master 2016-08-11 21:52:24 +08:00
4f6168ef7c delete redundant files 2016-08-11 19:40:54 +08:00
a9f704f8a2 reduce the deep nesting 2016-08-11 19:34:41 +08:00
059c375854 *:fix issue 428 2016-08-11 18:08:44 +08:00
dd654d9ed3 parser: peek neither byte nor a valid UTF8 rune bug fix (#1580) 2016-08-11 15:33:16 +08:00
09d23d225c parser: refact scan string (#1563) 2016-08-10 19:10:34 +08:00
84f0e8ac66 vendor: Update log repo (#1575) 2016-08-10 14:50:41 +08:00
aa59ea9bb3 Update QUICKSTART.md
doc link is outdated
2016-08-09 22:31:05 -07:00
39ad472b06 *: fix issue 1545 and 1536 (#1572) 2016-08-10 11:45:41 +08:00
4c0e106152 *: goyacc generated code tiny change (#1574) 2016-08-10 10:32:10 +08:00
3ad82590ba server: trim large sql statement for logging. (#1573) 2016-08-09 19:11:52 +08:00
1f9da091b8 util/types: change FieldType of exprNode to value instead of pointer (#1564) 2016-08-09 12:45:59 +08:00
69c9d59252 plan: fix index double read (#1569) 2016-08-09 11:01:39 +08:00
c6fdeda4c5 *: change Makefile goyacc to go build (#1568) 2016-08-09 10:32:07 +08:00
3545493808 parser: cache variable in parser to avoid allocation (#1565) 2016-08-08 23:17:44 +08:00
bbdd4ad862 store/tikv: use 'ResolveLock' command to resolve locks. (#1518) 2016-08-08 14:31:16 +08:00
0d864a1710 *: Add --log-file flag to set log file path (#1560) 2016-08-08 10:52:31 +08:00
f3645267bd Remove useless index seek (#1556) 2016-08-08 10:27:39 +08:00
bce821d30e modify systemt to system (#1558) 2016-08-06 23:09:38 -07:00
257102739d mysql: MyDecimal implements multiply, division and modulus. (#1537) 2016-08-07 01:11:02 +08:00
a5db620286 parser: rewrite lex (#1514)
introduce a handwriten lexer, which should be better in performance and support UTF8.
it's still not used as default one, a switch is provided by specifying -newlexer=true in tidb-server.
2016-08-06 16:29:21 +08:00
c11647168e _vendor: update pd-client vendor. (#1557) 2016-08-06 15:13:50 +08:00
076e358324 plan: Fix a few bugs (#1555)
* plan: fix cost full range bug

* plan: fix like empty pattern

* plan: make more accurate cost

* plan: make more accurate cost in range[MinNotNull,MaxValue]

* executor: fix like convert to PB when pattern isn't a constant
2016-08-05 16:54:17 +08:00
1d5fdbfaf9 *: improve time codec. (#1551) 2016-08-05 14:23:38 +08:00
dad48b9689 vendor: Update pd vendor (#1554) 2016-08-04 17:30:10 +08:00
b060ff9241 fix a few bugs. (#1553) 2016-08-04 17:02:46 +08:00
e2dfc21c25 resolve having correctly. (#1552) 2016-08-04 14:10:15 +08:00
70b0a7e3d0 let update/delete do old logicOptimize (#1550) 2016-08-03 21:59:27 +08:00
fe93917993 *: Fix bug for use new planner as default (#1549) 2016-08-03 18:16:26 +08:00
b06966048e correct column names (#1548) 2016-08-03 17:27:34 +08:00
73f508dd4b plan: fix cost bug (#1547) 2016-08-03 16:44:37 +08:00
b7001066ac solve having column correctly. (#1546) 2016-08-03 16:29:04 +08:00
733bd400bb plan: Support “in” and “like” in new check (#1533)
* plan: support in and like in new check
* *: open MultiColumnIndex test
2016-08-03 10:02:09 +08:00
12e244e0e8 tidb-server: Change some int flag to bool (#1542) 2016-08-02 23:01:29 +08:00
8f93071389 *: Merge pprof and status port and add flag to set host (#1541) 2016-08-02 22:23:46 +08:00
0c72ae8712 ddl: increase sleep time (#1540) 2016-08-02 18:35:59 +08:00
acbfe2394f add arguments buffer to avoid making new slice frequently. (#1539) 2016-08-02 17:20:11 +08:00
d639c0aa54 support single index read. (#1538) 2016-08-02 16:13:50 +08:00
da6ceb949b add constant folding (#1534) 2016-08-02 15:45:58 +08:00
6499d8aea0 store/tikv: mantain lastTS in pd oracle. (#1530) 2016-08-02 13:21:52 +08:00
08c69c8ffb executor: Fix limit bugs in new xapi executor (#1535) 2016-08-02 10:10:43 +08:00
96b8366b39 mysql: MyDecimal supports FromBin, ToBin, Compare, Add, Sub. (#1511) 2016-08-01 18:51:16 +08:00
398eec015d parser: move lexer's int/float/hex method to function (#1529)
the old lexer and the new lexer can both use those code
2016-08-01 18:44:54 +08:00
896fcb34b1 localstore: Do not decode unused columns when doing aggregation (#1528) 2016-08-01 18:29:02 +08:00
0aa312bbef plan: fix convert to physical plan, when there are multiple index ranges (#1532) 2016-08-01 18:05:39 +08:00
9a53a54fe7 fix a bug when push down conditions. (#1531) 2016-08-01 17:18:09 +08:00