Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick fix uint convert bug to release 2.1 #11439

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
509 commits
Select commit Hold shift + click to select a range
10ec9ee
planner: fix false negative "full group by" check for agg in subquery…
eurekaka Mar 5, 2019
899b7fc
store/tikv: add sanity check for startTS in 2pc (#9555) (#9559)
disksing Mar 5, 2019
bc42d7f
plan: use `Column.UniqueID` in `conditionChecker` of ranger (#8236) (…
XuHuaiyu Mar 7, 2019
77e1f36
*: update go-proxyprotocol version (#9584)
lysu Mar 7, 2019
6441266
util: fix issue #9532, quote database name before running SQL with it…
kennytm Mar 7, 2019
cb11633
update go.mod (#9556)
XuHuaiyu Mar 7, 2019
af34714
domain, store/tikv: enable etcd client auto sync (#9575) (#9600)
disksing Mar 7, 2019
71007da
ddl_test: fix the wrong test #9610 (#9612)
winkyao Mar 8, 2019
ea99709
ddl: refine cancel modify column, add/drop foreign key rollback (#941…
crazycs520 Mar 9, 2019
449ade9
planner: chose outer table based on cost when both tables are specifi…
zz-jason Mar 11, 2019
e21d15e
*: support variable `log_bin` (#9634)
WangXiangUSTC Mar 11, 2019
6c4331e
ddl: fix create table with like bug when refer table has non-public c…
crazycs520 Mar 12, 2019
8f69f9a
planner: correct `ExpectedCnt` for children plans of join (#9497) (#9…
eurekaka Mar 12, 2019
83d9d4d
planner, executor: check col.OrigColName instead of col.ColName in is…
XuHuaiyu Mar 12, 2019
2533cd0
planner, executor: set new child after injecting Project operator (#9…
zz-jason Mar 13, 2019
1f30628
session: skip loading previlige when "skip-grant-table" is enabled (#…
zz-jason Mar 14, 2019
87cb4a7
ddl: add rolling back for rename table, modify table charset, truncat…
crazycs520 Mar 14, 2019
66e639e
CHANGELOG: add release notes for v2.1.6 (#9747)
winkyao Mar 15, 2019
346009f
ddl: remove wait time after canceling a job (#9768)
zimulala Mar 19, 2019
2129872
expression,types: improve `str_to_date` builtin function compatibilit…
tiancaiamao Mar 20, 2019
8fb6dd6
config: fix config toml file `check-mb4-value-in-utf8` problem (#9802…
crazycs520 Mar 21, 2019
8da8632
infoschema: add table_id to table and add tidb_indexes table. (#9183)…
lysu Mar 23, 2019
6f0129f
expression: fix last_day function (#9750)
wjhuang2016 Mar 23, 2019
d8520b3
ddl: check no partitions error when create partition table (#9531) (#…
crazycs520 Mar 23, 2019
4bd4cc8
server: add `/debug/zip` api to get useful debuginfo at once (#9651) …
lysu Mar 25, 2019
0d05e97
types: fix incompatible issue for builtin function `str_to_date` (#96…
qw4990 Mar 25, 2019
7a3aa09
planner/core: fix privilege check for grant on table (#9828) (#9858)
tiancaiamao Mar 25, 2019
f9c995a
privilege: add drop_priv check when truncate table (#9870) (#9876)
winkyao Mar 25, 2019
705341b
plan: support subquery in `Do` statement (#8343) (#9877)
eurekaka Mar 25, 2019
e2bcb88
expression: fix week func format (#9685) (#9753)
glock42 Mar 25, 2019
49c5972
plugin: introduce plugin framework (#8788) (#9880)
lysu Mar 25, 2019
e549680
*: use release-2.1 parser (#9886)
lysu Mar 25, 2019
b2492a5
*: integrate plugin framework with TiDB (#9006) (#9888)
lysu Mar 25, 2019
fbab0fd
cherry pick planner, executor: support SQL show pump/drainer status (…
WangXiangUSTC Mar 26, 2019
41d90ef
*: fix utf8 charset upgrade compatibility (#9820) (#9887)
crazycs520 Mar 26, 2019
542af77
go.mod: update parser version and add unit test (#9928)
WangXiangUSTC Mar 28, 2019
fa1e2e6
executor: deep copy json into partial result (#9833) (#9927)
zz-jason Mar 28, 2019
f5b52cb
CHANGELOG: add release notes for v2.1.7 (#9916)
winkyao Mar 28, 2019
0f69856
executor: fix group_concat for cases like group_concat(123,null) (#99…
XuHuaiyu Mar 28, 2019
2033c23
executor: using ToHashKey to check equality of decimal when count(dis…
XuHuaiyu Mar 28, 2019
ca4d574
plugin: support `flush tidb plugin {name}` in tidb-server (#9320) (#…
lysu Mar 28, 2019
530aa06
ddl:`show full columns` for date, datetime, timestamp compatibility. …
zimulala Mar 28, 2019
d720f15
executor: support batch commit the DMLs (#9882)
jackysp Mar 29, 2019
9bd287f
metrics: adjust the parse & compile duration metrics (#9925) (#9929)
tiancaiamao Mar 29, 2019
6b12ad5
planner: improve row count estimation for index range containing corr…
eurekaka Mar 29, 2019
6f82fd7
types: refine the parsing logic of INTERVAL to correct DATE_ADD/DATE_…
b41sh Mar 31, 2019
92096dd
fix `str_to_date` func compatible issues 9773 (#9819) (#9964)
b41sh Apr 1, 2019
e85f74c
expression: fix issue that `date_add` and `date_sub` is incompatible …
qw4990 Apr 1, 2019
7e4e11c
planner: do not eliminate group_concat in aggregate elimination (#996…
XuHuaiyu Apr 1, 2019
8e04634
config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurabl…
jackysp Apr 1, 2019
fe7aefa
planner/core: raise warning for unmatched join hint (#9914) (#9970)
alivxxx Apr 1, 2019
8d24954
*: start replacing logger with zap logger (#9279) (#9316)
zimulala Apr 1, 2019
43cf3c9
log,server: add contextual log util & test it in conn.go (#9548) (#9980)
lysu Apr 2, 2019
46d5d0e
session: use the uniform log format for session (#9517) (#9990)
jackysp Apr 2, 2019
59eb553
*: improve NULL count estimation for single column index (#9474) (#9979)
eurekaka Apr 2, 2019
9436866
table: handling the boundary value of the timestamp type's default va…
zimulala Apr 2, 2019
ebc9904
sessionctx: add time zone check (#9822) (#10000)
WangXiangUSTC Apr 2, 2019
85f7a3b
util: use uniform log format for util package (#9668) (#10014)
jackysp Apr 3, 2019
b7b8acf
ddl: using pingcap/log and unify the log format( #9659) (#9955)
crazycs520 Apr 3, 2019
9b4940b
store: use uniform log format for store package (#9664) (#10018)
jackysp Apr 3, 2019
e2a2cc4
types: fix incorrect time fraction parsing method (#10001)
WangXiangUSTC Apr 4, 2019
4cb1ba7
*: unify and normalize the format of the log in the pkg of server (#1…
zimulala Apr 4, 2019
1dba727
domain,owner: unify and normalize the format of the log (#9646)(#1001…
xiekeyi98 Apr 4, 2019
0896d15
plugin: add audit plugin extension point (#9136) (#9954)
lysu Apr 4, 2019
e87c6f1
executor: replace logger with zap logger (#9521) (#10043)
alivxxx Apr 4, 2019
d8f04bd
planner: correct estimated row count for inner plan of index join (#1…
eurekaka Apr 4, 2019
c9d3b40
table: replace logger with zap logger (#9514) (#10046)
eurekaka Apr 4, 2019
ce3744a
executor: `kill tidb [session id]` can't stop executors and release r…
qw4990 Apr 4, 2019
0f97e0b
plan: push down constant filters over join properly (#9848) (#10049)
eurekaka Apr 8, 2019
e4461a6
*: fix the read-only check for the prepare/execute statement (#9723) …
jackysp Apr 8, 2019
011559c
*: refactor slow log format and parse slow query log to `SLOW_QUERY` …
crazycs520 Apr 9, 2019
6b6b321
planner: unify the log format(#9630) (#10078)
XuHuaiyu Apr 9, 2019
6ef4fe1
expression: using pingcap/log and unify the log format (#9507) (#10080)
winoros Apr 9, 2019
613fa43
*: use the unified log format for the remaining packages (#9743) (#10…
zimulala Apr 9, 2019
3d382f9
statistics: unify log format in package statistics (#10084)
qw4990 Apr 9, 2019
276699f
config: Stop server startup if an unrecognized option is found in a c…
xiekeyi98 Apr 10, 2019
9e59e86
executor: control Chunk size for TopN&Sort (#10086)
qw4990 Apr 10, 2019
e8df90f
session: adjust session log (#10088) (#10100)
xiekeyi98 Apr 10, 2019
bd9bec4
ddl: update a log (#10095) (#10112)
zimulala Apr 10, 2019
9a2d2da
table, infoschema, executor: fix Charset/Collation shown in column(#1…
bb7133 Apr 10, 2019
998cbf6
expression: handle maketime unsigned hour overflow(#10074) (#10089)
AndrewDi Apr 11, 2019
e5cfa51
executor: control Chunk size for Selection&Projection (#10110)
qw4990 Apr 11, 2019
a4707e2
log: generate digest and log it in slow log (#9662) (#10093)
lysu Apr 11, 2019
abed7d3
CHANGELOG: add release notes for v2.1.8 (#10134)
winkyao Apr 13, 2019
356b0e5
executor: control Chunk size for StreamAgg&HashAgg (#9512) (#10133)
qw4990 Apr 15, 2019
33f1f79
server: change db-table/{table_partition_id} http api (#10026) (#10145)
crazycs520 Apr 16, 2019
8295bc0
planner/core: fix a bug that check update privilege use wrong `AsName…
bb7133 Apr 17, 2019
8bbcdd8
executor: control Chunk size for TableReader&IndexReader&IndexLookup …
qw4990 Apr 17, 2019
7bf69bd
planner: fix stack overflow caused by folding constant (#10189)
qw4990 Apr 18, 2019
a52c48b
executor: trace and control memory usage in DistSQL layer (#10003) (#…
qw4990 Apr 22, 2019
693c0a5
*: adapt `utf8mb4_0900_ai_ci` collation (#10183) (#10201)
lysu Apr 22, 2019
377c00d
executor: fix the wrong `order by pk desc` result and some corner cas…
winoros Apr 22, 2019
b4b9d65
*: add stats version in slow_query and slow log. (#10082) (#10220)
crazycs520 Apr 22, 2019
7d9e25d
executor, util: fix wrong behavior of group_concat(distinct) (#10108)…
XuHuaiyu Apr 22, 2019
a5d9c80
show more information about cop tasks in slow log (#10236)
qw4990 Apr 23, 2019
4a13c71
executor: fix bad null error handling for insert statement when disab…
jackysp Apr 24, 2019
dd64171
executor: show memory consumption in slow query log (#10246)
qw4990 Apr 25, 2019
8e550cd
infoschema/slow_query: fix parser bug when sql contain # (#10271) (#1…
crazycs520 Apr 26, 2019
1138bd3
executor: use EncodeBytes in countOriginDistinct (#10225) (#10270)
XuHuaiyu Apr 26, 2019
b51f531
executor: fix csv parser (#9005) (#10269)
Apr 26, 2019
0f6621d
session: Adjust cop-tasks' information in slow log to let it can be p…
qw4990 Apr 29, 2019
a2e194e
executor: ignore overflow error when construct inner key (#10244) (#1…
alivxxx Apr 29, 2019
2dcf873
*: add more cop task and memory info to slow_query table (#10264) (#1…
crazycs520 Apr 30, 2019
1f69481
executor: fix IsPointGet judgment condition (#10278) (#10299)
tiancaiamao Apr 30, 2019
b144842
session: add the transaction commit time to slow log (#10294) (#10310)
jackysp Apr 30, 2019
ea07a98
doamin: fix GetSnapshotInfoSchema using current TS (#10309) (#10331)
zimulala Apr 30, 2019
c089bb9
planner/core: fix privilege check for update (#10281) (#10326)
tiancaiamao Apr 30, 2019
a61225c
cherry-pick: replace gofail with the new failpoint implementation (#1…
lonng May 5, 2019
9557708
log: change slow log time format to compatible with pt-query-digest (…
crazycs520 May 5, 2019
c5811af
expression: check timezone when encoding timestamp datum (#10303) (#1…
erjiaqing May 5, 2019
b915db4
chunk: change offset type to int64 (#10348) (#10353)
zz-jason May 5, 2019
15667ef
*: upgrade to go 1.12 (#10312)
mahjonp May 5, 2019
7eaea30
infoschema, domain, ddl: fix upper cased charset names (#10272) (#10354)
bb7133 May 5, 2019
c1cc84c
domain: fix updating the self schema version and update log (#10324) …
zimulala May 6, 2019
9773b7d
CHANGELOG: release notes for v2.1.9 (#10362)
winkyao May 7, 2019
0267472
expression: let `PushDownNot` does not change the argument (#10363) (…
alivxxx May 8, 2019
2766837
executor: should handle virtual columns when fetching duplicate rows …
jackysp May 9, 2019
1bc58f4
planner: fix wrong `DATE/DATETIME` comparison in `BETWEEN` function (…
erjiaqing May 10, 2019
d22ecd0
infoschema/slow_query: fix token too long (#10328) (#10412)
crazycs520 May 10, 2019
6cb7bd1
expression: addition between `datetime` and `interval` is not compati…
erjiaqing May 10, 2019
7370996
types: Fix checkMonthDay() to correctly handle leap year (#10342) (#1…
erjiaqing May 11, 2019
26d05fa
Support add datetime with real interval (#10347) (#10418)
erjiaqing May 11, 2019
71c8e1e
planner: fix wrong column calculation in ColumnPruning for LogicalUni…
erjiaqing May 11, 2019
570a315
server: only owner do bootstrap (#10029) (#10426)
crazycs520 May 13, 2019
89bf55d
expression: support ConstItem() for expression (#10004) (#10381)
lysu May 13, 2019
1a48fe8
fix desc is not compatible with MySQL(#10358) (#10425)
liuguangliang-11 May 13, 2019
7ad9b1a
expression: fix issue that `timestampadd` is not compatible with Mysq…
qw4990 May 13, 2019
2222ffa
planner/core,session: fix privilege check for update (8376) (#10439)
tiancaiamao May 13, 2019
524d6c6
executor: correct range calculation for CHAR column (#10124) (#10455)
zz-jason May 14, 2019
713ed0d
ddl: fix alter table share rowid bit problem (#9868) (#10436)
crazycs520 May 14, 2019
390cd19
planner: keep unfoldable exprs when pruning for ORDER BY items (#1006…
lysu May 14, 2019
5b887f0
ddl: prohibit modification decimal precision to avoid inconsistency p…
crazycs520 May 14, 2019
205418a
types: fix `time_format` is not compatible with MySQL (#9841) (#10474)
qw4990 May 15, 2019
08c4559
expression: check if period is valid in `period_add` (#10430)
qw4990 May 15, 2019
6a4e14c
fix invalid `YEAR` string is not compatible with Mysql (#10493)
qw4990 May 17, 2019
c612ce9
ddl: implement `ALTER DATABASE` to alter charset/collation (#10393) (…
bb7133 May 20, 2019
c42547f
infoschema: fix error in ParseSlowLog (#10526) (#10536)
crazycs520 May 20, 2019
d651e27
ddl: cancel add index when can not find partition and fix GetPartitio…
crazycs520 May 20, 2019
f7899de
ddl: fix a bug in AlterSchema job and add more tests (#10529) (#10539)
bb7133 May 20, 2019
cc0f1ce
executor: handle OOM panic which not be recovered now in distSQL laye…
qw4990 May 20, 2019
329afda
ddl: validate table info before doing ddl job to avoid load infoschem…
crazycs520 May 20, 2019
a84a1ee
expression: fix issue that `period_diff` is not compatible with MySQL…
sourcelliu May 22, 2019
5b593d4
expression: fix issue that results of `unix_timestamp()-unix_timestam…
qw4990 May 22, 2019
aa43456
stats: merge non-overlapped feedback when update bucket count (#10476…
alivxxx May 22, 2019
c5dbb4c
expression: set correct return field type of builtin CONVERT() (#9305…
bb7133 May 23, 2019
b02831d
planner/core,binloginfo: add a projection to fix 'delete from join' s…
tiancaiamao May 26, 2019
2086519
planner: ignore the virtual column when collect statistics (#10623) (…
lonng May 29, 2019
201a89b
*: Add support "show open tables" (#10166) (#10374)
zimulala May 29, 2019
c9bbe58
planner: decrease the level of confusing log raised during plan build…
XuHuaiyu May 30, 2019
80bea5a
gc_worker: remove timezone name from the times that are saved in mysq…
XuHuaiyu May 30, 2019
5ea2830
executor: refine HashAgg.Close when unparallelExec (#10656)
tiancaiamao May 30, 2019
9c69389
ddl, session: update logs (#10546) (#10661)
zimulala May 31, 2019
babf93f
executor: reset groupChecker for StreamAggExec when Close (#10615) (#…
XuHuaiyu May 31, 2019
c0cb290
executor: fix show create table for partitioned table (#10690)
tiancaiamao Jun 4, 2019
02526b6
*: fix bug when unsigned pk meets feedback ranges (#10307)
winoros Jun 4, 2019
54d8e85
*: fix bug when unsigned histogram meets signed ranges in feedback (#…
alivxxx Jun 4, 2019
4e45485
types: extract month support 0 (#10116) (#10702)
qw4990 Jun 4, 2019
9b32847
expression: fix `cast(-num as datetime)` to return null instead of er…
qw4990 Jun 4, 2019
92cbfdc
expression: check corCol in DisableParseJSONFlag4Expr (#10224) (#10694)
XuHuaiyu Jun 4, 2019
97b306b
expression: fix uuid generate duplicate value with multi-node (#10590…
lysu Jun 5, 2019
10f909d
planner: `ByItem` should filter `NULL` out (#10488) (#10724)
winoros Jun 5, 2019
e974759
ticlient: set max send/recv msg size match tikv's config (#10706) (#1…
lysu Jun 6, 2019
d07bdb2
type: fix float over flow when converting a decimal to a float and th…
qw4990 Jun 6, 2019
011caea
types: fix converting decimal to datetime and timestamp (#9899) (#10734)
qw4990 Jun 6, 2019
8a795d2
expression: fix issue that `monthname` is not compatible with Mysql (…
qw4990 Jun 6, 2019
761228d
ddl: fix alter table charset bug and compatibility (#9790) (#10714)
crazycs520 Jun 6, 2019
480bd62
expression: fix issue that function `dayname` is incompatible with My…
qw4990 Jun 6, 2019
1602766
executor: execute some statement (`create user` `grant` etc) would co…
tiancaiamao Jun 6, 2019
d7129e2
ddl: fix alter table charset bug that change blob column type to text…
crazycs520 Jun 10, 2019
8cdccca
stats: adjust datum type when using the index query feedback (#10614)…
alivxxx Jun 11, 2019
d3d2247
infoschema/slow_query: fix shallow copy problem (#10696) (#10776)
crazycs520 Jun 12, 2019
7ec499c
mocktikv: fix mocktikv kv scan bug (#10652) (#10782)
crazycs520 Jun 12, 2019
0174d02
go.mod: update parser (#10600) (#10780)
crazycs520 Jun 12, 2019
c16db9d
ddl, table: allow using SHARD_ROW_ID_BITS with auto_incremental colum…
bb7133 Jun 13, 2019
5f52742
ddl: make the SyncerSessionTTL smaller (#10371) (#10789)
zimulala Jun 13, 2019
f185720
executor: fix the issue that `pb` memory cannot be released quickly (…
qw4990 Jun 19, 2019
daa2a08
domain: add a config to control updating stats (#10772)
alivxxx Jun 19, 2019
73ef6f5
ddl: add table option pre_split_regions for pre-split region when cre…
crazycs520 Jun 19, 2019
97ebef8
*: add split index region syntax (#10203) (#10865)
crazycs520 Jun 19, 2019
3765b91
*: split index region with lower upper syntax (#10409) (#10873)
crazycs520 Jun 20, 2019
f3bcb2e
CHANGELOG: add release notes for v2.1.12, v2.1.11 and v2.1.10 (#10664)
winkyao Jun 20, 2019
6d5f8f9
go.mod: correct the parser dependency, and add tidy check (#10878)
winkyao Jun 20, 2019
dc4f2f1
executor,server: re-implement the `kill` statement by checking the `N…
tiancaiamao Jun 20, 2019
7b8e174
*: add_date can return mysql.Time (#9830) (#10718)
winoros Jun 20, 2019
1b320a1
planner: fix wrong selectivity for inner selection in index join (#10…
eurekaka Jun 20, 2019
380049e
*: add split table syntax to split table region (#10553) (#10761) (#1…
crazycs520 Jun 20, 2019
1b8b343
planner: refine range builder when meet `unsigned_int_col <cmp> -int_…
XuHuaiyu Jun 20, 2019
e2f06ae
*: fix `Command` and `Time` in `show processlist` (#7844) (#10889)
SunRunAway Jun 20, 2019
1150f85
*: fix `Command` and `Time` in `show processlist` (#7844) (#10889)
SunRunAway Jun 20, 2019
6259567
*: fix `Command` and `Time` in `show processlist` (#7844) (#10889)
SunRunAway Jun 20, 2019
708e27c
*: fix `Command` and `Time` in `show processlist` (#7844) (#10889)
SunRunAway Jun 20, 2019
c73c8ef
*: fix `Command` and `Time` in `show processlist` (#7844) (#10889)
SunRunAway Jun 20, 2019
6b5b1a6
*: rename and add tidb_wait_split_region_timeout session variable to …
crazycs520 Jun 20, 2019
c30c923
CHANGELOG: add release notes for v2.1.13 (#10912)
winkyao Jun 23, 2019
42eced8
*: add rollback for load data statement (#9444) (#10862)
jackysp Jun 24, 2019
0db535a
*: let baseFuncDesc.typeInfer return error instead of panic(#1… (#10911)
XuHuaiyu Jun 26, 2019
7214234
*: Add support for MAX_EXECUTION_TIME. (#10541) (#10940)
tiancaiamao Jun 26, 2019
daea7cb
*: add a column describing memory usage for table information_schema …
SunRunAway Jun 27, 2019
b65f81f
distsql: clean the memory usage of MemTracker when a query end… (#108…
SunRunAway Jun 28, 2019
8d757ee
meta: make auto increment id can be adjust. (#10978) (#10997)
Jul 1, 2019
db151cc
session,parser: make MAX_EXECUTION_TIME sql hint and global variable …
tiancaiamao Jul 1, 2019
d8defc5
*: fix 'db' and 'Info' column of 'show processlist' (#10985) (#11000)
wshwsh12 Jul 1, 2019
2a0d4ce
planner: fix a corner case in column pruning rule (#10974) (#11019)
bb7133 Jul 2, 2019
6d90e81
*: fix oom action cancel bug (#10993) (#11016)
crazycs520 Jul 2, 2019
308488c
planner: enable function `any_value` in aggregation if `ONLY_F… (#10994)
XuHuaiyu Jul 3, 2019
c9a7dba
executor: disable trace statement (#11039)
tiancaiamao Jul 3, 2019
3affa57
expression: deep copy the string when setting user variable fr… (#11043)
zz-jason Jul 3, 2019
9ddab59
store/tikv: Make maxTxnTimeUse a configurable value (#10480)
qw4990 Jul 3, 2019
29f559a
*: add a blacklist to disallow pushing down specific expressions (#10…
XuHuaiyu Jul 3, 2019
842acd8
ddl: Remove expired keys on PD (#10406) (#11023)
zimulala Jul 4, 2019
383e82b
session: don't change the DDL lease when doing bootstrap (#10908) (#1…
zimulala Jul 5, 2019
dd12ba1
cmd: move ddltest from tidb-test (#11117)
zimulala Jul 9, 2019
f94f926
executor, infoschema: fix display of default CURRENT_TIMESTAMP… (#11087)
bb7133 Jul 9, 2019
b4d23ae
metrics: add comments for metrics ranges (#10279) (#11144)
jackysp Jul 9, 2019
e3914bf
ddl: allow more charset/collation modifications for database/t… (#11085)
bb7133 Jul 9, 2019
9b1b323
CHANGELOG: add release notes for v2.1.14 (#11075)
winkyao Jul 10, 2019
79eba3c
executor: fix a bug for 'int column <cmp> non-int constant' (#… (#11191)
wshwsh12 Jul 11, 2019
7cdce5b
expression: fix data race of rand function (#11168) (#11170)
alivxxx Jul 11, 2019
65a1531
ddl: scatter the regions of table when creating them (#10980) (#11213)
jackysp Jul 12, 2019
c011c3e
executor: fix bug of point get when meet null values (#11219) (#11227)
alivxxx Jul 12, 2019
aeed234
plugin: support dynamic enable/disable plugins(#11122)(#10923)(#10506…
lysu Jul 15, 2019
958257b
planner: disable projection elimination for select plan of update (#1…
eurekaka Jul 15, 2019
7aad2e8
*: add show table regions syntax (#8719) (#10612) (#11238)
crazycs520 Jul 15, 2019
3e197e1
ddl: fix the issue that the length of the index is 0. (#11045) (#11215)
zimulala Jul 15, 2019
420c42f
expression: function INSERT should return NULL if any argument… (#11249)
SunRunAway Jul 15, 2019
32bfecb
ddl: do not split index when creating table (#11183) (#11233)
jackysp Jul 15, 2019
044e793
fix microseconds behaviour in DATE_ADD() (#11280) (#11289)
wshwsh12 Jul 17, 2019
89032d7
types: fix delete error when convert string to float or int (#… (#11279)
sre-bot Jul 17, 2019
6626b49
planner: build anti semi join for `NOT EXISTS` (#7842) (#11291)
eurekaka Jul 18, 2019
dfa58ab
*: update parser reference for go.mod and go.sum (#11306)
eurekaka Jul 18, 2019
9a76296
parser,ddl: parse and ignore 'PARTITION BY LIST ..." (#11236)
tiancaiamao Jul 18, 2019
a22a091
metrics: add missing TiKVTxnCmdCounter (#11292) (#11315)
sre-bot Jul 18, 2019
8ac14da
http: fix scatter table (#11281) (#11299)
sre-bot Jul 18, 2019
feee55c
plugin: add "exec start-time" to GeneralEvent (#11293) (#11321)
sre-bot Jul 18, 2019
2fe5636
expression: fix getIntervalFromDecimal in DATE_ADD() (#11297) (#11326)
wshwsh12 Jul 18, 2019
7db2a1d
ddl: refine error messages in unsupported column options #11065 (#11331)
tangenta Jul 22, 2019
03fccbe
expression, types: fix Mod(%), Multiple(*), Minus(-) operators… (#11353)
SunRunAway Jul 22, 2019
b978528
expression: let `testEvaluatorSuite` run serially to avoid aff… (#11367)
qw4990 Jul 23, 2019
0f0d8b4
CONVERT_TZ should return NULL if its arguments are invalid. (#… (#11357)
SunRunAway Jul 23, 2019
d8560a9
CHANGELOG: add release notes for v2.1.15 (#11345)
winkyao Jul 23, 2019
995b363
planner: fix bugs related to TIDB_INLJ hint (#11253) (#11361)
sre-bot Jul 23, 2019
81891c5
executor: fix autoid doesn't handle float, double type and tin… (#11389)
lzmhhh123 Jul 23, 2019
ce2a7e9
executor, expression: fix current_timestamp/now not consistent… (#11392)
cfzjywxk Jul 23, 2019
136e334
planner: correct the generation of the field name (#11324) (#11381)
winoros Jul 24, 2019
5a5d3d2
fix a coding mistake (#11401)
sre-bot Jul 24, 2019
7e2586e
*: add succ filed to slow log and fix shallow copy problem whe… (#11421)
crazycs520 Jul 25, 2019
0df09f6
server: adjust the result of curl * (#9104) (#11432)
bb7133 Jul 25, 2019
5dcde12
fix bug of convert json to float
H-ZeX Jul 22, 2019
e0c8965
fix bug of convert json to float
H-ZeX Jul 22, 2019
f57b5ae
expression: add a integration
H-ZeX Jul 25, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ y.output
profile.coverprofile
explain_test
cmd/explaintest/explain-test.out
cmd/explaintest/explaintest_tidb-server
_tools/
*.fail.go
tools/bin/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: go
go_import_path: github.com/pingcap/tidb

go:
- "1.11"
- "1.12"

env:
- TRAVIS_COVERAGE=0
Expand Down
454 changes: 453 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Builder image
FROM golang:1.10.1-alpine as builder
FROM golang:1.12-alpine as builder

RUN apk add --no-cache \
wget \
make \
git
git \
gcc \
musl-dev

RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64 \
&& chmod +x /usr/local/bin/dumb-init

COPY . /go/src/github.com/pingcap/tidb

Expand All @@ -12,13 +18,13 @@ WORKDIR /go/src/github.com/pingcap/tidb/
RUN make

# Executable image
FROM scratch
FROM alpine

COPY --from=builder /go/src/github.com/pingcap/tidb/bin/tidb-server /tidb-server
COPY --from=builder /usr/local/bin/dumb-init /usr/local/bin/dumb-init

WORKDIR /

EXPOSE 4000

ENTRYPOINT ["/tidb-server"]

ENTRYPOINT ["/usr/local/bin/dumb-init", "/tidb-server"]