Commit Graph

16 Commits

Author SHA1 Message Date
b2d62f9fb6 mysqldef, kv, stmt, stmt/stmts, parser, field: fix-copyright-infringement. 2015-09-07 09:05:15 -04:00
0498db499c Merge pull request #42 from Unknwon/iconv
expression/expressions: replace iconv-go with text/transform
2015-09-07 17:49:15 +08:00
af3626fcbd expression/expressions: replace iconv-go with text/transform
Remove CGO requirement for compiling iconv-go currently is using.

Replace it with native implementation of Go.
2015-09-07 05:22:15 -04:00
d97c747264 expressions: operator supports []byte type 2015-09-07 16:08:32 +08:00
213793ba38 expressions:remove unnecessary test 2015-09-07 13:37:27 +08:00
329721d226 *:handle error with types.Compare function 2015-09-07 13:35:42 +08:00
dd19e36c28 expressions:use types.Compare 2015-09-07 13:35:42 +08:00
xia
0670dd0e34 *: pass gofmt
pass gofmt
2015-09-07 11:28:10 +08:00
84b2a6b8af parser: Support Convert better and add unit test
1. Change FunctionCast.String() to support Convert String()
2. Add unit test in parser for convert
2015-09-06 23:23:39 +08:00
cab1ed9fdd Merge pull request #16 from pingcap/zimuxia/go-vet
Pass go vet
2015-09-06 20:32:33 +08:00
xia
66253f0fd7 *: pass go vet
pass go vet
2015-09-06 19:10:04 +08:00
xia
1ac7e635d2 *: pass go vet
pass go vet
2015-09-06 18:43:34 +08:00
ced00cc547 *: Remove conversion function
It is useless in MySQL and will cause conflict with
year/time/datetime/date function.
2015-09-06 18:07:17 +08:00
d1b3e2da67 types: Improve Convert function
Check unsignedflag, charsetbin
2015-09-06 16:54:52 +08:00
63ddb9c531 fix CurrentTimestamp check error for different timezones 2015-09-06 07:50:26 +00:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00