bbffc220ed
*: Tiny cleanup ( #1145 )
...
Fix typo
2016-04-23 10:27:13 +08:00
3b25069f84
evaluator: avoid evaluate independent subquery multiple times. ( #1144 )
...
* evaluator: avoid evaluate independent subquery multiple times.
* ast: rename UseOuterContext to Correlated.
2016-04-22 12:51:18 +08:00
d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
f8d3022eee
Merge pull request #1131 from pingcap/hanfei/desc_pushdown
...
support desc push_down
2016-04-22 11:08:18 +08:00
e344410318
Merge branch 'master' into hanfei/desc_pushdown
2016-04-22 10:49:24 +08:00
041dfd97c1
executor: evaluate subquery before executing outer query. ( #1133 )
...
* executor: evaluate subquery before executing outer query.
So outer query can push down subquery values.
* evaluator: extract a function to evaluate subquery.
* evaluator: add comments on exported function.
2016-04-21 21:51:39 +08:00
65559fc5e3
fix docker compile ( #1138 )
2016-04-21 21:43:09 +08:00
661339c90c
parser: Support truncate t ( #1136 )
...
* parser: support truncate t
2016-04-21 18:05:50 +08:00
f0de6488cf
reverse the ranges in localstore
2016-04-21 15:38:05 +08:00
e06f3aa140
Merge branch 'master' into hanfei/desc_pushdown
2016-04-21 14:48:01 +08:00
81df7532e1
support desc push_down
2016-04-21 13:45:32 +08:00
b78d02c110
executor: Fix show status bug ( #1128 )
...
* executor: fix show status bug
2016-04-21 11:13:06 +08:00
b01afcd47b
xapi/xeval: support LIKE ( #1080 )
...
* xapi/xeval: support LIKE
* xapi/eval: only support simple like.
* *: address comment.
2016-04-21 10:34:35 +08:00
130f9f2452
table/tables: change bounded table cursor type from int32 to int64 ( #1127 )
...
In case when executed statements exceeds max int32, the cursor becomes a negative value.
2016-04-21 10:24:50 +08:00
dda89bc9dd
*: Do not specify pd version ( #1126 )
...
pd move vendor to cmd directory, so we do not need to specify its version now.
2016-04-20 16:02:58 +08:00
d16a23a43b
kv: add comment on error instances. ( #1124 )
...
* kv: add comment on error instances.
fix glint.
2016-04-20 15:48:22 +08:00
f8927d93b5
kv: add SeekReverse for mockTxn and mockSnapshot ( #1122 )
...
fix test.
2016-04-20 14:58:04 +08:00
df8d1de841
[DNM] kv: add SeekReverse method for Retriever. ( #1119 )
...
* kv: add `SeekReverse` method for Retriever.
2016-04-20 14:41:34 +08:00
b51ab763df
plan: support limit pushdown ( #1105 )
...
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
8a3a59deb1
*: fix ci build by checking out a previous version of pd. ( #1120 )
2016-04-20 13:12:49 +08:00
c26dfd54e4
executor: Change interface to datum in executor. ( #1103 )
...
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
0a0af5aca4
*: remove driver usage in test. ( #1104 )
...
remove driver usage in test.
2016-04-20 09:45:04 +08:00
ff05329a05
parser: support index hint syntax. ( #1113 )
2016-04-19 18:42:44 +08:00
ecc59c99eb
perfschema: Fix nil pointer panic when perfschema is uninitialized ( #1111 )
...
In bootstrap stage, ps may be not well initialized. We should make it
safe.
2016-04-19 17:28:17 +08:00
0478acaa1b
*: fix build by checkout to an old version of grpc. ( #1112 )
2016-04-19 17:13:08 +08:00
74ffeb8011
perfschema: make go vet happy. ( #1110 )
2016-04-18 21:38:14 +08:00
64546d478b
perfschema: fixed memory leak issue ( #1099 )
2016-04-18 06:17:35 -05:00
895e9a0d86
*: fix issue#1089 and add tests ( #1106 )
2016-04-18 17:31:49 +08:00
8d877cc87c
*: drop support of running tidb as library. ( #1102 )
...
Since we supported unix socket, use TiDB as a library no longer provide much benefit.
Use MySQL driver should be the only way to access TiDB.
2016-04-18 13:20:01 +08:00
e64539679a
kv: remove btree, and use rbtree to implement membuffer. ( #1043 )
2016-04-18 11:38:37 +08:00
b4f41c18a4
store/localstore: evaluate where before get row. ( #1093 )
...
* store/localstore: evaluate where before get row.
* *: fix format.
2016-04-18 11:18:00 +08:00
31b9cc7339
bootstrap: Add recheck after bootstrap doDMLWork failed. ( #1097 )
...
Add recheck after bootstrap doDMLWork failed.
2016-04-18 10:08:01 +08:00
cd3d424252
evaluator: partially fix issue #1098 ( #1100 )
...
Fix the incorrect behavior of `substring` function, multi-byte charset still hasn't been supported.
2016-04-17 00:43:30 +08:00
bfa3ed7a2d
*: Fix issue #1071 ( #1088 )
...
* *: fix issue#1071 and add tests
* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
2baa40f59b
tide-server/server: support unix socket. ( #1095 )
2016-04-14 02:08:08 -05: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
baa39688fc
fix docker, make clean will remove /go/bin/ ( #1092 )
2016-04-13 10:30:43 +08:00
708c195782
*:generate local schema ID for memory table. ( #1094 )
...
* *:generate local schema ID for memory table.
* meta/autoid: reorder import
2016-04-13 10:29:16 +08:00
a85c94501e
Update README.md
2016-04-13 01:06:04 +08:00
e1b2c8bf0d
evaluator: fix a bug in bebacf4f3a ( #1087 )
2016-04-12 20:32:12 +08:00
54615bb012
Merge pull request #1090 from pingcap/add-tikv-link
...
Add TiKV link to readme
2016-04-12 20:25:45 +08:00
7b04877db9
Add TiKV link to readme
2016-04-12 19:49:57 +08:00
52d78136e5
executor: fix bug when the limit value is less than SortBufferSize. ( #1085 )
2016-04-12 19:37:11 +08:00
35b3ceecae
tide-server: create a session on startup. ( #1086 )
...
So information schema will be loaded before executing the first query.
2016-04-12 19:17:28 +08:00
09eb16deb7
Merge pull request #1084 from pingcap/hanfei
...
executor: support limit sort
2016-04-12 14:28:19 +08:00
bdac8ecafa
Merge branch 'master' into hanfei
2016-04-12 14:17:33 +08:00
19310f1511
change format
2016-04-12 13:27:07 +08:00
bebacf4f3a
evaluator: just one time eval ( #1062 )
...
* evaluator: just one time eval
2016-04-12 12:34:27 +08:00
3a92f567b9
executor: support limit sort
2016-04-12 12:09:25 +08:00
457b8c75f0
Merge pull request #1079 from pingcap/siddontang/docker
...
*: use make clean and add docker ignore
2016-04-11 13:54:56 +08:00