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
d261b6a5fc
ddl:In non-strict sql mode, fix column type is text /blob/json default value null not processed. ( #7230 )
...
* in non-strict SQL mode,fix column type is text /blob/json default value null not processed.
2018-08-05 22:20:46 -05: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
7223353efa
plan: remove planBuilder.err ( #7260 )
2018-08-03 13:08:29 +08:00
130f53b316
*: partitioned table should not use PointGetPlan ( #7261 )
...
* *: partitioned table should not use PointGetPlan
2018-08-03 12:57:13 +08:00
30a6cc305b
ddl, metrics: add worker info to the log ( #7201 )
2018-08-03 11:15:26 +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
90e4d02152
privilege/privileges: sort user records in privilege cache ( #7211 )
2018-08-02 22:05:41 +08:00
0f4aba1942
Switch checks to use retool. Fix goword and errcheck ( #7240 )
...
* use retool for linters
Also fix goword and errcheck which were not being run correctly.
These are now under the check-fail task.
* fix goword wants proper package comments
* grammar
* tools: move into the hack/ folder
2018-08-02 21:20:27 +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
270ed29e4d
model: implement UnmarshalJSON for CIStr ( #7252 )
...
* model: implement UnmarshalJSON for CIStr
2018-08-02 16:58:47 +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
6287b24f43
expression: handle max_allowed_packet warnings for space function. ( #7210 )
2018-08-02 12:57:06 +08:00
cc1c3be983
plan: update comment wording ( #7238 )
2018-08-02 10:10:40 +08:00
5e7aa1d97d
infoschema,executor: add PROCESSLIST table to INFORMMATION_SCHEMA database ( #7236 )
2018-08-01 22:48:33 +08:00
62461a77b7
util/chunk: fix TruncateTo again ( #7234 )
...
When we append null, we simply increment the nullCount,
so we need to unset the unused bits in the last bitmap byte.
2018-08-01 21:53:18 +08:00
791d6909da
tikvclient,mocktikv: add batch put API for raw kv ( #7135 )
2018-08-01 17:17:15 +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
a37acaf0d4
expression: update wording in comments ( #7220 )
2018-08-01 16:16:38 +08:00
44a2ad7f0f
expression, plan: rename Column.Position to Column.UniqueID ( #7218 )
2018-08-01 15:44:21 +08:00
606bef7be6
stats: calculate the scalar info for histogram after local update ( #7215 )
2018-08-01 13:37:15 +08:00
d5c5115220
executor: fix firstrow/max/min(bit col) error ( #7206 )
2018-08-01 12:59:40 +08:00
d410159e06
util/chunk: fix chunk truncate ( #7216 )
...
Fix the wrong nullBitmap index after truncate.
2018-08-01 12:22:11 +08:00
581edd4cac
executor: set the correct handle in DirtyDB when executing update statements ( #7209 )
2018-08-01 11:36:22 +08:00
5944432c0d
ddl: Refactor add index reorganization related code ( #7184 )
2018-08-01 11:17:49 +08:00
e5f26cdeaf
types: fix a bug in decimal multiplication ( #7208 )
2018-07-31 22:15:27 +08:00
b4a0275268
ddl: fix data race in schema_test ( #7203 )
2018-07-31 21:43:15 +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
7500159565
plan: always chose the smaller child as outer for IndexJoin ( #7019 )
2018-07-31 18:14:56 +08:00
0ca4cc6dc8
executor, util: wrap cast upon the args for AggFunction ( #7180 )
2018-07-31 17:51:44 +08:00
42bba991b9
ranger: fix prefix index when charset is UTF-8 ( #7194 )
2018-07-31 16:14:05 +08:00
58248563bc
ddl: add primary key default value check when create table ( #7169 )
2018-07-31 15:44:11 +08:00
c38f567645
expression: handle max_allowed_packet warnings for pad functions ( #7171 )
2018-07-31 15:12:31 +08:00
b8a2b1bf79
stats: fix panic caused by local feedback ( #7152 )
2018-07-31 14:30:26 +08:00
25f1e808f5
Use the revive linter. ( #7197 )
2018-07-31 13:19:09 +08:00
d2aab148fc
ddl: add metrics and clean up ( #7168 )
2018-07-31 10:44:05 +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
e907bfc3a7
plan: fix a bug in index join ( #7150 )
2018-07-30 16:54:11 +08:00
a8012590dc
*: fix union result when mix signed/unsigned columns ( #7112 )
2018-07-30 13:48:44 +08:00