82971c4779
plan: support aggregation push down. ( #1886 )
2016-10-31 01:17:21 +08:00
cd6c5bd4ab
infoschema: Add empty table REFERENTIAL_CONSTRAINTS ( #1897 )
2016-10-31 00:25:02 +08:00
3f2f6306bc
ddl: remove useless test and adjust test position ( #1891 )
2016-10-30 22:53:46 +08:00
727f9e37d2
sessionctx/variable: fix default tx_read_only variable value. ( #1892 )
...
MySQL show this variable as "ON"/"OFF" in documentation, but the real value returned is "1"/“0”.
2016-10-29 10:15:30 +08:00
96a444a562
bin: add flag to print version information ( #1896 )
2016-10-29 08:44:29 +08:00
0510f5cd66
Merge pull request #1894 from pingcap/hanfei/product
...
*: add a flag to restrict cartesian product.
2016-10-28 19:08:01 +08:00
3fc9ae6bf5
remove useless check
2016-10-28 19:02:23 +08:00
1fad7632f5
fix ci
2016-10-28 18:49:46 +08:00
1481e85129
*: add a flag to restrict cartesian product.
2016-10-28 18:38:27 +08:00
29fd1250ea
drop foreign key that does not exist error ( #1874 )
2016-10-28 13:25:32 +08:00
3f5488a55b
ddl: increase reorg delete limit. ( #1882 )
2016-10-28 10:23:05 +08:00
4e70a77157
fix outdated link in QUICKSTART. ( #1885 )
2016-10-28 10:01:31 +08:00
d1866ee111
ddl: fix metrics bug ( #1889 )
2016-10-27 22:53:05 +08:00
f8c1f455bb
Remove go 1.6 from CI ( #1884 )
2016-10-27 18:25:16 +08:00
5811f7104b
plan: fix a cost calculation bug. ( #1883 )
2016-10-27 17:54:19 +08:00
bb24031672
mysql: Fix server version number format ( #1879 )
2016-10-27 16:47:46 +08:00
d38cc3f534
support pushing bitwise operators and LogicXor down to kv ( #1846 )
2016-10-27 15:09:30 +08:00
f93029c458
util/types: truncate string when flen is 0 ( #1880 )
...
unspecified length is -1, we should 0 length too.
2016-10-26 21:52:25 +08:00
3738794502
util/types, table: truncate string by rune count, remove UTF8 validation ( #1877 )
...
Column length defined in create table should limits the rune count rather than bytes.
And MySQL doesn't return error for inserting invalid UTF8 string, we should not do it.
2016-10-26 20:34:35 +08:00
b6a2f2c916
ddl: Add a time limit to check owner ( #1875 )
2016-10-26 16:25:49 +08:00
b80ba788ca
ddl: Add dbInfo and tblInfo in some operations of DDL ( #1870 )
2016-10-26 16:10:43 +08:00
04b97b68ba
parser: Support show index in tbl ( #1873 )
...
Support show index/indexes in tbl.
Fix: https://github.com/pingcap/tidb/issues/1849
2016-10-26 14:22:28 +08:00
1baeb5c7ed
support pushing coalesce and casewhen down to kv ( #1856 )
2016-10-26 13:15:07 +08:00
0eee7c8522
store/tikv: add disableGC flag. ( #1872 )
...
* store/tikv: add disableGC flag.
2016-10-25 20:57:25 +08:00
6ee738f3a3
distsql/xeval: split eval.go into some small files ( #1865 )
...
* fix a bug when 'WHER' contains bit operationsE
* spilt distsql/xeval/eval.go into some small files
2016-10-25 19:27:06 +08:00
c0c9729300
parser: fix bug hexadecimal parsed as string ( #1871 )
...
x'13181C76734725455A' should be parsed as a hexLit, but it's parsed as a string
2016-10-25 14:24:59 +08:00
ba4d6bae37
*: support drop user. ( #1854 )
2016-10-24 21:01:02 +08:00
3db42327ca
infoschema: checks if DBInfo read from Meta is nil. ( #1868 )
...
Fix panic.
2016-10-24 19:23:05 +08:00
5ef6faf339
Merge pull request #1867 from pingcap/c4pt0r-patch-1
...
readme: use new logo
2016-10-24 17:31:10 +08:00
dfe81d35a1
readme: use new logo
2016-10-24 17:27:08 +08:00
f6d9c17e2f
ddl: Pass race ( #1866 )
2016-10-24 17:01:04 +08:00
dd831660fa
main: update schema lease argument to duration format. ( #1864 )
...
Allows use to use a lease duration less than a second.
2016-10-24 15:18:07 +08:00
d04dea2c57
*: use schema diff to reduce memory allocation ( #1858 )
...
When schema version has changed, we don't need to reload all schemas, only
modified table need to be reloaded, this will reduce the pressure on Go garbage collector.
Also removed used map in *inforSchema.
2016-10-24 15:17:44 +08:00
64e181286a
ddl: Add table infomation and schema version to history job ( #1857 )
2016-10-24 14:58:17 +08:00
75f0eb98cb
tiny refactor: normalize functions' names ( #1863 )
2016-10-24 11:44:05 +08:00
594e1d7b9f
vendor: update pd-client
2016-10-24 10:58:11 +08:00
2cb3709a0e
Merge branch 'master' into huachaohuang/update-pd-client
2016-10-24 10:17:12 +08:00
dacb3929ae
plan: create read only object once and only once ( #1861 )
2016-10-23 22:20:24 +08:00
f5a2ab458f
ddl: checking error in tests ( #1860 )
2016-10-23 17:55:50 +08:00
aec737e4da
charset: fix typo ( #1859 )
2016-10-23 17:38:18 +08:00
5e9d4c27ec
Merge branch 'master' of github.com:pingcap/tidb
2016-10-23 16:49:20 +08:00
bbd2aa5a70
vendor: update pd-client
2016-10-23 16:48:10 +08:00
037dc11f43
ddl: Cancel DDL job when the key is exist ( #1844 )
2016-10-22 20:52:45 +08:00
9f615fc5dc
table: change Column type to alias of ColumnInfo ( #1855 )
...
So we can use a ColumnInfo directly, without coping, reduce memory usage.
2016-10-20 21:48:08 +08:00
0d49936ef9
expression: fix a bug when checking whether two aggregation functions are same. ( #1852 )
2016-10-20 19:53:09 +08:00
406c5c4094
*: support common aggregation functions elimination. ( #1843 )
2016-10-20 15:58:34 +08:00
662cb41a1f
ddl: write DDL binlog when DDL is done. ( #1850 )
...
Previous implementation write DDL binlog as early as when job is added to the queue,
but DDL may be canceled, we should not sync the ddl at that time, there would be a long
time waiting for the DDL to be done.
After this commit, DDL binlog is written right before the DDL job is done, so we don't need to wait.
Also expose a 'GetAllHistoryJobs' method in meta which will be used later.
2016-10-20 14:03:33 +08:00
6c3bae93a7
printer: Remove 'the' ( #1848 )
2016-10-19 20:10:39 +08:00
f4c5511640
*: Update the owner timeout of background job and pass golint ( #1840 )
2016-10-19 14:54:13 +08:00
b1d41ebbca
distsql: fix goroutine leak caused huge memory footprint ( #1834 )
2016-10-19 11:39:45 +08:00