Commit Graph

  • c3e54962d1 executor: fix a bug that can not insert null into a not null column in the empty SQL mode (#21237) wjHuang 2020-12-25 11:44:00 +08:00
  • 4fdc99b8dd session: fix didn't change current version in #21856 (#22011) lance6716 2020-12-25 11:20:59 +08:00
  • 47ef48b854 planner/codec: fix issue of decode plan error cause by without escape special char (#21937) crazycs 2020-12-24 20:20:29 +08:00
  • 1db18807f2 oracle: support txnScope for GetStaleTimestamp (#21967) Song Gao 2020-12-24 18:17:29 +08:00
  • 9c5f1bd083 executor: fix unstable test Issue16696 (#22009) Shenghui Wu 2020-12-24 17:12:59 +08:00
  • db31b29d63 ddl: add the not expression check when creating a partition table (#21497) Chengpeng Yan 2020-12-24 16:25:44 +08:00
  • 38792204f9 executor, session, sessionctx: make last_plan_from_cache and last_plan_from_binding read-only (#21953) Zijie Lu 2020-12-24 16:09:30 +08:00
  • be29d7e054 ddl: fix db_test failure caused by domain reload delay under a high overload (#21928) Arenatlx 2020-12-24 15:43:30 +08:00
  • 092a01a0a4 statistics, executor: refactor statistics on columns (#21817) Zhou Kunqin 2020-12-24 13:56:30 +08:00
  • d337bf4cd4 parser: update parser and add test for parse identifier (#21908) xiongjiwei 2020-12-24 11:48:32 +08:00
  • 01b8cdc6e0 test: fix globalkilltest (#21987) Ping Yu 2020-12-24 11:02:03 +08:00
  • 2139421494 session: use ExecuteInternal to execute the bootstrap SQLs (#21979) JmPotato 2020-12-24 10:10:59 +08:00
  • 8f81ec150d ddl: inherit placement rules from the parent (#21910) xhe 2020-12-23 22:49:29 +08:00
  • 5aebcee5cf executor, session, sessionctx: fix the error message of read-only variable is corrupted (#21948) Zijie Lu 2020-12-23 20:09:00 +08:00
  • d6ebb3707d config: disable statistics feedback by default (#21923) Yiding Cui 2020-12-23 19:49:00 +08:00
  • f2a88ffa4b planner: report error for invalid window specs which are not used (#21083) dongyan 2020-12-23 18:14:30 +08:00
  • 61e068a4d6 executor: throw error when prepared statement is execute, deallocate or prepare (#21962) Yifan Xu 2020-12-23 03:55:59 -06:00
  • 34b4e9a033 planner, privilege: check for table not exists (#21776) Morgan Tocker 2020-12-23 02:40:37 -07:00
  • 0735a0c924 executor: fix insert ignore into not exists partition (#21904) lysu 2020-12-23 17:19:29 +08:00
  • 4135fa313f planner: generate correct query block name and offset for update / delete (#21823) Kenan Yao 2020-12-23 17:03:59 +08:00
  • b112c3c9a3 types: Add a limitation about float data type (#20929) erwadba 2020-12-23 16:47:59 +08:00
  • 4f44c0db21 tidb-server: throw error when starting with multi advertise address (#21603) Zijie Lu 2020-12-23 16:32:59 +08:00
  • 3e5c56eccf range: fix overflow value access index (#21805) luxinle 2020-12-23 16:18:29 +08:00
  • 4ec9b9c128 expression: fix functions format_bytes and format_nano_time incorrectly use varbinary (#15416) gauss1314 2020-12-23 16:04:29 +08:00
  • 5f3bb760d4 planner: add plancodec id for all type TableScan/IndexScan. (#21935) Shenghui Wu 2020-12-23 15:49:29 +08:00
  • 9ef7246d29 executor: fix data race in extractTxnScope (#21929) Song Gao 2020-12-23 15:34:30 +08:00
  • 0370fbf6a3 types: Regard TypeNewDecimal as not a hasVariantFieldLength type. (#21849) Zhi Qi 2020-12-23 12:59:48 +08:00
  • e172656e37 expression: fix comparing json with string (#21903) 2020-12-23 11:54:17 +08:00
  • c3576fa0f0 planner: fix unknown columns in join using below agg (#21922) Zhuomin Liu 2020-12-23 11:26:06 +08:00
  • 1f16f74bd9 planner: add special partition pruner for list columns partition (#21577) crazycs 2020-12-23 11:21:53 +08:00
  • 49791bc3f5 expression: do not rewrite like to = if new collation is enabled (#21893) xiongjiwei 2020-12-23 10:53:30 +08:00
  • 392043ae15 fix cop stats string display when there is only 1 rpc (#21901) crazycs 2020-12-22 19:59:27 +08:00
  • c843da98b7 bindinfo: enforce default_db to lower case for SQL bind operations (#21861) Kenan Yao 2020-12-22 19:16:56 +08:00
  • db7757602f txn: add pessimistic retry logic for amend pessimistic lock phase (#21925) cfzjywxk 2020-12-22 17:20:00 +08:00
  • 01a39ae671 expression: fix wrong type inferring for ceiling function. (#21920) Shenghui Wu 2020-12-22 17:03:59 +08:00
  • d44e123395 planner: prevent agg push down if it is in the outer child of apply (#21902) Kenan Yao 2020-12-22 16:43:26 +08:00
  • 7b76edcfe1 *: support baseline capture for prepared statements (#21271) Kenan Yao 2020-12-22 16:21:59 +08:00
  • 56d3f6b471 executor: support forbiding cross dc read for pointGet (#21840) Song Gao 2020-12-22 15:31:31 +08:00
  • dd0dc46d5e expression: fix type infer for tidb's builtin compare(least and greatest) (#21150) Iosmanthus Teng 2020-12-22 14:58:31 +08:00
  • cf806f60e4 util/ranger: convert range condition like x >= 2 and x <= 2 to point condition x = 2 (#21809) Yifan Xu 2020-12-22 00:07:54 -06:00
  • 32d8cad845 server: double type column from table should ignore its decimal (#21788) Zhuomin Liu 2020-12-22 11:27:02 +08:00
  • 0bffd79fe9 *: update gopsutil dependency to fix build on freebsd (#21687) Name1e5s 2020-12-22 10:35:09 +08:00
  • e8fb3eab2c expression: modify the mean result of time type (#21514) 欧冰 2020-12-21 17:51:31 +08:00
  • 1265a115f6 chunk: fix min/max for enum/set is incompatible with MySQL (#21566) Yuyang 2020-12-21 17:07:00 +08:00
  • f9092ad3fd executor: generated column make overflow error as warning when no strict sql mode (#21879) Zhuomin Liu 2020-12-21 16:21:30 +08:00
  • e573ed64a6 bootstrap: add mysql.user columns for parser#1121 (#21856) lance6716 2020-12-21 16:07:31 +08:00
  • ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) Song Gao 2020-12-21 15:30:30 +08:00
  • 5cb50070bd planner: fix union doesn't handle collate correctly (#21854) wjHuang 2020-12-21 15:06:33 +08:00
  • 1a9852f85f *: redact some error code, part(3/3) (#21866) bb7133 2020-12-19 18:21:34 +08:00
  • 8792bf862e server: redact some error code, part(1/3) (#21864) Feng Liyuan 2020-12-18 19:08:34 +08:00
  • dd3087ffb9 server: redact some error code, part(2/3) (#20591) cfzjywxk 2020-12-18 18:45:04 +08:00
  • b232a23e7a expression, types: fix datetime and year comparison error (#20233) Ling Jin 2020-12-18 17:19:30 +08:00
  • e9b11b72a3 util: fix bad number error with DISTINCT when dividing long decimals (#21783) Zijie Lu 2020-12-18 16:29:35 +08:00
  • 503819bb41 txn: change resolve cache logic (#21844) cfzjywxk 2020-12-18 16:14:35 +08:00
  • f6c8de385e session: check character set value valid when set global variable (#21609) xiongjiwei 2020-12-18 15:59:24 +08:00
  • 6e2bc8fe01 ddl: filter the feature switches in show variables (#21873) Arenatlx 2020-12-18 15:29:50 +08:00
  • f687ebd91c planner: fix correlated aggregates which should be evaluated in outer query (#21431) dongyan 2020-12-18 14:51:35 +08:00
  • 003c42a2c7 planner: bypass the DNF restriction if index merge hint is specified (#20799) Kenan Yao 2020-12-18 14:37:06 +08:00
  • 8036e5f185 ddl: check the switch when creating a table with expression index (#21811) wjHuang 2020-12-18 14:17:04 +08:00
  • 25a94e5f2c expression:truncate decimal value instead of return error (#21691) Win-Man 2020-12-18 13:46:05 +08:00
  • 6c0bd10731 store/tikv/oracle : add GetStaleTimestamp to get generate a timestamp which represents for the timestamp prevSecond secs ago. (#21713) Andrewmatilde 2020-12-18 13:22:07 +08:00
  • 3c74651eda planner: allow a nonaggregate column not named in GROUP BY clause when this column is limited to single value (#21838) Yifan Xu 2020-12-17 23:07:04 -06:00
  • 36fbde4fd4 *: Add start cluster in run-tests.sh in globalkilltest (#21851) zhouqiang 2020-12-18 12:09:35 +08:00
  • fd587c3552 session: add a switch for index merge join (#21830) Zhuomin Liu 2020-12-18 11:05:05 +08:00
  • aa6f585b41 expression: add annotations to inform user to import planner/core to initalize expression.RewriteAstExpr and expression.EvalAstExpr (#21789) Xuhui Lu 2020-12-17 18:46:05 -08:00
  • b74e8b5cb8 ddl: add a switch for alter partition alter placement (#21833) Arenatlx 2020-12-18 10:22:35 +08:00
  • 31673c8e92 bindinfo: sync concurrent ops on mysql.bind_info from multiple tidb instances (#21629) Kenan Yao 2020-12-18 03:51:35 +08:00
  • efc0759961 *: add enable-global-kill with default value FALSE (#21859) HuaiyuXu 2020-12-17 20:48:34 +08:00
  • f363bffd86 mocktikv: select count result differs between tikv and mocktikv (#21166) wangyufan 2020-12-17 19:44:33 +08:00
  • 91ec971961 session: Support getting last query info for test purpose (#21557) MyonKeminta 2020-12-17 19:29:35 +08:00
  • 5825c56764 *: fix invalid txn with DDL (#21837) Jack Yu 2020-12-17 19:14:35 +08:00
  • 259a89ade2 executor: set StmtType correctly in SummaryStmt for failed queries (#21855) Kenan Yao 2020-12-17 18:41:15 +08:00
  • ce704c8f89 config, ddl: make TableColumnCountLimit configurable or be compatible with MySQL (#21612) Zijie Lu 2020-12-17 17:05:50 +08:00
  • b25f62dce6 expression: fix compatibility behaviors in time_format with MySQL (#21559) Shenghui Wu 2020-12-17 15:16:57 +08:00
  • 556ccccdeb expression: add implicit eval int and real for function dayname (#21806) ruoxi 2020-12-17 14:52:04 +08:00
  • 46fa162889 expression: do not report error when got unknown locale (#21818) Zhuomin Liu 2020-12-17 13:44:05 +08:00
  • a42aa31dc9 executor: add auto_random, auto_increment, generated column, global index test for list (columns) partition (#21725) crazycs 2020-12-17 11:19:35 +08:00
  • f6885c5d6d ddl: add atomic value with element for async read by daemon-worker in reorg job (#21605) Arenatlx 2020-12-17 10:39:31 +08:00
  • a5a3aeb2b8 planner: construct the EqOrIn condition based on the column (#21812) Chengpeng Yan 2020-12-17 10:19:56 +08:00
  • 040a03229e test: fix potential data race in mpp mock test (#21836) xufei 2020-12-16 20:03:35 +08:00
  • 608cc51d27 types: report error for json object with key length >= 65536 (#21779) dongyan 2020-12-16 16:53:35 +08:00
  • 9f095242b5 exeutor: add a switch for memory tracker in aggregate (#21597) Shenghui Wu 2020-12-16 15:01:35 +08:00
  • 291d0b8ee6 txn: disable amend by default on master (#21829) cfzjywxk 2020-12-16 13:34:04 +08:00
  • e90b93098c server: cleanup authswitchrequest (#20970) Null not nil 2020-12-15 20:56:35 -07:00
  • 7fac2ba027 ddl: add more ddl test for list partition (#21693) crazycs 2020-12-15 21:06:35 +08:00
  • 3cbfec31d9 *: add a switch for extended stats to disable the feature by default (#21716) Kenan Yao 2020-12-15 18:27:23 +08:00
  • 67d66d68f2 expression: fix casting year 0 to string 0000 (#21469) 2020-12-15 17:33:55 +08:00
  • 25daaee0c0 add switch for point get cache (#21669) Arenatlx 2020-12-15 17:00:15 +08:00
  • 5c19b8236f expression: handle tp.flen overflow in to_base64 function (#20947) Null not nil 2020-12-15 01:44:54 -07:00
  • 41eb594924 expression: handle hybrid field types for where clause (#21724) 2020-12-15 16:06:54 +08:00
  • e01a142237 planner: fix the fail when we compare multi fields in the subquery (#21699) Chengpeng Yan 2020-12-15 15:50:56 +08:00
  • 1c6b40582b store/tikv: batch cop avoids to retry too many times. (#21499) Han Fei 2020-12-15 15:35:54 +08:00
  • 8435b28296 expression: fix compatibility behaviors in round() with MySQL (#21690) Shenghui Wu 2020-12-15 15:18:55 +08:00
  • 1a4817869c planner/cascades: add rule TransformJoinCondToSel (#20460) (#21078) ThySinner 2020-12-15 15:02:25 +08:00
  • d878fe193b executor: introduce new variables to control Apply's behaviors and add more tests for it (#20844) Yuanjia Zhang 2020-12-15 14:31:25 +08:00
  • 8829b462c4 store: support select peers by label in GetTiKVRPCContext (#21634) Song Gao 2020-12-15 13:49:42 +08:00
  • b0d9934fb0 types: fix compare float64 with float64 in json (#21709) Zhuomin Liu 2020-12-15 12:12:55 +08:00
  • 8935ad1d80 table/tables: fix a DATA RACE in a unit test case (#21733) tiancaiamao 2020-12-15 11:57:24 +08:00
  • f5a3a38bfe *: fix bug that broadcast join/MPP not compatible with clustered index (#21663) xufei 2020-12-15 11:42:55 +08:00
  • 77d17073a5 bindinfo: refine logs of SQL bind (#21351) Kenan Yao 2020-12-15 11:28:20 +08:00