Commit Graph

8026 Commits

Author SHA1 Message Date
0b35f481c0 store/tikv: add a context in BackOffer to support cancel operation (#1988)
* store/tikv: add a context in BackOffer to support cancel operation
2016-11-17 14:05:21 +08:00
fdb74960a4 add a new expression type: Correlated Column. (#1973) 2016-11-17 12:42:12 +08:00
afc501273d domain: concurrently fetch schema tables. (#1996)
To speed up loading information schema with a lot of tables.
2016-11-17 11:00:42 +08:00
94b5d1001f parser: handle MySQL-specific-code comment syntax in parser (#2018)
* parser: handle MySQL-specific-code comment syntax in parser

fix issue 2017
2016-11-17 10:47:21 +08:00
01dde4433a ddl: tiny clean up (#2011) 2016-11-15 17:05:17 +08:00
bb70acda13 ddl: rename batchSize to batchCnt (#2005) 2016-11-15 16:05:25 +08:00
7ddb150920 executor: add more statements for metric of statement counter (#1967) 2016-11-15 14:34:15 +08:00
a636a7d446 clean useless code. (#1998) 2016-11-15 14:13:36 +08:00
75b21addd0 Merge branch 'master' into hanfei/clean 2016-11-15 14:03:35 +08:00
d0cb5d9187 *: truncate data (#2002) 2016-11-15 14:02:20 +08:00
b7f0ce5a7b Merge branch 'master' into hanfei/clean 2016-11-15 13:36:44 +08:00
f4ae98682e ddl: minor clean up (#2003) 2016-11-15 13:36:13 +08:00
5d24da38b6 Merge branch 'master' into hanfei/clean 2016-11-15 13:21:22 +08:00
de1b558039 Merge branch 'master' into ngaut/minor-clean-up 2016-11-15 13:14:32 +08:00
5a1d8d4b2c ddl: minor clean up 2016-11-15 13:06:27 +08:00
165b8b1e3e Makefile: make race test parallel on package level (#1999) 2016-11-15 12:59:30 +08:00
d283d05b1c Merge branch 'master' into tiancaiamao/speed-up-ci 2016-11-15 12:51:19 +08:00
2a07230c46 Merge branch 'master' into hanfei/clean 2016-11-15 12:47:25 +08:00
6c9698e7fa infoschema: do not reuse auto ID allocator for truncate table. (#2000)
For truncate table, old table ID is different than new table ID, the same allocator will alloc ID
for different table ID, can not ensure uniqueness.
2016-11-15 11:19:27 +08:00
421ceeb8fa *: make golint happy. 2016-11-15 11:12:24 +08:00
cbdb3fd507 infoschema: fix ci 2016-11-15 10:58:30 +08:00
9dbf0c312b infoschema: do not reuse auto ID allocator for truncate table.
For truncate table, old table ID is different than new table ID, the same allocator will alloc ID
for different table ID, can not ensure uniqueness.
2016-11-15 10:39:32 +08:00
217aa8907d Makefile: make race test parallel on package level 2016-11-14 20:05:13 +08:00
70846fb43c clean useless code. 2016-11-14 18:36:57 +08:00
5b21b001da executor: when we fetch 100000 records from index scan, log it. (#1990) 2016-11-14 13:16:22 +08:00
3b8bf2135c parser: tiny clean up (#1992)
rename scanner_test.go to lexer_test.go
make the code more robust when unicode.ReplacementChar appears
2016-11-13 15:20:01 +08:00
2543f4b17c parser: handle scan identifier meets \0 (#1994)
this is a vague corner case
it should be illegal according to mysql document
but mysql implementation seems accept it
so we follow implementation
trim \0 in conn packet, report error when parser meet \0
2016-11-12 09:30:12 +08:00
ab8795de24 cmd: add benchmark tool 'benchdb' (#1920)
'benchdb' is used to make testing basic table performance easier.
Also move 'benchkv' to 'cmd' folder.
2016-11-11 12:27:45 +08:00
94251e150d store: clean up unnecessary debug logs. (#1991) 2016-11-10 18:23:34 +08:00
de1714845d plan: adjust index cost calculation algorithm. (#1975) 2016-11-10 15:56:22 +08:00
cbf024e8f7 *: clean code. (#1987) 2016-11-10 15:38:22 +08:00
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
2776455566 store/tikv: add txn size metrics. (#1982) 2016-11-09 19:40:23 +08:00
5d3bb33afd util/types: fix decimal conversion. (#1979)
When datum converts to decimal, we should check the Flen and Decimal of
the given field type, return max value for overflow and round the value
for truncation.
2016-11-09 16:53:30 +08:00
fa9cb730a9 sessionctx/binloginfo: disable grpc tracing (#1981) 2016-11-09 11:19:16 +08:00
9946941089 plan: add the missing filer conditions (#1977) 2016-11-09 10:12:37 +08:00
b0dd87f765 Merge pull request #1971 from pingcap/shuning/fix-metrics-push
tidb-server:fix metrics push way
2016-11-08 10:17:17 +00:00
5e651283c4 Merge branch 'master' into shuning/fix-metrics-push 2016-11-08 17:11:44 +08:00
c12a53fd9e plan: fix a panic bug when involved join and order by. (#1963) 2016-11-08 16:11:10 +08:00
f40b9f284c plan: consider multiple in expressions when calculating range. (#1961) 2016-11-08 15:44:29 +08:00
1056c56df1 ddl: support modify column (#1930)
* ddl: support modify column
2016-11-08 15:20:41 +08:00
2e8941aa4d plan: adjust cost factor to make right agg plan. (#1962) 2016-11-08 14:18:44 +08:00
eca8474820 ddl: Clean up (#1970)
* ddl: remove unnecessary code

* ddl: improve the test coverage and clean up tests
2016-11-08 12:39:05 +08:00
dd331e8eac add pronounce guide in readme (#1965)
* add pronounce guide in readme

* address comments
2016-11-08 11:41:32 +08:00
af514c8bda support pushing if down to kv (#1947) 2016-11-07 22:26:22 +08:00
b5cd34aea7 executor: fix show create table null timestamp. (#1968)
Without the extra 'NULL', the create table statement would fail to execute.
2016-11-07 21:17:59 +08:00
6dd4571a9a plan: handle type convertion when building index range. (#1964) 2016-11-07 20:32:09 +08:00
1eecf8e718 parser: support drop view if exists (#1969)
mydumper executes this statement before create a table,
since we don't support view, we can simply return success.
2016-11-07 19:56:03 +08:00
1417acad86 tidb-server:fix metrics push way 2016-11-07 19:34:56 +08:00
5044a8782f plan: recollect gby cols after retriving index. (#1966)
* plan: recollect gby cols after retrieving index.
2016-11-07 18:52:41 +08:00