dbdd806c0e
*: add session variable "tidb_enable_cascades_planner" ( #7879 )
2018-10-12 13:21:51 +08:00
d7a59ec5a3
executor: remove some useless code and avoid some redundancy check ( #7639 )
2018-10-12 12:56:02 +08:00
508a83607a
Changed FTWRL to produce error ( #7712 )
2018-10-12 10:04:22 +08:00
f6f03db6dd
expression: fix warning/error info of group_concat() ( #7799 )
2018-10-11 17:01:47 +08:00
f3a9390d18
executor: refine the precision for avg ( #7860 )
2018-10-11 14:51:56 +08:00
db151bb66f
domain: fix memory leak for stats ( #7864 )
2018-10-11 10:58:22 +08:00
38f2fe0b60
executor,infoschema: check privilege for 'show processlist' ( #7858 )
...
"show processlist" requires the PROCESS privilege.
Otherwise, the user can see only his own threads.
2018-10-10 17:50:37 +08:00
fd71236e41
ddl: fix alter add index on virtual column bug ( #7575 )
2018-10-10 13:50:20 +08:00
c19f8fba5c
store/tikv,executor: redesign the latch scheduler ( #7711 )
...
Check maxCommitTS on each key, instead of each slot, so hash collision
will not lead to transaction retry.
2018-10-09 16:31:37 +08:00
ee0d4d6c64
executor: print arguments in execute statement in log files ( #7684 )
2018-10-09 15:24:25 +08:00
75d6a3ee9e
executor, sessionctx: calculate radix bit number before building hash table ( #7816 )
2018-10-09 13:48:11 +08:00
bb8ba440e8
admin: fix admin check table compare bug ( #7818 )
2018-09-30 11:42:06 +08:00
0d979a24e0
ddl: fix 'show create table' result not correct when the table with a compression option ( #7793 )
2018-09-27 18:39:13 +08:00
86416be62f
executor: fix point get null values ( #7790 )
2018-09-27 18:21:15 +08:00
8917a15fe1
util/timeutil: fix get tz at mojave ( #7784 )
2018-09-27 09:43:18 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
081920da93
planner,executor: support admin show slow command ( #7785 )
2018-09-26 19:28:53 +08:00
af3b782231
planner: fix compatibility issue that update subquery table should be forbidden ( #7783 )
2018-09-26 18:59:55 +08:00
cfd4544801
ddl:support show create table with compression ( #7782 )
2018-09-26 18:13:03 +08:00
4b5d83bcc4
domain: add recent slow queries queue and ShowSlowQuery() function ( #7692 )
2018-09-26 15:09:31 +08:00
0f8ee9df48
metric: add slow log metric ( #7759 )
2018-09-25 13:26:29 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
1c5adf402f
fix show processlist ( #7765 )
2018-09-21 14:59:21 +08:00
334e9254d3
*: add a variable to force statement priority of TiDB server ( #7694 )
2018-09-20 23:48:40 +08:00
cc09ecab22
util: add WithRecovery util method ( #7666 )
2018-09-20 20:21:02 +08:00
56713821ff
plan: fix a problem caused by union's schema ( #7680 )
...
Before this commit. Union use the schema of its `Children[0]`.
The `Columns` information is correct.
But the `unique key information` is not, obviously.
2018-09-20 19:36:14 +08:00
4a444efa9a
ddl: fix add index on timestamp column bug ( #7724 )
2018-09-20 15:49:10 +08:00
d47e303887
executor,sessionctx:Add correctness for system variable: sync_binlog,… ( #7716 )
2018-09-17 14:58:46 +08:00
9f25032666
plan: fix predicate push down for UnionScan ( #7695 )
2018-09-17 14:44:53 +08:00
7f6babb2b4
plan: fix mistaken conversion from outer join to inner join ( #7689 )
...
exclude upper level join conditions from predicates when simplifying
embedded outer join
2018-09-17 13:39:15 +08:00
b6a540a0f0
reuse chunk to reduce memory usage in union scan ( #7717 )
2018-09-17 11:34:19 +08:00
33a30cc780
executor: Fix a bug in 'INSERT ... ON DUPLICATE KEY UPDATE' ( #7675 )
2018-09-14 22:49:17 +08:00
29441950a3
*: write system timezone into mysql.tidb in bootstrap stage. ( #7638 )
2018-09-14 22:15:00 +08:00
7de83a3c8f
plan: use the inferred type as the column type in the schema ( #7624 )
2018-09-12 20:29:50 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
6604e33c21
domain,executor: store topN slow query in domain ( #7646 )
2018-09-12 11:01:48 +08:00
b58a977289
type: make decimal default precision visible in show create table ( #7667 )
2018-09-12 10:29:07 +08:00
27047a0e2f
executor: remove *MVMap from agg executor ( #7541 )
2018-09-11 21:31:48 +08:00
96e44a80f8
executor, expression: calculating the default value for datetime should consider the time zone ( #7655 )
2018-09-10 16:11:07 +08:00
2d62584a0c
executer: make updateRecord easier to understand ( #7557 )
2018-09-10 16:00:32 +08:00
b3d4ed79b9
server, mysql: return correct column name and column label name ( #7600 )
2018-09-08 13:06:14 +08:00
8c44f562f5
metrics: add different labels for restricted SQL and general SQL ( #7631 )
...
The newly added label is `sql_type`, it has value: `general` and `internal`,
users can use this label to filter metrics they have interest.
Also, add keyword `[INTERNAL]` for restricted SQL printed in slow log for
convenient identification.
2018-09-07 14:23:48 +08:00
b2bfd8f91a
executor: support load data with ignore lines ( #7576 )
2018-09-06 22:58:06 +08:00
e7afbb2713
*: make analyze buckets number configurable ( #7619 )
2018-09-06 17:16:23 +08:00
92e6a5af4f
executor: add batch copy to inner join, left and right outer join. ( #7493 )
2018-09-05 15:54:04 +08:00
ac8a61ea68
executor: parallel read inner table and build hash table. ( #7544 )
2018-09-04 15:24:37 +08:00
3d891d9c26
executor: fix update join result when join table order changed ( #7571 )
2018-09-03 14:12:35 +08:00
1f2841fbd4
ddl: year type should have an unsigned flag ( #7542 )
2018-08-31 16:45:38 +08:00
720e8230e2
executor: only rebase auto increment ID when needed ( #7515 )
2018-08-31 14:24:32 +08:00
8d1acc2407
Fix bit default value bug ( #7249 )
2018-08-31 10:43:02 +08:00