Commit Graph

2212 Commits

Author SHA1 Message Date
d6796b3637 executor, cmd: refine HashJoinExec for specific JoinType if outer/inner is nil (#8296) 2018-11-14 18:03:36 +08:00
3c0d0534f2 server,types: convert zero input correctly for column type year (#8292) 2018-11-14 15:25:08 +08:00
aa979705df planner, executor: eliminate extra columns introduced by OrderBy upon Union (#8290) 2018-11-13 17:03:34 +08:00
6a99fa25d7 executor: fix union dual table order by but not sort (#8251) 2018-11-13 15:27:18 +08:00
679d2e559c planner/core: make TIDB_INLJ to specify the inner table (#8243) 2018-11-13 11:55:30 +08:00
ce6a7150b3 executor: Support NO_AUTO_CREATE_USER sql mode (#8160) 2018-11-12 13:45:37 +08:00
f3a9745e2c executor: support for "admin show next_row_id" (#8242) 2018-11-09 22:08:42 +08:00
29f14d4178 *: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' (#7965) 2018-11-09 16:32:21 +08:00
f547869f49 executor: fix affected rows when inserting data (#8233) 2018-11-09 14:22:55 +08:00
4ddf316c83 executor: recovery panic in parallel hashagg and projection (#8185) 2018-11-06 16:16:25 +08:00
6ccfec6d2e *: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically (#8183) 2018-11-06 11:25:11 +08:00
693ff90193 [cherry-pick]*: add a variable to control whether we can write _tidb_rowid (#8187) 2018-11-05 22:45:32 +08:00
ec693ce502 *: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically (#8094) 2018-11-05 14:54:07 +08:00
34c3d4ccc6 planner,executor,parser: support the prepared plan cache for insert/delete/update statements (#8107) 2018-11-05 14:24:48 +08:00
fffb49bce6 *: modify tests to work with only-full-group-by on (#8163) 2018-11-05 10:41:48 +08:00
761365b31c *: avoid using columnEvaluator for the Projectin build by buildProjtion4Union (#8142) 2018-11-02 17:28:09 +08:00
dd65caac31 planner: fix issue#8135 (#8143) 2018-11-02 14:31:11 +08:00
8ed433036b planner: refine PhysicalProjection.ResolveIndices during neighbouring Proj (#8073) 2018-11-02 13:42:12 +08:00
5374ff8935 expression,planner: support non-deterministic functions (e.g., now) in the plan cache (#8105) 2018-11-01 23:53:32 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +08:00
c23a30c1bb planner/core: fix index resolution on PhysicalIndexReader (#8118) 2018-10-31 16:13:18 +08:00
696ef7bae2 plan: convert in subquery to agg and inner join (#7531) 2018-10-30 19:19:32 +08:00
a37417e72c executor: fix show columns panic (#8082) 2018-10-30 13:29:11 +08:00
2a3c4da0b7 sessionctx, executor: add max_allowed_packet verification (#8090) 2018-10-29 22:44:20 +08:00
a6123eaf62 *: Change privilege to use Auth* identity (#7954) 2018-10-29 20:01:31 +08:00
33a0b0c900 planner: fix a sporadic panic due to the PR #7684 when using the prepared plan cache (#7956) 2018-10-29 19:05:04 +08:00
3febc22811 expression: fix cast json to decimal bug. (#8030) 2018-10-29 17:02:32 +08:00
736c3130e6 executor: fix update float panic (#8045) 2018-10-29 16:38:56 +08:00
5831de291d *: enable range typed table partition (#8011) 2018-10-26 20:04:07 +08:00
3024a5af73 plan: disable plan cache for query containing SubqueryExpr (#8064) 2018-10-26 11:37:23 +08:00
38274c39c3 *: fix the issue of executing DDL after executing SQL failure in txn (#8044)
* ddl, executor: fix the issue of executing DDL after executing SQL failure in txn
2018-10-25 15:52:13 +08:00
d606b0d55f executor: fix wrong result when index join on union scan. (#8031)
Do not modify Plan of dataReaderBuilder directly, because it would
impact next batch of outer rows, as well as other concurrent inner
workers. Instead, build a local child builder to store the child plan.
2018-10-25 11:38:35 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
cc1da16878 stats: support show stats for partition table (#8023) 2018-10-24 15:49:01 +08:00
d8b52b82a8 executor: improve wide table insert & update performance (#7935) 2018-10-23 18:07:54 +08:00
1434fa9b89 admin: refine admin check decoder (#7862) 2018-10-23 17:55:58 +08:00
32aafa67c1 executor: add unit test for aggfuncs (#7966) 2018-10-23 16:53:18 +08:00
e81f855549 executor: let information_schema be the first database in ShowDatabases (#7938) 2018-10-23 14:28:45 +08:00
76f84f4536 executor, planner: clone proj schema for different children in buildProj4Union (#7999) 2018-10-23 13:34:03 +08:00
cde6a083d0 executor/aggfuncs: split unit tests to corresponding file (#7993) 2018-10-23 10:43:52 +08:00
edaec7bdaf *: move Statement and RecordSet from ast to sqlexec package (#7970) 2018-10-21 13:21:26 +08:00
25118db843 *: move ast.NewValueExpr to standalone parser_driver package (#7952)
Make the ast package get rid of the dependency of types.Datum
2018-10-19 19:37:55 +08:00
b7a8f91e0a executor: add the slow log for commit (#7951) 2018-10-18 22:59:04 +08:00
ec9672cea6 stats: update delta info for partition table (#7947) 2018-10-18 18:42:41 +08:00
6220692e3b stats: limit the length of sample values (#7931) 2018-10-18 15:30:43 +08:00
1d3bb7b47f executor: fix panic when limit is too large (#7936) 2018-10-18 14:33:18 +08:00
de931ca953 planner, executor: refine ColumnPrune for LogicalUnionAll (#7930) 2018-10-18 13:30:32 +08:00
a4edb58dd2 executor: fix a bug in point get (#7934) 2018-10-18 12:05:04 +08:00
f3148da27f executor: add an variable to compatible with MySQL insert for OGG (#7863) 2018-10-17 10:19:04 +08:00