7c12300baa
utl/types: cast bound to float to compare with float, address comments
2015-09-10 22:54:11 +08:00
80d574bfc4
util/types: unexport method overflow and invConv
2015-09-10 22:29:28 +08:00
8c3e5a28e6
util/types: clean up for golint
2015-09-10 20:14:51 +08:00
a80d131c06
util/types, column, expressions: use types.Convert to replace Col.CastValue
...
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.
For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
63776c2e76
Merge pull request #92 from pingcap/qiuyesuifeng/decimal-type-index-support
...
Add decimal type codec support.
2015-09-10 18:21:29 +08:00
038ab131b1
util/codec: address comment.
2015-09-10 15:18:02 +08:00
2a72346857
util/codec: address comments.
2015-09-10 14:58:23 +08:00
5d0d30d642
util/codec: fix a bug for decimal encoding and add more tests.
...
fix bug.
2015-09-10 14:06:28 +08:00
1b1de4ba69
util/codec: update decimal codec.
2015-09-10 13:31:55 +08:00
eb2849ef49
util/codec: move decimal codec to util/codec/decimal.
2015-09-10 12:14:25 +08:00
89455adedc
Merge pull request #89 from pingcap/coocood/unify-int-type
...
*: unify all integer types to int64 and uint64
2015-09-10 11:26:49 +08:00
71153d520c
util: support row compare
2015-09-09 22:35:25 +08:00
a5e0858986
*: unify all integer types to int64 and uint64
...
Simplify type related codes.
2015-09-09 22:21:15 +08:00
84de0ba2fb
codec, mysqldef: add decimal codec support.
...
support decimal type index.
2015-09-09 18:30:36 +08:00
bb4d3a529e
Merge pull request #71 from pingcap/shenli/fix-bit
...
*: Add bit type check in CastValue
2015-09-08 21:22:19 +08:00
1e4cdb813f
*: update QL-LICENSE and STRUTIL-LICENSE.
2015-09-08 19:25:50 +08:00
2e14602bed
*: Add bit type check in CastValue
...
Fix panic in go-xorm test
2015-09-08 17:47:27 +08:00
a589f79185
Merge pull request #64 from pingcap/siddontang/update-index-type
...
codec: support mysql Duration codec
2015-09-08 15:56:56 +08:00
9d86c72f6a
Address comment
2015-09-08 15:12:42 +08:00
d74f03c6a8
codec: support mysql Duration codec
2015-09-08 15:01:22 +08:00
a2e688a32d
util: add cockroach license
2015-09-07 20:53:15 +08:00
695003b466
util, plan, plan/plans, rset, rsets: fix-copyright-infringement.
2015-09-07 08:48:50 -04:00
213793ba38
expressions:remove unnecessary test
2015-09-07 13:37:27 +08:00
147f954330
util:improve compare function, return error instead of panic.
2015-09-07 13:35:42 +08:00
0670dd0e34
*: pass gofmt
...
pass gofmt
2015-09-07 11:28:10 +08:00
cab1ed9fdd
Merge pull request #16 from pingcap/zimuxia/go-vet
...
Pass go vet
2015-09-06 20:32:33 +08:00
9f52db08e2
Merge pull request #10 from pingcap/coocood/convert-year
...
util/types: support convert year
2015-09-06 20:13:46 +08:00
b595679d47
util/types: handle convert year from duration
2015-09-06 20:09:52 +08:00
66253f0fd7
*: pass go vet
...
pass go vet
2015-09-06 19:10:04 +08:00
97ea35c4ba
util/convert: convert year handle case mysql.Time
2015-09-06 19:04:15 +08:00
0054f81c18
util/types: address comments
2015-09-06 17:22:09 +08:00
615110e0ae
types: Convert function
...
Address comment
2015-09-06 17:16:12 +08:00
be56437ad4
util/types: support convert year
...
Convert support more types
2015-09-06 17:13:42 +08:00
d1b3e2da67
types: Improve Convert function
...
Check unsignedflag, charsetbin
2015-09-06 16:54:52 +08:00
0d6f270068
Add files
2015-09-06 12:08:47 +08:00