Commit Graph

148 Commits

Author SHA1 Message Date
cfef1bc52f planner/core: add a range check against display width of BIT column type (#11942) 2019-09-02 17:19:31 +08:00
3de23f0f7c planner/core: support query block hint (#11861) 2019-08-29 19:14:38 +09:00
73b8e6da3f *: support query block syntax (#11761) 2019-08-22 12:38:36 +08:00
5ee0847cab expression: fix wrong result of Not/IsTrue/IsFalse functions (#10498) 2019-08-20 23:15:09 +08:00
bc2036987a executor: record prepared stmt in handle_query_duration (#11753) 2019-08-19 15:43:18 +08:00
523b93651d Add follower read support to TiDB (#11347) 2019-08-16 13:26:17 +08:00
9f01c7b497 ddl: handle index key type in CreateIndex 2019-08-16 00:00:29 +08:00
4491bf854e planner: rename optimizer hints (#11673) 2019-08-14 19:31:01 +08:00
c9502f0667 executor: support analyze option for samples (#11609) 2019-08-06 11:38:33 +08:00
050172c248 parser: support cast as real (#11564) 2019-08-05 19:38:10 +08:00
3bd64ba92f planner,expression: recognize the three new expressions from pi… (#8891) 2019-08-04 14:14:01 +08:00
1c43f55f90 parser: support cast as float (#11519) 2019-08-01 14:30:07 +08:00
9b0eb1a006 privilege: make 'grant all privileges' work right (#11449) 2019-07-31 14:51:10 +08:00
1ae5e4ce98 parser: support cast as double (#11443) 2019-07-29 10:28:12 +08:00
ff0132ff34 expression, parser: add function octet_length support (#11451) 2019-07-26 14:21:15 +08:00
268cbf1a5d stats: support more analyze options (#11278) 2019-07-25 13:25:24 +08:00
9b521342bf planner: reject invalid conversion from like to = (#11320) 2019-07-24 14:04:38 +08:00
f8912049f5 *:add opt_rule_blacklist in mysql tables. (#11096) 2019-07-24 13:36:29 +08:00
4b928a52c0 executor: update test since DELETE FROM ... AS ... syntax is now supported (#11184) 2019-07-19 17:58:58 +08:00
ddb6132e82 expression, types: fix Mod(%), Multiple(*), Minus(-) operators meets inconsistent 0 results. (#11251) 2019-07-19 12:37:25 +08:00
cb984ad326 go.mod: update go.mod to use the latest pd (#11224) 2019-07-15 10:33:04 +08:00
c8ed781d51 executor: push-down LoadDataStmt in distsql (#11067)
moving function `statementContextToFlags` to `StatementContext.PushDownFlags()`

Co-authored-by: Lonng <heng@lonng.org>
Co-authored-by: Foreyes <foreyes_1002@163.com>
2019-07-14 17:58:49 +08:00
47f449a07d executor: explain analyze panic when processing explain analyze insert ... select ... (#11162) 2019-07-11 11:18:00 +08:00
8104494b91 plugin: support dynamic enable/disable plugins (#11122) 2019-07-09 13:02:50 +08:00
21d2590ac3 tikvclient: fix a bug that double close channels. (#10991) 2019-07-05 16:53:40 +08:00
4fd815b40f parser: parse until the last character (#11021) 2019-07-03 11:59:34 +08:00
c32db315ea session,parser: make MAX_EXECUTION_TIME sql hint and global variable work (#10963) 2019-06-28 15:17:57 +08:00
a935d93990 *: support IF EXISTS/IF NOT EXISTS for some DDLs (#10723) 2019-06-24 19:46:26 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
c12abec6cb store/tikv: Make RangeTaskRunner support dividing task by multiple regions (#10482)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2019-06-20 16:57:34 +08:00
d23b894c69 ddl: Remove expired keys on PD (#10406) 2019-06-20 13:47:52 +08:00
b3c40b168e Notify affected regions after sending UnsafeDestroyRange (#10069) 2019-06-19 15:01:16 +08:00
464306beea update vendor to build on ARM64 (#10805) 2019-06-17 21:33:53 +08:00
bb3a92d70f expression: add a failpoint switch to control expr push down in integration test (#10786) 2019-06-14 15:43:29 +08:00
cd8c4e6e37 *: add a blacklist to disallow pushing down specific expressions (#10688) 2019-06-12 13:54:33 +08:00
fb7fd47298 ddl: error or skip unsupported partition-related DDLs (#10672)
* ddl: error or skip unsupported partition-related DDLs

* go.mod: stop replacing parser since the PR is merged

* ddl: addressed comment
2019-06-11 23:40:45 +08:00
fc73546694 domain: improve UT coverage to 80% (#10726) 2019-06-11 14:40:14 +08:00
7bf3d69313 *: split index region with lower upper syntax (#10409) 2019-06-06 10:47:24 +08:00
d4f2005606 parser: add MySQL extension assignment support for VariableAssignment (#10700) 2019-06-04 21:26:29 +08:00
ce91d25008 *: fix panic for create view using prepare (#10651) 2019-06-04 12:54:55 +08:00
40ded2937e expression: fix uuid generate duplicate value with multi-node (#10590) 2019-06-04 08:23:13 +08:00
d71ce873bb pessimistic-txn: support deadlock detector in mocktikv (#10669) 2019-06-03 13:34:16 +08:00
03bb568611 parser: Support SQL_BIG_RESULT, SQL_SMALL_RESULT, SQL_BUFFER_RESULT (#10658) 2019-05-31 17:33:23 +08:00
877137cf1a use deadlock error (#10624) 2019-05-28 20:30:59 +08:00
e73e25192f go.mod: update parser (#10600) 2019-05-27 13:07:37 +08:00
96c6ea1ca9 *: support 'tidb_txn_mode' session variable. (#10574) 2019-05-24 00:50:04 +08:00
3439e6be48 executor: add warning for "drop user if exists" (#10395) 2019-05-22 16:53:19 +08:00
0afa567046 store/tikv: use ConflictCommitTS in WriteConflict error (#10517) 2019-05-17 23:10:58 +08:00
d97e7d93c7 *: refine transaction retry error messages (#10466) 2019-05-15 17:51:07 +08:00
5c21fa4b43 ddl: implement ALTER DATABASE to alter charset/collation (#10393) 2019-05-15 17:32:21 +08:00