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
e0e5a5821b
executor: support creating user with no password. ( #1841 )
2016-10-18 20:12:53 +08:00
b02e357aa9
fix bugs when push logic ops and bit ops down ( #1838 )
2016-10-18 16:43:35 +08:00
6938f973cb
server: Change handshake error log level ( #1839 )
2016-10-18 14:41:58 +08:00
2df4a4f29b
types: returns data too long error ( #1837 )
...
* types: returns data too long error when inserting a string longer than field type length.
2016-10-18 14:12:06 +08:00
450b554c9f
store: support topn in localstore ( #1819 )
2016-10-18 13:58:09 +08:00
d99d1db295
coprocessor: reserve enough chan size. ( #1835 )
2016-10-18 13:39:17 +08:00
a12842e67a
store/tikv: add/update some logs. ( #1836 )
2016-10-18 12:51:40 +08:00
3d670c47b0
executor,table: remove LockKeys and Truncate method in Table interface. ( #1833 )
...
Those two method should not be defiend in Table, LockKeys should be implemented
In SelectLock executor, Truncate has changed to use DDL operation.
2016-10-18 00:35:45 +08:00
e1895e6f8c
store/tikv: handle new region metas inside StaleEpoch error ( #1820 )
2016-10-17 19:54:48 +08:00
efc96a73a6
*: Support set dist sql concurrency by set system variable ( #1795 )
2016-10-17 15:12:17 +08:00
6842efd281
plan: fix a bug when calculate range ( #1828 )
...
* plan: fix a bug when calculate range
2016-10-14 18:51:42 +08:00
1fbdb1b193
*: Tiny clean up ( #1826 )
...
* *: add error check and error trace
* server: rename MySql to MySQL
2016-10-14 18:11:57 +08:00
ff1c7b1f0a
table: check valid UTF8 value for UTF8 column ( #1818 )
...
We need to check if the input data is valid UTF8 string if the column charset is UTF8,
Otherwise, it may cause more serious error in the future, and hard to fix.
2016-10-14 16:00:02 +08:00
23edc3dfd3
Makefile: Filter out golint error about context.Context ( #1824 )
...
golint add a new rule that 'context.Context' should be the first parameter of a function.
But that refers to standard library package, we can ignore it.
2016-10-14 10:54:16 +08:00
c64b8938fd
[doc]: add Chinese doc reference ( #1821 )
...
* add Chinese doc reference
2016-10-13 19:17:10 +08:00
deeaf077d7
plan: fix a bug about doing aggregation plan. ( #1822 )
2016-10-13 17:14:25 +08:00
7d4508669f
store/tikv: add gc config metrics. ( #1814 )
2016-10-13 13:19:39 +08:00
95e49c03ea
push arithmetic operation down to kv ( #1817 )
2016-10-13 10:03:47 +08:00
2e00134963
vendor: update goleveldb/memdb tipb/go-binlog and kvproto packages ( #1812 )
2016-10-11 17:43:41 +08:00
8935bf90ec
executor: set time zone offset in tipb.SelectRequest. ( #1816 )
...
The time zone offset will be used by TiKV to compare timestamp type.
2016-10-11 17:13:45 +08:00
d73742cf3d
plan: make some editorial changes to the comments ( #1813 )
...
* plan: make some editorial changes to the comments
* plan: make some editorial changes to the comments
@shenli @coocood Please take a look. Thanks
* plan: incorporate comments
Change "the empty required property" to "an empty *requiredProperty"
* change the fomat
2016-10-11 16:25:14 +08:00
9b9c01100e
plan: support topn push down in plan phase. ( #1769 )
2016-10-11 15:17:00 +08:00
0956a65cbd
*: update tipb for time zone offset ( #1807 )
2016-10-11 11:08:33 +08:00