312e0f7e9d
session: skip global variable cache in unit test ( #8594 )
...
If the global variable cache is used, the test code has to sleep a while
to ensure it load the fresh data. This may slow the CI
2018-12-06 16:15:03 +08:00
68a6291c05
executor: fix show create table for hash partition ( #8477 )
...
* executor: fix show create table for hash partition
* Update show.go
* Update show_test.go
* Update show.go
2018-12-06 10:24:30 +08:00
dbf140f835
*: support select, insert for hash partition table. ( #8411 )
2018-12-05 23:47:29 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
3128e9b98a
*: Hide "Mem" column from SHOW PROCESSSLIST ( #8543 )
2018-12-05 11:42:58 +08:00
350a046975
executor,store/mockstore: add a test to mock get tso fail ( #8566 )
2018-12-04 22:10:08 +08:00
558e02dbce
executor: fix grant operation in ANSI_QUOTES sql mode ( #8561 )
2018-12-04 20:55:24 +08:00
e478be7914
ddl: add ddl_reorg_batch_size variable to control ddl worker batch size and enlarge default batch size. ( #8365 )
2018-12-04 19:07:12 +08:00
cb4d5bd988
executor: support batch insert for insert values statement ( #8420 )
2018-12-04 17:44:50 +08:00
1cc9d4d53c
expression: split aggregation descriptor for reuse ( #8559 )
2018-12-04 16:22:15 +08:00
103f2ac2a3
*: add a session variable for window function parser ( #8511 )
2018-12-04 11:26:59 +08:00
cbae4c6815
planner, executor: set memory size to MAXUint64 for prepare plan cache test ( #8556 )
2018-12-04 10:53:06 +08:00
c677187728
plan: support ? in Order By / Group By / Limit Offset clauses ( #8206 )
2018-12-03 21:48:54 +08:00
4bcdb6d8ee
executor: do not build range for NullOuterVal in IndexLookUpJoin ( #8505 )
2018-11-29 14:15:23 +08:00
3b68ee59a6
planner: for UNION statements, ORDER BY cannot use column references including a table name ( #8389 )
2018-11-29 12:40:08 +08:00
e7e31fae3f
*: add preparedStmt metric and add limit to max prepareStmt ( #8405 )
2018-11-28 20:37:50 +08:00
d301c16e0e
ddl: fix a bug that cancel add index ddl job when workers are not run, which cause tidb ddl hang up ( #8171 )
2018-11-28 17:10:55 +08:00
322795439d
*: record cop scan rows in explain analyze ( #8423 )
2018-11-28 15:43:59 +08:00
e2e8d67819
table, executor: set a real enum as the default enum value ( #8469 )
2018-11-27 20:33:12 +08:00
73c91738d7
executor: privilege check USE command ( #8418 )
2018-11-27 19:06:17 +08:00
487bb50390
planner, executor: fix tp.Flen size when union with castIntAsString ( #8442 )
2018-11-27 11:35:52 +08:00
0ac0e154d9
planner, executor: fix PREPARE FROM @var_name ( #8437 )
2018-11-27 11:00:41 +08:00
0d005a0b56
executor: fix overflow error message of update ( #8457 )
2018-11-27 09:11:33 +08:00
5035e48bb5
executor, sessionctx: add checks for system variable validate_password_xxxx ( #8227 )
2018-11-26 23:03:37 +08:00
7a88c33a67
executor,planner: Improve SET PASSWORD ( #8426 )
2018-11-26 22:19:51 +08:00
7ab61d85ce
executor: improve SHOW commands compatibility ( #8417 )
2018-11-26 20:39:56 +08:00
84d1299bb2
config, util.kvcache: support the memory guard to prevent OOM for the plan cache ( #8339 )
2018-11-22 22:05:04 +08:00
f085f4fee4
admin: admin check table/index using tidb_snapshot ( #8172 )
...
* admin: admin check table/index support snapshot
2018-11-22 12:21:53 +08:00
01ca08b8c2
infoschema: Add missing i_s.files columns ( #8387 )
2018-11-22 11:35:59 +08:00
6fb260f8a6
*: redesign trace statement with json output ( #8357 )
2018-11-21 13:50:18 +08:00
c99b1c821a
executor: fix hash join sqllogic test block ( #8374 )
2018-11-21 13:01:48 +08:00
3e0e7d5a69
plan: support subquery in Do statement ( #8343 )
2018-11-20 14:10:24 +08:00
61ee0da103
planner: cleanup prepare cache when client send deallocate ( #8332 )
2018-11-20 12:33:44 +08:00
c5bd5b6b84
executor: make sure hashjoin's goroutine exit before Close return ( #8338 )
2018-11-20 11:49:42 +08:00
b4746797fc
*: clone AggDesc before modifying its Mode in AggDesc.Split ( #8328 )
2018-11-16 15:53:22 +08:00
3742a0d602
*: Txn() function signature refactor and remove ActivePendingTxn() ( #8327 )
...
* change Txn() function signature to Txn(active bool)
* ActivePendingTxn() is not used any more because Txn() does the work
* change executor builder getStartTS() uint64 to getStartTS() (uint64, error)
2018-11-16 11:10:39 +08:00
59cf3e0663
util/execdetails: fix data race ( #8324 )
2018-11-15 11:59:46 +08:00
f88db4fb5e
executor: properly escape backquotes in identifiers in SHOW CREATE TABLE ( #8302 )
2018-11-14 23:09:09 +08:00
0c3e9c1652
session,executor: run statement without transaction ( #8260 )
...
`set @@autocommit = 0`
`select 1` // This statement should not make the session enter a transaction,
because it never need Txn().
Make txn lazy initialize
2018-11-14 20:10:58 +08:00
73a3497d2a
variable: validate setting tx_isolation variable value ( #8299 )
2018-11-14 18:23:44 +08:00
d6796b3637
executor, cmd: refine HashJoinExec for specific JoinType if outer/inner is nil ( #8296 )
2018-11-14 18:03:36 +08:00
3c0d0534f2
server,types: convert zero input correctly for column type year ( #8292 )
2018-11-14 15:25:08 +08:00
aa979705df
planner, executor: eliminate extra columns introduced by OrderBy upon Union ( #8290 )
2018-11-13 17:03:34 +08:00
6a99fa25d7
executor: fix union dual table order by but not sort ( #8251 )
2018-11-13 15:27:18 +08:00
679d2e559c
planner/core: make TIDB_INLJ to specify the inner table ( #8243 )
2018-11-13 11:55:30 +08:00
ce6a7150b3
executor: Support NO_AUTO_CREATE_USER sql mode ( #8160 )
2018-11-12 13:45:37 +08:00
f3a9745e2c
executor: support for "admin show next_row_id" ( #8242 )
2018-11-09 22:08:42 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
f547869f49
executor: fix affected rows when inserting data ( #8233 )
2018-11-09 14:22:55 +08:00
4ddf316c83
executor: recovery panic in parallel hashagg and projection ( #8185 )
2018-11-06 16:16:25 +08:00