Commit Graph

8026 Commits

Author SHA1 Message Date
d094a0fc97 planner: convert SemiJoin to InnerJoin in more cases (#9546) 2019-03-05 11:36:57 +08:00
d81f65f577 planner: fix false negative "full group by" check for agg in subquery (#9542) 2019-03-04 18:52:44 +08:00
e7ff050a45 planner, executor: support SQL show pump/drainer status (#9456) 2019-03-04 15:39:54 +08:00
f16081bccc planner/core: code refactor around join reorder (#9439) 2019-03-04 13:52:05 +08:00
e767c5b5b0 increase wait time in TestProjectionParallelRequiredRows to fix CI problem (#9504) 2019-03-04 13:19:10 +08:00
ae91405e61 sessionctx/variable: fix panic when set variable='' (#9533) 2019-03-04 12:28:05 +08:00
0267a7fbdf ddl: validate fsp for datetime/timestamp if they are used as defaultvalue of datetime/timestamp columns (#9327) 2019-03-04 11:19:11 +08:00
0b371ea4fa executor: only use the transaction buffer for union scan (#9428) 2019-03-03 14:54:18 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
893d1d5989 types: provide the default capacity for result of ParseDateFormat (#9516)
Prevents calling `runtime.growslice` too many times in a tight loop when
processing many datetime values.
2019-03-01 17:36:11 +08:00
7ac4902b8f ddl: disallow generated column referring to auto_increment column (#9234) 2019-03-01 11:50:13 +08:00
fa37762c53 executor: tiny refactor, remove physicalTableID from the three reader (#9511) 2019-03-01 10:36:09 +08:00
4f232e5c8d executor: add CREATE ROLE support (#9461) 2019-03-01 10:07:28 +08:00
2c90855cb7 *: add rollback for load data statement (#9444) 2019-02-28 21:03:01 +08:00
0c97db891d ddl: fix data race about ReorgWaitTimeout in tests (#9483)
* ddl: fix data race about ReorgWaitTimeout in tests
2019-02-28 20:43:55 +08:00
c71a391839 types:add more unit tests in fsp (#9378) 2019-02-28 19:48:33 +08:00
2433e28d8d *: fix ineffectual assignments and misspellings (#9481) 2019-02-28 19:25:07 +08:00
9259785455 executor: support window function rank and dense_rank (#9500) 2019-02-28 14:44:08 +08:00
8b84b94c96 *: fix union scan for partitioned table (#8871) 2019-02-28 13:43:45 +08:00
69f2749154 executor: only show valid columns in stats_histogram (#9487) 2019-02-28 13:06:38 +08:00
ddbf60f6d0 session: upgrade currentBootstrapVersion to 27 (#9496)
It should be upgraded to 27 in 45f9d6a00f4e08ae97d60a3348ce9a6fbe710987,
but it was lost when merging conflicts.
2019-02-27 19:38:27 +08:00
6f5f7c360f table, executor: handle the column's version when it's greater than ColumnInfoVersion1 (#9488) 2019-02-27 16:57:33 +08:00
d60b3ff512 ddl: don't modify a column charset when the table's version is TableInfoVersion1 (#9480) 2019-02-27 16:29:27 +08:00
4449eb062a ddl: add ddl job error count limit, exceed the limit should cancel the ddl job (#9295) 2019-02-27 15:03:04 +08:00
839772b528 don't cast AggFuncs' arguments when they are Partial2Mode (#9340) 2019-02-27 14:33:03 +08:00
c8c92e2dd7 ddl: refine cancel modify column, add/drop foreign key rollback (#9419) 2019-02-27 14:07:34 +08:00
8369ed2ffc ddl, util: Handle default values for generating column expressions when adding an index (#9371) 2019-02-27 12:59:18 +08:00
45f9d6a00f statistics: compute and store column order correlation with handle (#9315) 2019-02-27 11:32:00 +08:00
511a80bae4 ddl: fix check column field length when add column (#9143) 2019-02-27 11:10:38 +08:00
9da174902a expression: fix timezone for timestamp constant when converting expression to pb (#9473) 2019-02-27 10:41:28 +08:00
f32a194b8a ddl: fix modify column null to not null bug (#9427) 2019-02-27 10:22:07 +08:00
a59a5f41e1 planner, executor: support range framed window functions (#9450) 2019-02-27 10:07:28 +08:00
56a79ef080 ddl: write binlog when ddl job state is done. (#9207) 2019-02-26 18:37:21 +08:00
3e0f51b474 executor: control Chunk size for Selection&Projection (#9398) 2019-02-26 14:24:30 +08:00
9afbda98d0 stats: restrict the adjust factor for index feedback (#9445) 2019-02-26 11:03:47 +08:00
c48ac8af18 session,privilege: fix account_locked default value for root (#9448) 2019-02-25 21:14:17 +08:00
9a8a0d88a9 stats: reduce stats collecor's lock contention (#9233) 2019-02-25 19:47:25 +08:00
H
f80e401b80 planner/core: fix wrong behavior of prepare && execute (#9204) 2019-02-25 16:44:15 +08:00
5a283a98dd plan/executor: make semi joins null and empty aware (#9051) 2019-02-25 15:42:38 +08:00
f105b710ca planner: remove correlated column sort items (#9435) 2019-02-25 14:48:44 +08:00
2f3842a8da executor, planner: refine merge join compare methods to avoid some rare cases (#9390) 2019-02-25 14:19:26 +08:00
266ff4b6f3 executor, ddl: get the correct result of "show create table" when adding the first index to the table (#9388) 2019-02-22 18:49:44 +08:00
9b692c07f4 style:fix ineffassign and mis-spell (#9415) 2019-02-22 18:13:04 +08:00
0ee8899a6d session,privilege: upgrade TiDB, prepare data for RBAC (#9377)
RBAC(role based access control) needs the following data:
* Add account_locked column to mysql.user
* Add mysql.role_edges table
* Add mysql.default_roles table
* Add Create_role_priv and Drop_role_priv privilege
2019-02-22 18:00:01 +08:00
46ead360cc statistics: add PhysicalID to Column (#9394) 2019-02-22 17:30:31 +08:00
8d4db9fb0e expression: refactor builtin function RAND to be compatible with MySQL (#9387) 2019-02-22 17:22:09 +08:00
79a88a0b3c ddl: fix cancel truncate table ddl error (#8977) 2019-02-22 16:58:04 +08:00
bae5cab29e ddl: fix unique key constraint check for 'create table' (#9345) 2019-02-22 16:23:38 +08:00
23e516aa56 fix gofail race (#9412) 2019-02-22 14:01:41 +08:00
f1c6e94d01 domain: make tests stable (#9410) 2019-02-22 12:56:48 +08:00