Commit Graph

8026 Commits

Author SHA1 Message Date
61d2a1fca7 docs: fix spelling error in design docs (#8893) 2018-12-31 07:23:31 -07:00
8e4d18a7ec domain: run FLUSH PRIVILEGES synchronous on GRANT (#8886)
MySQL compatible behavior.
2018-12-31 07:05:26 -07:00
680368f81d ddl : fix concurrent add partition problem (#8783) 2018-12-29 20:14:39 +08:00
9b0eb88b20 util/ranger: fix incorrect behavior about index who has prefix column(#8851) (#8878) 2018-12-29 19:48:15 +08:00
0e89c02ffb *: clean up code for insert/update statement (#8867) 2018-12-29 18:46:47 +08:00
5e0a4f1db3 expression: return null when cast to huge binary type (#8768) 2018-12-29 17:16:46 +08:00
164747c76b session: validate value for global time_zone sys variable (#8876) 2018-12-29 15:57:40 +08:00
599b9ebfcd planner/core,binloginfo: add a projection to fix 'delete from join' schema (#8805)
'delete from t where a in (select ...) or b in (select ...)'
The correct schema should be the schema of t, rather than the schema of
the join. Add a projection in this case.
2018-12-29 15:41:12 +08:00
7a966426ee metric: replace QueryDurationHistogram's "general" type to more detail stmt type (#8819) 2018-12-29 13:10:30 +08:00
e7301865a1 executor: show full tables support view (#8860) 2018-12-28 20:04:23 +08:00
149b8184a6 plan/cascades: generate logical property for Group (#8833)
Scheme info is generated when converting the initial logical
plan tree to Group, so in exploration phase, we need to fill
in the schema of newly built Group; stats info is generated in
lazy style when it is needed during implementation phase.
2018-12-28 15:45:36 +08:00
eaeaca74ae ddl: fix cancel drop column ddl error (#8545) 2018-12-28 11:28:26 +08:00
fe01b1674e planner: privilege check ANALYZE TABLE stmt (#8486) 2018-12-28 11:10:35 +08:00
71088815e7 executor: refine HashAgg.Close when unparallelExec (#8810) 2018-12-27 17:14:04 +08:00
0840a5e478 ddl: new only one delRange and sessionPool in ddl (#8522) 2018-12-27 14:57:47 +08:00
e45e6999cb check null flag when eliminating count aggregation (#8664) 2018-12-27 14:12:19 +08:00
ffd9ba6659 gc_worker: Remove timezone name from the times that are saved in mysql.tidb (#8745)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2018-12-27 12:16:18 +08:00
93e91b6a37 executor/test: fix data race of executor unit tests (#8807) 2018-12-27 11:28:55 +08:00
0c8e967858 *: provide virtual table facilities (#8657) 2018-12-26 21:15:37 +08:00
eedc6af305 server: compatible to old handshake protocol (#8812) 2018-12-26 20:55:27 +08:00
889b121b29 planner/core: fix panic when generate index join (#8831) 2018-12-26 18:28:06 +08:00
123aba282c planner: support building data source from View (#8757) 2018-12-26 14:22:26 +08:00
7ffdbcad6c executor: add test case for execute prepare_stmt using binary protocol (#8825) 2018-12-26 13:49:03 +08:00
ffa375fdc2 ddl: fix cancel drop table/database ddl job bug. (#8537)
* ddl: fix cancel drop table bugs
2018-12-26 10:34:07 +08:00
2bde340b77 ddl: fix test of partition add index fail (#8789)
TestPartitionCancelAddIndex and TestPartitionDropIndex sometimes fail.
TestPartitionCancelAddIndex fails because the schema lease is too large.
Then before cancel add index, the add index job has already finished.
TestPartitionDropIndex fails because after TestPartitionCancelAddIndex fail, it doesn't reset the hook.
2018-12-26 10:10:23 +08:00
a1a4e8197d Revert "executor/show: show create table return utf8mb4 charset. (#8604) (#8782) 2018-12-26 09:54:50 +08:00
d18662001d CHANGELOG: add changelog for v2.1.2 (#8767) (#8773) 2018-12-26 00:56:51 +08:00
b74d0283a2 statistics: fix pseudo estimation for correlated column (#8734) 2018-12-25 22:40:38 +08:00
90b619a452 planner/core: add support for nested virtual generated columns (#8659) 2018-12-25 21:59:04 +08:00
4ded4f68ef planner/core: refactor deriveStats for LogicalPlan (#8753) 2018-12-25 21:41:49 +08:00
351c4a5568 *: refine commit txn slow log (#8731) 2018-12-25 20:49:50 +08:00
61a8699c47 server: fix noise log for wait_timeout (#8813) 2018-12-25 20:26:28 +08:00
b6c05126e3 session: add gofail test for (#8743) (#8801) 2018-12-25 19:19:09 +08:00
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +08:00
c385cbdcca parser: fix subquery hint panic (#8781) 2018-12-25 14:27:13 +08:00
04677c6001 doc: add some example to http api doc (#8785) 2018-12-25 11:40:26 +08:00
bd69b15e79 *: add the error check (#8770) 2018-12-24 22:22:00 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
eeab17d612 *: update the package of check (#8778) 2018-12-24 21:25:46 +08:00
0021af671f *: remove retool from Makefile (#8769) 2018-12-24 20:28:45 +08:00
d20bf28519 ddl: dynamic adjust add index worker number. (#8295) 2018-12-24 11:00:36 +08:00
ef7082da1c ddl, executor: fix rename table compatibility (#8709) 2018-12-22 22:19:41 +08:00
20a468d558 store/tikv: Add endKey support for RawScan (#8602)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2018-12-21 19:27:58 +08:00
7bf23e8c47 server: add hot region table/index api (#7890) 2018-12-21 18:18:36 +08:00
b818fb2f01 expression,util/encrypt:add support for AES CFB mode (#8760) 2018-12-21 17:10:58 +08:00
94df8d1e30 *: ignore unknown hint and return warning instead of return a parser error (#8685) 2018-12-21 13:44:54 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
a7907ede7a *: remove fail field from TxnState (#8712)
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
29c17a1eb9 planner/core: correct column name with unary plus sign (#8702) 2018-12-19 23:35:43 +08:00
1c4d2d9890 table: check non-BMP characters and return error when the charset is utf8 and sql mode is strict mode (#8738) 2018-12-19 17:52:47 +08:00