Commit Graph

8026 Commits

Author SHA1 Message Date
daeebc0278 doc: update CONTRIBUTING.md, add stand-alone mode section. (#5125) 2017-11-17 13:45:12 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
fff58a812b executor: slow startup for double read. (#5123)
* executor: slow startup for double read.
2017-11-16 06:32:31 -06:00
693787b103 Revert "plan: covert max/min to Limit + Sort operators (#5105)" (#5127)
This reverts commit 4b669b749e437a43a8d5c2674c4bd6f8bdcdedea.
2017-11-16 19:25:22 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
36d4735c7e plan, ranger: support not in and correct the behavior. (#5057) 2017-11-16 16:23:33 +08:00
4b669b749e plan: covert max/min to Limit + Sort operators (#5105) 2017-11-16 15:53:36 +08:00
616ca6ba54 plan: do some preallocate of slice. (#5110)
pre-allocate slice
2017-11-16 01:33:54 -06:00
1630957fdf parser: Support add columns with parentheses (#5103) 2017-11-16 15:07:48 +08:00
11358f6cf6 util: fix a test leak in testPrefixSuite (#5122) 2017-11-16 14:42:18 +08:00
e96adeddaf Remove deadcode (#5121) 2017-11-16 14:03:52 +08:00
f8c96f1f92 plan, executor: build logical plan to check column name validation when doPrepare (#5116) 2017-11-16 13:49:55 +08:00
0f2ccc8b0a plan: simplify tests. (#5120) 2017-11-16 13:23:53 +08:00
326e63a55f add bit_and, bit_or to parser.y (#5091) 2017-11-15 21:02:49 -06:00
233e91787f sessionctx: refine sql_mode no_backslash_escapes, to pass ci (#5108) 2017-11-15 08:38:21 -06:00
a67c4b1ee1 plan, executor: refine projection elimination when projection is the inner child of an outer join (#5086) 2017-11-15 04:28:07 -06:00
e362f1ed56 types: add deepcopy for update operation (#5098) 2017-11-15 14:46:24 +08:00
5962f1404e *: prealloced plan aggregation_push_down (#5094) 2017-11-15 12:55:17 +08:00
7fd147bc57 Revert "lexer: support sql_mode 'NO_BACKSLASH_ESCAPES' (#5073)" (#5104)
This reverts commit 294e348f42b2308be7ac38c218709e6a94eced13.
2017-11-14 09:48:59 -06:00
f29224b707 store/tikv/oracle: prometheus metrics for tsFuture wait time (#5095) 2017-11-14 18:30:46 +08:00
e1511d03aa plan, expression: move typeinfer_test.go from plan to expression (#5096) 2017-11-14 02:45:40 -06:00
21a8020b32 *: ignore DDL statement for query duration metrics (#5093) 2017-11-14 14:42:55 +08:00
9048aa8afa plan: refine the use of idAllocator (#5088) 2017-11-14 11:10:03 +08:00
1ef93dc274 executor: Add debug logs (#5083) 2017-11-13 21:19:08 +08:00
cd5c665c8c executor: use baseExecutor for all Executors (#5087)
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
bf9a4d81ae plan: remote redundant resolve indices. (#5089) 2017-11-13 20:26:11 +08:00
5c76863a79 plan, expression: remove useless error return (#5085) 2017-11-13 18:40:58 +08:00
66c19def93 util/codec: support decode data to chunk. (#5066) 2017-11-13 18:34:22 +08:00
7144b7e0d7 server: make tokenLimit configurable (#4973) 2017-11-13 17:43:29 +08:00
08be1b5f5e plan: tiny clean. (#5081) 2017-11-13 15:32:19 +08:00
32dd95be51 plan: no need to double read in some case. (#5079) 2017-11-13 14:46:21 +08:00
294e348f42 lexer: support sql_mode 'NO_BACKSLASH_ESCAPES' (#5073) 2017-11-12 23:35:49 -06:00
20dc896515 stats: use constant rand seed to make cm sktech test stable (#5076) 2017-11-13 11:41:01 +08:00
6f8db3167c executor: pre-allocate memory for slices (#5071) 2017-11-12 21:37:00 -06:00
cedc35ca8c executor: add default database to query log (#5078) 2017-11-12 21:26:56 -06:00
a13d24cff5 executor: fix a data race in dataReaderBuilder (#5067) 2017-11-12 20:47:36 -06:00
ec9d1f0cc6 *: simplify RecordSet.Fields. (#5068) 2017-11-12 12:07:18 +08:00
7cdcc1d990 plan: return error instead of panic when subquery in join ON condition (#5062) 2017-11-10 18:27:03 +08:00
8fd5c7de6e server: use types.Row to write result set. (#5056) 2017-11-10 15:41:02 +08:00
15212587e1 *: remove resolver.go (#4988) 2017-11-10 14:42:10 +08:00
ecbee2e81a executor: don't reuse Executor in IndexLookUpJoin, remove doRequestForDatums() (#5031) 2017-11-10 14:21:35 +08:00
dd5767a581 parser: update the alter table... add column (#5054) 2017-11-09 22:23:25 -06:00
03e23ee93a executor: refine the log msg when 'set character_set_results=null' (#5052) 2017-11-09 20:36:30 -06:00
e1882357af parser: support sql_mode "PIPES_AS_CONCAT" (#5012) 2017-11-09 20:37:09 +08:00
502d292313 plan: open some tests. (#5058) 2017-11-09 05:48:32 -06:00
96809723b7 expression: support sql_mode NO_UNSIGNED_SUB (#5030) 2017-11-09 14:23:42 +08:00
5b9640f9a6 ddl: Save reorg doneHandle regularly (#5041)
ddl: Save reorg doneHandle regularly
2017-11-08 21:01:10 -06:00
68cd5b09c4 plan, executor: improve hash join to support all join types (#4987) 2017-11-09 10:22:35 +08:00
6b6d424cb9 parser: support sql_mode high_not_precedence (#5011) 2017-11-08 23:01:23 +08:00
30a080db5c *: build and use count-min sketch (#5042) 2017-11-08 22:34:01 +08:00