Commit Graph

8026 Commits

Author SHA1 Message Date
5896bb9b64 fix a panic bug for subquery. (#1468) 2016-07-18 18:45:18 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
fea1d3e8ff fix a panic bug about subquery. (#1465) 2016-07-18 14:18:58 +08:00
e402fc81ab *: add constraint for the length of the index prefix (#1462) 2016-07-18 13:03:39 +08:00
11d642520b fix a bug that select null from a index table. (#1464) 2016-07-18 12:01:31 +08:00
ebcf42b371 parser: add a benchmark test for Parse (#1450) 2016-07-18 11:18:25 +08:00
c4bf16d888 tikv: Enable Plus and Sum for xapi. (#1445) 2016-07-18 10:51:32 +08:00
bd10f50e26 localstore xapi max/min (#1455)
Support Max and Min for localstore xapi.
2016-07-17 17:44:59 +08:00
7654b6b5d5 *: Support sleep function (#1457)
* *: support sleep function

* evaluator: add SQL mode judgement
2016-07-16 13:48:45 +08:00
61cdf69d16 parser: Support show keys statement (#1460) 2016-07-16 13:46:16 +08:00
fe6386706e *: Update pd/kvproto vendor and change mock-pd interface (#1456) 2016-07-15 22:38:50 +08:00
815d2fd6b5 *: Add reason log for rollback txn (#1453) 2016-07-15 18:05:35 +08:00
224fc0596b support semi-join for exists. (#1454) 2016-07-15 14:46:03 +08:00
a16baa5d6d *: Add switch for newplanner (#1458) 2016-07-15 14:09:23 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
475f438318 Support go1.7rc1 (#1451) 2016-07-14 16:51:38 +08:00
e068bc5c8e refine code (#1447) 2016-07-14 14:41:03 +08:00
7c3c45a83c *: Support avg for localstore xapi (#1446) 2016-07-14 12:34:58 +08:00
0aa1191c78 *: tiny clean up (#1441)
I would prefer to change RecordSet interface to return
slice of values, rather than slice of pointers.
But change an interface involve too many changes.
2016-07-14 11:15:04 +08:00
fda013b080 ddl: set default value to zero value when add a not null column. (#1443) 2016-07-14 10:57:34 +08:00
0e585ab047 *: remove make ddl_test and make ddl_race_test operations (#1442) 2016-07-14 08:55:52 +08:00
2f697eb987 support index scan. (#1440) 2016-07-13 18:16:51 +08:00
b23d798f75 plan/statistics: implement pseudo table and API to estimate row count. (#1434) 2016-07-13 15:42:22 +08:00
1cdb2cc18d Fix bugs in string literal unescape (#1432)
Unescape string literal in lex scanner
2016-07-13 11:50:29 +08:00
cf0be8a233 executor: remove useless getTable function (#1439) 2016-07-13 11:26:43 +08:00
cca6cb56ef *: add empty help_topic table (#1438)
Make mycli happy.
2016-07-13 11:00:03 +08:00
d4f85c8138 Add get_lock() and key_column_usage table (#1437)
Parsed but ignored. This is used for Ruby's activerecord migrations.
2016-07-13 10:57:05 +08:00
387f9d3192 plan: Tiny clean up (#1433)
* plan: check errors first
* plan: err1 replaces with err
* plan: remove empty line
2016-07-13 10:53:09 +08:00
13910f108c ddl: fix ddl update join table. (#1426) 2016-07-12 12:52:18 +08:00
dbf9b970f1 localstore: Check argument length for sum function. (#1428)
Address comment
2016-07-12 12:51:56 +08:00
ca10e4e127 store/tikv: remove radundant Mutex. (#1424) 2016-07-12 10:15:14 +08:00
2a24c3adac executor: Fix go vet (#1427) 2016-07-11 20:29:08 +08:00
883021fbb4 *: tiny clean up (#1425) 2016-07-11 18:03:59 +08:00
cbac6da6ee *: Remove SetCharsetStmt, use SetStmt instead (#1422)
"set @@session.sql_mode=1, names utf8, charset utf8;" is a valid sql statement.
2016-07-11 16:22:33 +08:00
8c504c4795 *: remove splitQualifiedName, joinQualifiedName, and update comments. (#1423) 2016-07-11 16:06:53 +08:00
e0dfdc25ed Length check for database, table and column name (#1418) 2016-07-11 13:36:20 +08:00
b27481162e eliminate unused plus op. (#1420) 2016-07-11 13:15:56 +08:00
e35c7ce6eb support nested subquery and fix bug of setting variable (#1412) 2016-07-09 20:25:51 +08:00
0132246ff5 *: Support STATS_PERSISTENT option in CreateTableStmt (#1416)
Parsed but ignored. Just prevent error.
2016-07-09 11:41:27 +08:00
e234ab65a6 *: Support grant all privileges syntax (#1417)
Add missing syntax rule.
2016-07-09 08:10:55 +08:00
61ada26dc4 Support sum in xapi. (#1409) 2016-07-08 19:59:13 +08:00
8edbf557a2 *: remove MemBuffer cache and Release method. (#1411) 2016-07-08 11:57:02 +08:00
34380cea04 *: update goleveldb vendor (#1414) 2016-07-08 11:48:08 +08:00
a1c7ab92bb *: update goleveldb dependency. (#1413) 2016-07-07 23:02:58 +08:00
c2d4337c44 kv: update goleveldb/memdb repo which remove unnecessary rand.NewSource (#1410) 2016-07-07 17:45:00 +08:00
257df744bb fix bugs of insert and subquery (#1406) 2016-07-07 17:12:14 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
e687f908d3 *: tiny clean up (#1404) 2016-07-07 09:50:45 +08:00
6c8a9bdc42 ddl: increase ddl test sleep time. (#1402)
Or the job may not have done, test may fail.
2016-07-06 16:27:36 +08:00