5f468489ab
util: add kvencoder package, make transfer sql to key-values be possible. ( #5236 )
2017-11-29 18:01:31 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
7d2804e43c
*: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp ( #4732 )
2017-10-10 23:38:53 -05:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
913037ebb9
tablecodec,mysql, util: mysql TypeDuration Fsp ( #3499 )
...
Fixed RoundError issue #3471
Bug Cause:
1. when deserialize mysqlDuration, the Fsp is setted with 0 instead of the Fsp from column information.
2. the default decimal for column with TypeDuration is 0.
2017-06-20 11:10:40 +08:00
0d6490efc4
*: interpret timestamp datum based on session's time_zone ( #3167 )
...
1. FromPackedUint don't consider time_zone any more, moved to Unflatten
2. use session's time_zone instead of time.Local
3. add a time.Location parameter to some Encode/Decode functions in tablecodec
2017-05-08 11:58:55 +08:00
1685dcb1e0
tablecodec: correct comments mistake ( #3122 )
2017-04-24 10:08:15 +08:00
61be27d4ac
*: Update the return value type of CutRow and CutIndexKey to [][]byte ( #2978 )
2017-04-01 18:53:52 +08:00
e791b9a3be
http: get region's info ( #2774 )
2017-03-17 12:08:53 +08:00
74a1c9935d
*: add StatementContext argument to functions. ( #2157 )
...
Add StatementContext argument to more functions where it is needed.
2016-12-02 23:28:11 +08:00
b19cc75a94
mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. ( #2082 )
...
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +08:00
e31b281ee7
*: use new MyDecimal implementation. ( #1611 )
2016-08-22 20:24:39 +08:00
39e4d52bd7
*: support index where and aggregate push down. ( #1567 )
2016-08-15 20:03:52 +08:00
cad94acb54
Store row data in single kv pair ( #1347 )
2016-06-28 11:15:09 +08:00
02aa7874d0
tablecodec: Add EncodeRow and DecodeRow ( #1341 )
...
Add EncodeRow and DecodeRow
2016-06-23 15:39:49 +08:00
a9aad12ba8
*: move tablecodec package out of xapi. ( #1335 )
2016-06-22 13:32:26 +08:00