491f58d7d8
executor: track memory usage for merge join ( #6172 )
2018-03-31 17:17:23 +08:00
67f920a650
executor: Improve the aesthetics of code review ( #6137 )
2018-03-31 17:06:19 +08:00
1b3440cc85
types: fix unsigned decimal ( #6104 )
2018-03-31 16:53:14 +08:00
8e431aab3f
executor,store: make leak test more stable ( #6196 )
2018-03-30 20:30:29 +08:00
9c4cef8e04
executor: remove unused codes ( #6193 )
2018-03-30 19:38:07 +08:00
83ea321e5c
plan: statsInfo.count for LogicalTableDual should be its RowCount ( #6190 )
2018-03-30 16:20:01 +08:00
f89f48b799
executor: remove Next function of IndexReaderExecutor ( #6165 )
2018-03-30 14:20:07 +08:00
e080c37702
plan: fix a bug when applying top-n push down rule. ( #6187 )
2018-03-30 13:27:57 +08:00
6c403eef8f
binloginfo: check grpc error message before return critical error. ( #6179 )
2018-03-30 13:08:02 +08:00
564e8896df
executor: track memory usage of index lookup join ( #6169 )
2018-03-30 10:48:11 +08:00
0d785473d2
executor, plan: convert Limit to TableDual when meet limit 0 ( #6185 )
2018-03-29 21:56:35 +08:00
87405c8408
server: fix a goroutine leak in unit test ( #6183 )
2018-03-29 19:49:34 +08:00
c398110154
*: improve performance of DecodeBytes in DecodeOneToChunk ( #6135 )
2018-03-29 19:11:44 +08:00
4a42252baf
improve ( #6176 )
2018-03-29 18:36:32 +08:00
4f991afb10
*: session context passed to newBaseBuiltinFuncWithTp should not be nil ( #6178 )
2018-03-29 16:12:36 +08:00
df6f955fe8
stats: update the histogram using feedback ( #6086 )
2018-03-29 13:29:04 +08:00
2264ce4999
util/stringutil: Improve the aesthetics of code review ( #6177 )
2018-03-29 13:08:37 +08:00
5309efe748
executor: make the message of ErrDataTooLong consistent with MySQL ( #6166 )
2018-03-29 11:27:16 +08:00
9ede7e56c8
test_util: use real uuid in mocktikv. ( #6174 )
2018-03-29 10:19:57 +08:00
8941ba91a1
executor: Remove Next() in IndexLookUpExecutor ( #6145 )
2018-03-28 19:52:47 +08:00
951bc41566
server: use scientific notation to format float value. ( #6160 )
2018-03-28 19:45:25 +08:00
936d7b7d29
executor, memory: detach from parent when executor is closed ( #6148 )
2018-03-28 15:52:34 +08:00
9ca8689582
types: handle truncate error in BinaryLiteral.ToInt ( #6163 )
...
Truncate error make be treated as warning, we should handle it in `BinaryLiteral.ToInt`.
And compare BinaryLiteral directly instead of converting to uint64 because that the compare function doesn't have statement context.
2018-03-28 14:44:53 +08:00
c86cd5970c
ddl:support check invalid charset when create database ( #6152 )
2018-03-28 10:50:07 +08:00
d8a1fdf544
*: Update README.md ( #6167 )
2018-03-28 09:42:31 +08:00
0dd2ee5208
*: Support "show grants for current_user();" ( #5697 )
2018-03-28 00:45:59 +08:00
959c319585
*: Support AlterTable with Algorithm option and fix a few things reported by goword ( #6141 )
...
Improve the compatibility with MySQL.
2018-03-27 21:39:29 +08:00
defccc1acd
executor: fix admin check table bug when the column is nil and has a default value ( #6142 )
2018-03-27 17:35:21 +08:00
c0697f5cb0
kvencoder: fix data race on plan.PreparedPlanCacheCapacity ( #6159 )
2018-03-27 16:48:25 +08:00
12cc2dbb20
parser,expression: decimal support for interval ( #6143 )
2018-03-27 03:08:56 -05:00
7aaa3dd76d
vendor: update tipb package ( #6158 )
2018-03-27 15:54:49 +08:00
42a25134d5
vendor: update tipb package ( #6155 )
2018-03-27 13:27:31 +08:00
6cb61dda15
expression: fix type infer for binary literal ( #6151 )
2018-03-27 11:30:00 +08:00
126d5f8d5c
parser: Fix a bug in CreateView ( #6154 )
2018-03-27 10:37:22 +08:00
e77fb50922
parser: fix a bug lexer.Reset() doesn't reset to the initial state ( #6153 )
2018-03-27 08:05:44 +08:00
faeaccc35e
executor:Improve the aesthetics of code review ( #6138 )
2018-03-26 22:19:49 +08:00
aa04cb6488
executor: delete the obsolete Next() function in TableReaderExecutor ( #6146 )
2018-03-26 21:50:32 +08:00
96a51da57c
* Add conn ID to the transaction log ( #6115 )
2018-03-26 20:13:07 +08:00
a3e4a92f47
stats: control collection of feedback ( #6085 )
2018-03-26 19:03:21 +08:00
adfec7a822
executor: push some flags down to coprocessor ( #6149 )
2018-03-26 17:46:16 +08:00
3ff51fb7e9
store/tikv: fix a potential goroutine leak problem in copIterator ( #6140 )
...
copIterator.Close() closes finished channel and wait for worker goroutines to
exit, worker goroutine send response to channel but nobody receive from the
channel (copIterator already closed), so those goroutine leak and Close() function
hang forever.
Change the worker goroutine to check both response channel and finished channel.
2018-03-26 02:48:29 -05:00
9fe407f711
store/tikv/gcworker: add manual gc back for some kv api users ( #6123 )
...
* use fake gc_worker instead of bringing funcs out of gc_worker
* fix comments
2018-03-26 14:29:30 +08:00
4ac14515bd
store/tikv,mocktikv: tikv.Client.SendRequest API tiny refactor ( #6103 )
...
rename SendReq to SendRequest, add a timeout parameter,
and more elegant code for timeout API
2018-03-26 00:42:18 -05:00
63a816cc44
util/ranger: Improve the aesthetics of code review ( #6144 )
2018-03-25 23:55:06 -05:00
71267d35a8
store/tikv: fix CI for tikv_integration_test ( #6147 )
...
When -with-tikv flag is true, tikv_integration_test run with TiKV.
The tests are run one by one, and NewTestStore() will clear storage data first,
so each test will not make the storage dirty and disturb other tests.
But safepoint_test.go use a local timestamp oracle, it can't work with PD's timestamp,
cause its data not cleared, then the following TestScanMultipleRegions fail.
2018-03-25 22:28:14 -05:00
caeb5f6056
ddl: recover panic in add index workers ( #6132 )
2018-03-26 11:05:57 +08:00
b6b708aa43
fix syntax error on sql "set transaction isolation level serializable;" ( #6131 )
2018-03-24 11:59:30 +08:00
c50491b9ec
infoschema: fill the TABLE_ROWS field of information_schema.TABLES with the information from statistics. ( #6111 )
2018-03-23 19:53:11 +08:00
e469fab346
kvencoder: add GetSystemVariable and SetSystemVariable to KvEncoder, to get/set system variable ( #6136 )
2018-03-23 17:44:59 +08:00
6ff87d649a
ddl, tables: remove useless NewIndexWithBuffer ( #6126 )
2018-03-23 15:42:29 +08:00