0267a7fbdf
ddl: validate fsp for datetime/timestamp if they are used as defaultvalue of datetime/timestamp columns ( #9327 )
2019-03-04 11:19:11 +08:00
0b371ea4fa
executor: only use the transaction buffer for union scan ( #9428 )
2019-03-03 14:54:18 +08:00
560e8cfe57
*: sleep 0 when retry whole transaction ( #9454 )
2019-03-02 13:16:28 +08:00
7ac4902b8f
ddl: disallow generated column referring to auto_increment column ( #9234 )
2019-03-01 11:50:13 +08:00
fa37762c53
executor: tiny refactor, remove physicalTableID from the three reader ( #9511 )
2019-03-01 10:36:09 +08:00
4f232e5c8d
executor: add CREATE ROLE support ( #9461 )
2019-03-01 10:07:28 +08:00
2433e28d8d
*: fix ineffectual assignments and misspellings ( #9481 )
2019-02-28 19:25:07 +08:00
9259785455
executor: support window function rank and dense_rank ( #9500 )
2019-02-28 14:44:08 +08:00
8b84b94c96
*: fix union scan for partitioned table ( #8871 )
2019-02-28 13:43:45 +08:00
69f2749154
executor: only show valid columns in stats_histogram ( #9487 )
2019-02-28 13:06:38 +08:00
6f5f7c360f
table, executor: handle the column's version when it's greater than ColumnInfoVersion1 ( #9488 )
2019-02-27 16:57:33 +08:00
4449eb062a
ddl: add ddl job error count limit, exceed the limit should cancel the ddl job ( #9295 )
2019-02-27 15:03:04 +08:00
45f9d6a00f
statistics: compute and store column order correlation with handle ( #9315 )
2019-02-27 11:32:00 +08:00
a59a5f41e1
planner, executor: support range framed window functions ( #9450 )
2019-02-27 10:07:28 +08:00
3e0f51b474
executor: control Chunk size for Selection&Projection ( #9398 )
2019-02-26 14:24:30 +08:00
5a283a98dd
plan/executor: make semi joins null and empty aware ( #9051 )
2019-02-25 15:42:38 +08:00
2f3842a8da
executor, planner: refine merge join compare methods to avoid some rare cases ( #9390 )
2019-02-25 14:19:26 +08:00
266ff4b6f3
executor, ddl: get the correct result of "show create table" when adding the first index to the table ( #9388 )
2019-02-22 18:49:44 +08:00
18449d777a
*: merge statement buffer when BatchGetValues ( #9374 )
2019-02-22 11:06:58 +08:00
042e4100b9
executor: support row framed window functions ( #9358 )
2019-02-21 15:30:25 +08:00
aabd330d1e
*: support "show create user" ( #9240 )
2019-02-21 13:58:19 +08:00
7a240818d1
executor: control Chunk size for TopN&Sort ( #9364 )
2019-02-21 13:00:41 +08:00
8f3c74c1c5
*: support variable log_bin ( #9343 )
2019-02-20 16:28:15 +08:00
789f7006ac
Control the number of rows in chunks returned by LimitExec ( #9354 )
2019-02-19 18:21:55 +08:00
40fa006cac
*: collect coprocessor runtime stats for explain analyze ( #9057 )
2019-02-19 16:22:00 +08:00
b845f2a4da
executor, planner: support show create view ( #9309 )
2019-02-19 10:18:57 +08:00
cc085693f1
executor: support window function row number ( #9098 )
2019-02-18 17:14:37 +08:00
94d21c57aa
* fix timestamp default value bug in multiple time zones. ( #9115 )
2019-02-18 15:35:27 +08:00
84d1513b09
plugin: support flush tidb plugin {name} in tidb-server ( #9320 )
2019-02-18 13:48:43 +08:00
6136ab14cf
*: start replacing logger with zap logger ( #9279 )
2019-02-15 16:43:47 +08:00
a9c7c70596
planner, executor: inject proj below TopN and Sort if byItem contains scalarFunc ( #9197 )
2019-02-15 15:34:30 +08:00
3d4ad1fb80
executor: make the results of show create table more consistent with MySQL ( #9229 )
...
* Fix #9211 : make more consistent with MySQL
2019-02-15 11:26:11 +08:00
d96ca96941
executor:adjust 'show create table' for mysql compatibility ( #9113 )
...
* executor: adjust 'show create table'
show create table should not print the charset of the column
if it is the same with table charset( same with MySQL)
* update:change the test
* update: add test to improve CodeCov
* style: update the variable
* fix test
* Wait for change parser
* just need to test
* change go.mod
* fix invalid pointer access
* Revert "update:change the test"
This reverts commit 64b381b2e95f151a9756d67ba52b60f694573cf9.
* Revert "fix test"
This reverts commit 98e00954064c9f5a6aa4ae1d4fb529e27cfabf4e.
* Revert "update: add test to improve CodeCov"
This reverts commit a32d6e992ca239e893f0615cea988838f3952dd7.
* passed test(need change test data)
* add judge when show create table
* fix logic wrong
* add test
* change variable name
* revert something because complex
* update go.mod
* update go.mod
2019-02-14 15:49:38 +08:00
632a8c4c82
executor, util: add Benchmarks for HashAggExec and StreamAggExec ( #8998 )
2019-02-14 13:29:35 +08:00
357f9d7363
metrics: add db QPS metric ( #9151 )
2019-02-13 19:17:44 +08:00
ba68605ce6
*: use less memory when many rows inserted in one transaction ( #9272 )
2019-02-13 11:39:46 +08:00
c3f64b2629
*: tiny update for the whitelist plugin ( #9271 )
2019-02-12 15:54:45 +08:00
4ad4684da1
privilege,planner: handle View's security privilege check ( #9194 )
2019-02-12 10:35:18 +08:00
bcecc91362
ddl: fix default value precision problem for time types ( #9249 )
2019-02-11 12:15:09 +08:00
af99a0df5a
types: fix processing of "0000" value for year type ( #9250 )
2019-02-11 11:20:22 +08:00
640aa65113
*: add some tests for writing-data corner cases ( #9199 )
2019-02-11 10:20:17 +08:00
3d614e0965
planner: enable function any_value in aggregation if ONLY_FULL_GROUP_BY is set ( #9255 )
2019-02-10 10:03:40 +08:00
09a5c8028e
plan: derive col is not null from col op col conditions ( #8603 )
...
Check whether the `op` condition is null rejected, if yes, derive
`col is not null` for both sides of inner join, and for inner side
of outer join.
Also, remove duplicate conditions before pushing them down. Check
if the condition is mutable before removing duplicates.
For AntiSemiJoin, AntiLeftOuterSemiJoin and LeftOuterSemiJoin, do
not generate new `is not null` conditions.
2019-01-30 10:53:46 +08:00
c83a0ceb95
config: add a config item to control whether TiDB check the mb4 character in utf8 ( #9175 )
2019-01-25 14:39:30 +08:00
5c65128632
ddl: make the leak test stable ( #9139 )
2019-01-23 13:01:55 +08:00
36176be874
*: improve syntax error code & message compatibility ( #9103 )
2019-01-23 10:46:29 +08:00
63936cc1fa
ddl: resolve the charset by the order: table->database->server ( #9105 )
2019-01-21 19:56:40 +08:00
818ec911c5
admin: fix admin check table err when add column not null, then add index on the column ( #9108 )
2019-01-20 22:44:10 +08:00
59c7b69187
ddl: disallow alter table on view ( #8890 )
2019-01-17 00:57:21 +08:00
f522de2e8f
ddl: support "or replace" option when create view ( #8856 )
2019-01-16 19:54:22 +08:00