f9670ff66e
plan: change the way that we find column in group-by items in cbo phase. ( #1960 )
2016-11-07 15:23:27 +08:00
88a66a57ea
*: Improve test for push down. ( #1927 )
2016-11-07 11:42:05 +08:00
1b96db9a57
*: improve query metrics and query log. ( #1957 )
...
change largest query time bucket from 2 seconds to 1024 seconds.
2016-11-05 18:15:33 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
40ad2ba4cb
executor: Load data ignore default value is nil and add log ( #1953 )
...
* executor: load data ignore default value is nil and add log
2016-11-05 16:35:44 +08:00
0b43f77e40
util/types: fix convert Double ( #1955 )
...
When converting a string to double, the returned value should be parsed from valid part to the string
2016-11-05 16:27:21 +08:00
4a6b093dff
table/tables: fix panic ( #1952 )
...
fix panic
2016-11-05 10:04:42 +08:00
98c5d52d8d
Merge pull request #1931 from pingcap/huachaohuang/get-cluster-id
...
store/tikv: remove cluster ID
2016-11-04 21:42:03 +08:00
68c8f73070
store/tikv: address comment
2016-11-04 21:14:10 +08:00
9a02ffd116
store/tikv: address comment
2016-11-04 21:14:10 +08:00
1d90e0df5d
store/tikv: address comment
2016-11-04 21:14:10 +08:00
e1cb126155
store/tikv: remove cluster ID
2016-11-04 21:14:10 +08:00
4019a9eaf2
Makefile: fix
2016-11-04 21:14:10 +08:00
1a08ff7818
vendor: update pd-client and kvproto
2016-11-04 21:14:10 +08:00
2148dbab21
*: update the package of check ( #1949 )
2016-11-04 21:09:52 +08:00
a4d64c2b88
tidb: set one statement query string instead of multi-statement query string ( #1950 )
...
When user executing multi-statement query, we should set only one statement query.
2016-11-04 19:57:04 +08:00
1f1a60c02a
*: improve log ( #1944 )
...
Add logging for set system variable.
Add connection ID in log.
Adjust some log level.
Improve readability.
2016-11-04 17:11:10 +08:00
27f3470ace
Revert "makefile: Add the argument of "-check.v" in test" ( #1948 )
2016-11-04 16:46:17 +08:00
08766e12a5
makefile: add the argument of "-check.v" in test ( #1945 )
2016-11-04 15:43:52 +08:00
85c0954dc2
support builtin function from_unixtime ( #1929 )
2016-11-04 13:15:55 +08:00
92f156fd69
plan: pushdown predicates made by groupby item on a aggregation ( #1919 )
2016-11-04 12:08:47 +08:00
9d33d472ae
store/tikv: use RestrictedSQLExecutor to execute sql in GC worker. ( #1937 )
...
Internal SQL query should use RestrictedSQLExecutor.
2016-11-04 11:00:48 +08:00
3b491f11bc
ddl: Update error information and add tests ( #1941 )
2016-11-04 10:45:53 +08:00
5d1a069ada
executor: set scanConcurrency varialbe for distsql Executor on building. ( #1943 )
...
Prevent worker goroutines from reading session variable map, Fixes race.
2016-11-04 09:46:00 +08:00
bfc1ca679a
tidb: load and apply common global variables for the session ( #1942 )
...
Fixes a bug some global variables like 'sql_mode' not applied to session.
2016-11-03 22:01:15 +08:00
f96d743e51
plan: only use public index. ( #1935 )
...
* plan: only use public index, add case for ignore.
2016-11-03 15:46:00 +08:00
035666f231
plan: add cast function for PatternInExpr. ( #1932 )
2016-11-03 15:40:58 +08:00
693eada753
plan: fix cost calculate bug. ( #1933 )
...
* plan: fix cost calculate bug.
2016-11-03 12:34:34 +08:00
b4e3e58693
*: Clean up ( #1928 )
...
* ddl: remove useless code, add and update comments
2016-11-03 11:40:14 +08:00
c74c4f80fd
*: Fix bug in show create table ( #1924 )
...
Fix https://github.com/pingcap/tidb/issues/1918
2016-11-02 15:25:12 +08:00
e02ac65967
sessionctx/binloginfo: fix test. ( #1926 )
...
The commit binlog is written in background goroutine, we need to wait for some time to get it.
Sleeping 1ms may not long enough, so the test case occasionally fails.
2016-11-02 14:21:56 +08:00
3bcb4bedd8
executor: let union_scan executor use its own schema. ( #1925 )
2016-11-02 13:26:11 +08:00
e030cfa026
ddl: Batch backfilling index and column data ( #1916 )
2016-11-02 11:33:11 +08:00
8500a629de
plan: fix bug when outer join's condition is false ( #1923 )
2016-11-01 22:46:31 +08:00
3ad3c9226d
plan: push limit down to table source. ( #1922 )
2016-11-01 21:25:01 +08:00
d6f99cc912
plan: move projection elimination to physical optimizing phase. ( #1917 )
2016-11-01 19:57:19 +08:00
76f420595b
*:support aggregate function push cross outer join. ( #1899 )
2016-11-01 17:59:12 +08:00
154d7f0c87
plan: fix a panic bug. ( #1914 )
2016-11-01 14:38:14 +08:00
2e79d3f305
executor: Make show create database result the same with mysql ( #1915 )
2016-11-01 13:43:21 +08:00
5ee84a7a9a
*: support show create db ( #1911 )
2016-11-01 13:11:18 +08:00
a0cf16c092
parser: identifier may begin with digit ( #1887 )
...
* parser: identifier may begin with digit, fix issue 1878
2016-11-01 12:38:16 +08:00
915033e7a9
ddl: Record the start key of the batch job in delete keys ( #1888 )
2016-10-31 20:11:49 +08:00
bf9de5ccee
executor: avoid create new domain in test. ( #1910 )
...
A store should has only one domain, and it is already created when create a session.
we should not manually create domain.
2016-10-31 19:56:29 +08:00
a6144ad1e1
*: Support Show processlist ( #1907 )
2016-10-31 18:23:00 +08:00
04b3bc96d0
executor: show original identifier instead of lower case. ( #1909 )
...
Fixes issue https://github.com/pingcap/tidb/issues/1904
2016-10-31 17:57:22 +08:00
1e8ad66b1c
store/tikv: export DoGC method of GCWorker for testing purpose. ( #1902 )
...
So we can control when to trigger GC during performance test.
2016-10-31 16:44:38 +08:00
da8bc01114
sessionctx/binloginfo: write DDL binlog in the same way as DML binlog. ( #1898 )
...
Provide correct startTS and commitTS, and write rollback ddl binlog if transaction rollback.
2016-10-31 16:38:19 +08:00
d3279072b7
*: support explain aggregation query. ( #1901 )
2016-10-31 15:33:59 +08:00
fb47890320
ddl: pass go race ( #1903 )
2016-10-31 14:02:10 +08:00
1550e76e6c
executor: add comments in executor package. ( #1876 )
...
* executor: add comments in executor package.
2016-10-31 10:51:17 +08:00