Commit Graph

1902 Commits

Author SHA1 Message Date
a7fc9c323e distsql: disable read committed isolation level (#7280)
read committed isolation may cause inconsistent read.
Only Analyze request use read committed isolation level.
2018-08-06 13:07:06 +08:00
88bf9f7ba0 admin: support prefix index in admin check table. (#7241) 2018-08-06 11:57:46 +08:00
7e48ab1284 executor: skip inner rows when the join keys contains NULL (#7255) 2018-08-06 02:59:23 +08:00
6178cfd225 *: fixed some typo. (#7277) 2018-08-05 13:50:51 +08:00
130f53b316 *: partitioned table should not use PointGetPlan (#7261)
* *: partitioned table should not use PointGetPlan
2018-08-03 12:57:13 +08:00
a5af7a0e1f *: remove variable 'tidb_import_data' and rename SessionVars.ImportingData to LightningMode (#7262) 2018-08-03 10:00:03 +08:00
9eb197f754 executor: remove the old evaluate logic of stream agg (#7251) 2018-08-03 08:34:28 +08:00
5d96d56de7 plan: fix a bug when eliminating projection (#7257) 2018-08-03 00:01:43 +08:00
55d8eff758 executor: fix admin cleanup index for non-unique handles in a unique index (#7248)
* fix one handle to multi unique indices
2018-08-02 17:23:14 +08:00
53ffa1703e *: fix data race in the file of prepare_test.go (#7232) 2018-08-02 17:07:50 +08:00
b98e089bb2 plan: fix a bug when prepare cache enabled (#7235) 2018-08-02 16:24:02 +08:00
67e724a5fe executor: fix a bug of update with outer join (#7177) 2018-08-02 13:47:56 +08:00
5e7aa1d97d infoschema,executor: add PROCESSLIST table to INFORMMATION_SCHEMA database (#7236) 2018-08-01 22:48:33 +08:00
fd7e5274b6 executor: panic recover for analyze worker (#7214) 2018-08-01 16:57:20 +08:00
1285088127 executor, plan: support analyze partition table (#7190) 2018-08-01 16:39:08 +08:00
d5c5115220 executor: fix firstrow/max/min(bit col) error (#7206) 2018-08-01 12:59:40 +08:00
581edd4cac executor: set the correct handle in DirtyDB when executing update statements (#7209) 2018-08-01 11:36:22 +08:00
8739d80db0 executor: fix big_unsigned_int union decimal sign bug (#7202) 2018-07-31 21:21:22 +08:00
26b7a5e7d1 execuor, plan: check b.err in buildUpdate after doOptimize (#7204) 2018-07-31 19:22:00 +08:00
0ca4cc6dc8 executor, util: wrap cast upon the args for AggFunction (#7180) 2018-07-31 17:51:44 +08:00
33367fdd48 config,executor: provide a compatible-kill-query option in the config file (#7192)
When compatible-kill-query option is turned on, "kill xxx" command will not be
ignored, it works like "kill tidb xxx".
2018-07-30 23:53:47 +08:00
a816f7882a table,plan,executor: support delete operation for table partition (#7147) 2018-07-30 18:25:51 +08:00
343cb849b8 *: fast path point select (#6937) 2018-07-30 18:13:47 +08:00
2fee494295 executor, sessionctx: fix set tidb_general_log=0 error (#7186) 2018-07-30 17:44:12 +08:00
a8012590dc *: fix union result when mix signed/unsigned columns (#7112) 2018-07-30 13:48:44 +08:00
4a203fd525 executor: add placeholder count check in prepare stage (#7162) 2018-07-29 13:35:59 +08:00
fa7de823db ddl: support range partition in show table status (#7173) 2018-07-29 13:13:32 +08:00
f107feed63 fix a bug that nullable unique index can not find null values using index. (#7163) 2018-07-27 15:04:21 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
e3ba021f5a *: make system variable 'group_concat_max_len' work (#7080) 2018-07-26 20:02:56 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
1562f25787 add sum_decimal method for aggfunc (#7096) 2018-07-26 13:24:57 +08:00
b5f9b35a45 plan: refactor the code of building Insert. (#7068) 2018-07-25 22:41:42 +08:00
dd99148767 executor: pass row pointer rather than row to avoid convertT2I (#7143) 2018-07-25 13:37:09 +08:00
3299f860ff *: use chunk.Row instead of types.DatumRow in test files (#7139) 2018-07-24 21:45:33 +08:00
5f7abc84fe *: fix panic that upgrade from old version TiDB. (#7136) 2018-07-24 18:59:29 +08:00
437933d449 sessionctx, executor: Add correctness check when set system variables (#7117) 2018-07-24 18:49:15 +08:00
cef80b3da3 plan: converting plan to pb should not rely on Column's Position (#7105) 2018-07-24 15:59:00 +08:00
ebfbe099e2 executor: avoid very slow structure to interface type converation (#7121) 2018-07-23 12:16:12 +08:00
dbd7b61404 plan, executor: check b.err after buildSort and buildLimit in builUnion (#7114) 2018-07-21 10:52:44 +08:00
387a53a719 executor: move tidb_reader code to its named files. (#7065) 2018-07-19 22:36:07 +08:00
8c4e733ff3 executor: support 'admin check table' statement for table partition (#7087) 2018-07-19 00:08:32 +08:00
4f16bdd618 executor: remove childrenResult from baseExecutor (#7076) 2018-07-18 21:18:48 +08:00
50193eb975 executor: speed up replace into statement (#7027) 2018-07-18 16:33:59 +08:00
6b13c4309c executor: support firstrow under new aggregation evaluation framework (#7057) 2018-07-18 09:37:09 +08:00
b29d52ba9c executor: support group_concat under new aggregation evaluation framework (#7032) 2018-07-17 20:22:13 +08:00
1bf3f3d407 ranger: refine explain format, again (#7041) 2018-07-17 16:47:44 +08:00
9cf670a324 *: cut off duration.fsp in chunk (#7043) 2018-07-17 15:36:27 +08:00
44e34bd304 *: index refactor for table partition (#7062) 2018-07-17 14:01:50 +08:00
9c9ddf391f executor: support the remained types for max/min (#7056)
support String/ Time/ Duration/ JSON for max/min
2018-07-17 00:15:45 +08:00