f522de2e8f
ddl: support "or replace" option when create view ( #8856 )
2019-01-16 19:54:22 +08:00
47ea05d017
executor,planner: adjust the result of 'admin show ddl' ( #9020 )
2019-01-16 18:02:55 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
3c98f69266
*: support select partition for partition table ( #8990 )
2019-01-14 20:55:52 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
68ddb7f0e6
*: fix the lower bound when converting numbers less than 0 to unsigned integers ( #8544 )
2019-01-10 16:04:07 +08:00
884db0ab3d
types: fix the incorrect behavior of "%y"/"%Y" for STR_TO_DATE() ( #8517 )
2019-01-08 12:37:30 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
0c75c43010
fix typo ( #8943 )
2019-01-05 09:05:52 +08:00
e646276f4b
planner,executor: basic support for DROP_VIEW ( #8758 )
2019-01-04 10:53:02 +08:00
386f8e3b7a
planner: update generated column inside a transaction should return error ( #8909 )
2019-01-03 11:01:02 +08:00
e06c87d3c1
add an option for AddRecord and Create ( #8884 )
2019-01-02 11:30:53 +08:00
ffd9ba6659
gc_worker: Remove timezone name from the times that are saved in mysql.tidb ( #8745 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2018-12-27 12:16:18 +08:00
93e91b6a37
executor/test: fix data race of executor unit tests ( #8807 )
2018-12-27 11:28:55 +08:00
123aba282c
planner: support building data source from View ( #8757 )
2018-12-26 14:22:26 +08:00
90b619a452
planner/core: add support for nested virtual generated columns ( #8659 )
2018-12-25 21:59:04 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +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
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
8a6b965a8b
executor: accelerate unit test TestTSOFail ( #8717 )
2018-12-18 14:15:47 +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
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
350a046975
executor,store/mockstore: add a test to mock get tso fail ( #8566 )
2018-12-04 22:10:08 +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
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
487bb50390
planner, executor: fix tp.Flen size when union with castIntAsString ( #8442 )
2018-11-27 11:35:52 +08:00
3e0e7d5a69
plan: support subquery in Do statement ( #8343 )
2018-11-20 14:10:24 +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
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
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
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
fffb49bce6
*: modify tests to work with only-full-group-by on ( #8163 )
2018-11-05 10:41:48 +08:00
761365b31c
*: avoid using columnEvaluator for the Projectin build by buildProjtion4Union ( #8142 )
2018-11-02 17:28:09 +08:00
dd65caac31
planner: fix issue#8135 ( #8143 )
2018-11-02 14:31:11 +08:00
8ed433036b
planner: refine PhysicalProjection.ResolveIndices during neighbouring Proj ( #8073 )
2018-11-02 13:42:12 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
c23a30c1bb
planner/core: fix index resolution on PhysicalIndexReader ( #8118 )
2018-10-31 16:13:18 +08:00
3febc22811
expression: fix cast json to decimal bug. ( #8030 )
2018-10-29 17:02:32 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
76f84f4536
executor, planner: clone proj schema for different children in buildProj4Union ( #7999 )
2018-10-23 13:34:03 +08:00
1d3bb7b47f
executor: fix panic when limit is too large ( #7936 )
2018-10-18 14:33:18 +08:00
de931ca953
planner, executor: refine ColumnPrune for LogicalUnionAll ( #7930 )
2018-10-18 13:30:32 +08:00
1bb15f14fa
admin: fix admin check table bug of byte compare ( #7887 )
...
* admin: remove reflect deepEqual
2018-10-16 18:24:58 +08:00