a1a4e8197d
Revert "executor/show: show create table return utf8mb4 charset. ( #8604 ) ( #8782 )
2018-12-26 09:54:50 +08:00
90b619a452
planner/core: add support for nested virtual generated columns ( #8659 )
2018-12-25 21:59:04 +08:00
3040788655
*: make errcheck work again ( #8795 )
2018-12-25 17:16:52 +08:00
bd69b15e79
*: add the error check ( #8770 )
2018-12-24 22:22:00 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
ef7082da1c
ddl, executor: fix rename table compatibility ( #8709 )
2018-12-22 22:19:41 +08:00
94df8d1e30
*: ignore unknown hint and return warning instead of return a parser error ( #8685 )
2018-12-21 13:44:54 +08:00
44f2c2c381
Makefile: make 'make check' faster ( #8755 )
...
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
29c17a1eb9
planner/core: correct column name with unary plus sign ( #8702 )
2018-12-19 23:35:43 +08:00
1c4d2d9890
table: check non-BMP characters and return error when the charset is utf8 and sql mode is strict mode ( #8738 )
2018-12-19 17:52:47 +08:00
18b2a7884b
admin: only check public index ( #8748 )
2018-12-19 17:05:07 +08:00
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +08:00
9c087d13ee
*: replace github.com/etcd-io/gofail with the forked one ( #8693 )
...
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
df55d3815d
executor,planner: fix 'show master status' output ( #8737 )
2018-12-18 22:13:14 +08:00
4e8c424718
*: basic support for CREATE_VIEW ( #8571 )
2018-12-18 20:17:27 +08:00
4899ce5e92
ddl: add error check in ddlCtx.buildDescTableScan ( #8726 )
2018-12-18 14:47:23 +08:00
8a6b965a8b
executor: accelerate unit test TestTSOFail ( #8717 )
2018-12-18 14:15:47 +08:00
2088cafaca
types: restore the field length of a string typed parameter value to the original one ( #8656 )
2018-12-14 15:39:38 +08:00
d69490b77e
executor/show: show create table return utf8mb4 charset. ( #8604 )
2018-12-11 19:14:37 +08:00
ef0ad26da8
executor,table: remove redundant if condition and fix comment typos ( #8627 )
2018-12-10 23:48:53 +08:00
e3f3ac24f6
session: add a batch commit session variable for the large transaction ( #8293 )
2018-12-10 18:29:39 +08:00
97b569ca4b
plan: build separate required physical property for children ( #8635 )
...
For logical operator which passes the required physical property
down to its children, make a copy for it instead of direct assignment
using the original pointer.
2018-12-10 17:45:38 +08:00
ce622ec6d8
session: move more session vars to stmt context for retrying ( #8034 )
2018-12-10 16:39:43 +08:00
c27705ad75
sessionctx: Error/warning on unsupported isolation levels ( #8625 )
2018-12-10 14:14:59 +08:00
f72769cee4
sessionctx/variable: fix field(History) typo in TransactionContext ( #8600 )
2018-12-07 12:33:03 +08:00
fde9c72af5
expression, executor: castStringAsTime returns null when sql_mode is not strict ( #8516 )
2018-12-06 23:12:55 +08:00
49b0cd3369
executor: set projection concurrency build bellow aggregate ( #8601 )
2018-12-06 20:31:43 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
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