372a6fc921
plan: refine explain result format ( #7011 )
2018-07-09 13:55:36 +08:00
5bdf34b9bb
plan: fix "INSERT ... ON DUPLICATE KEY UPDATE" ( #6593 )
2018-07-09 13:25:23 +08:00
10151e1598
parser,ast: parse statement execution time optimizer hints ( #7012 )
2018-07-08 17:08:29 +08:00
3f574d97c9
stats: refactor stats update mechanism ( #6901 )
2018-07-06 11:22:11 +08:00
c2283c6b03
table/tables: add a mocked sessionctx.Context for partition expression ( #6804 )
2018-07-06 09:04:40 +08:00
73dc86c7e4
aggregation: handle non-integer input for bit related aggregate functions ( #6994 )
2018-07-06 00:22:37 +08:00
7682a74d15
*: kill one's own connection doesn't require SUPER privilege ( #6954 )
...
`kill tidb connID`, if the user is the owner of that connection, there
is no need to check the SUPER privilege.
SessionManager interface is slightly modified.
2018-07-05 20:17:17 +08:00
3914266ace
plan: fix a bug in decorrelation ( #6972 )
2018-07-05 16:56:12 +08:00
363cdc2d93
aggfuncs: implement bit-or with new aggregation framework ( #6975 )
2018-07-05 16:33:41 +08:00
48c0fcdaf5
executor, ddl: get the correct result of "show create table" when running "add index" ( #6993 )
2018-07-05 14:42:19 +08:00
bdfa5eef19
ddl: make added count correct in adding index ( #6980 )
2018-07-05 11:59:35 +08:00
40193a3daf
executor: fix panic on Stream Aggregate ( #6984 )
2018-07-04 18:28:31 +08:00
5601c45189
executor: Fix query hang on hash aggregate operator ( #6982 )
2018-07-04 17:44:40 +08:00
1310996667
privilege/privileges: don't reuse chunk in loadTable function ( #6976 )
2018-07-04 17:37:42 +08:00
9d49f8352e
Update CONTRIBUTING.md ( #6965 )
2018-07-04 17:13:52 +08:00
1f6e12cc55
The version of GO should be 1.10 or above. ( #6969 )
2018-07-03 19:05:20 +08:00
490af37d1e
*: add scope check when get system variables ( #6958 )
2018-07-03 17:12:18 +08:00
ef1b9dfae1
aggfuncs: partially implement "AVG" ( #6951 )
2018-07-03 15:41:23 +08:00
c9cea72343
stats: refine updating stats using feedback ( #6796 )
2018-07-03 15:05:02 +08:00
f6ee36e08c
tidb-server, terror: add cleanup when createServer exits abnormally ( #6947 )
...
* tidb-server, terror: add cleanup in createServer
2018-07-03 14:19:59 +08:00
8d1fe30c17
chunk: split "column" and "Row" to another source file ( #6960 )
2018-07-03 13:51:55 +08:00
2292844f34
*: support session variable 'warning_count' and 'error_count' ( #6945 )
2018-07-02 19:00:24 +08:00
e868f0e085
ddl, sessionctx: update interfaces and comments ( #6870 )
...
* ddl, sessionctx: clean up
2018-07-02 16:14:13 +08:00
d4778ea6ba
Add Contact Form to "Connect with us" ( #6884 )
...
Allows users to reach PingCAP Team directly with individual questions
2018-07-02 14:48:30 +08:00
0debbe1c64
infoschema: fix test for table rows count field ( #6950 )
2018-07-02 13:53:44 +08:00
8db5811cb6
*: 'load data' should not use latches ( #6927 )
...
'load data' is not retryable when it meets conflicts, while latches may result in
false positive transaction conflicts. so enable latches will lead to 'load data'
abort abnormally, even there are no conflicts.
2018-07-02 11:53:12 +08:00
dd37138dc0
*: support parallel hash agg ( #6658 )
2018-06-29 22:59:47 +08:00
8c666359a5
executor: handle \N as NULL in load data statement ( #6873 )
2018-06-29 19:42:24 +08:00
cef2ebde62
*: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement ( #6936 )
2018-06-29 19:09:12 +08:00
afe45fd2ea
mockstore,tikv: fix that mocktikv ignore latches config ( #6932 )
2018-06-29 17:57:43 +08:00
63ef239bae
aggregation: fix the wrong result of avg(double) ( #6888 )
2018-06-29 17:36:27 +08:00
3c05d77a17
executor: introduce a new execution framework for aggregate functions ( #6852 )
2018-06-29 16:52:56 +08:00
5a5aeb813a
expression, plan: no longer call expression.Clone in plan package except ResolveIndices ( #6866 )
2018-06-29 16:25:26 +08:00
753b295877
executor, types: fix bug of insert into unsigned float/double ( #6939 )
2018-06-29 14:48:16 +08:00
6a931e55dc
plan: remove other accessPaths if one is unique key and full matched. ( #6925 )
2018-06-29 14:32:26 +08:00
ab332eba2a
executor: BadNullError should be ignored by insert ignore statement ( #6465 )
2018-06-29 13:15:31 +08:00
d6f66bb63d
ddl/reorg: enlarge runDDLJob wait timeout ( #6902 )
2018-06-29 11:01:34 +08:00
39d00d35aa
sqltostr: fix str_to_date('2018-6-14', '%Y-%m-%d') bug ( #6919 )
2018-06-28 21:38:06 +08:00
425308780a
config: disable local latches for transaction as default ( #6930 )
2018-06-28 19:07:58 +08:00
c5524cb238
plan, executor: use CorrelatedColumn to calculate range. ( #6779 )
2018-06-28 16:23:05 +08:00
e837e4b81c
*: add a session variable for table partition, tiny update ( #6913 )
2018-06-28 12:50:01 +07:00
ef3d04087d
server: fix COM_FIELD_LIST response bug that make mariadb-client crash during use db ( #6918 )
2018-06-28 13:40:27 +08:00
a7819c3385
plan: draw relation bewteen operators with indent ( #6894 )
2018-06-28 13:28:43 +08:00
6851878b9b
*: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count ( #6441 )
...
* *: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count
2018-06-27 22:36:18 +08:00
9952fe05b5
tidb-server: move "setupMetrics" to the front of "createStoreAndDomain" ( #6921 )
2018-06-27 21:26:07 +08:00
0ab0b50f25
stats: refine the pseudo condition for stats ( #6565 )
2018-06-27 17:05:37 +08:00
326ad271d6
plan: enhance the row count estimation when correlated column exists ( #6911 )
2018-06-27 13:33:15 +08:00
1ab7abbebb
check character set capitalization when creating a database ( #6914 )
2018-06-27 10:49:43 +08:00
401577b8dc
parser:support order by in select from dual ( #6871 )
2018-06-26 16:49:21 +08:00
ebf0a9b87b
executor: reduce memory usage of insert select from statement ( #6891 )
2018-06-26 16:29:24 +08:00