Commit Graph

18302 Commits

Author SHA1 Message Date
842721e1d5 Address comment 2015-09-07 10:50:51 +08:00
fda7a3469f mysqldef: remove offset, create a local time to get zone offset 2015-09-07 10:43:56 +08:00
8663db2c13 parser: Remove useless code
Address comment
2015-09-07 10:21:29 +08:00
d048d29b90 mysqldef: save FSP and zone offset for codec 2015-09-07 10:20:01 +08:00
ece256743b Merge pull request #24 from pingcap/shenli/fix-golint
tidb: Add some comments
2015-09-06 22:02:48 -04:00
43671d96f6 tidb: Add some comments
Fix golint errors
2015-09-06 23:40:02 +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
05816bdb30 parser: Add convert type function
Support mysql builtin function CONVERT(expr,type)

See: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#function_convert
2015-09-06 22:38:01 +08:00
a919e8cf13 Merge pull request #17 from astaxie/master
Allow uses to shutdown the pprof
2015-09-06 09:49:37 -04:00
7adf722a53 set Debug to true as default 2015-09-06 21:46:48 +08:00
a51d4c4cd2 Merge pull request #20 from pingcap/siddontang/fix-issue-19
mysqldef: fix issue #19
2015-09-06 21:39:13 +08:00
2e9674ffff mysqldef: fix issue #19 2015-09-06 21:19:53 +08:00
cab1ed9fdd Merge pull request #16 from pingcap/zimuxia/go-vet
Pass go vet
2015-09-06 20:32:33 +08:00
xia
f49398dc42 *: pass go vet
pass go vet
2015-09-06 20:20:21 +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
6cd054ac48 Merge remote-tracking branch 'upstream/master' 2015-09-06 19:22:43 +08:00
579e85e6b5 Allow uses to shutdown the pprof
pprof looks like a debug tools. So I think the default should turn off.
And if pporf turn on, user can also change the pprof addr.
2015-09-06 19:15:33 +08:00
xia
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
xia
9238a23f27 *: pass go vet
pass go vet
2015-09-06 18:45:42 +08:00
xia
1ac7e635d2 *: pass go vet
pass go vet
2015-09-06 18:43:34 +08:00
397f8ad39a Merge pull request #14 from pingcap/shenli/dev-conversion
*: Remove conversion function
2015-09-06 18:26:40 +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
02d35ddd40 Merge pull request #13 from astaxie/master
init stores when declare
2015-09-06 17:57:52 +08:00
cbe488138c init stores in one place 2015-09-06 17:54:47 +08:00
22d537cbbe Merge pull request #11 from pingcap/c4pt0r/ci-support
tools: use go1.5 for CI
2015-09-06 17:38:22 +08:00
6059b7c2f9 tools: use go1.5 for CI
tip version is not stable, use go1.5 instead
2015-09-06 17:33:14 +08:00
3030bdb4f6 Merge pull request #8 from pingcap/shenli/dev-cast
types: Improve Convert function
2015-09-06 17:23:47 +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
7e42e700bf Merge pull request #9 from pingcap/c4pt0r-patch-1
Update README.md
2015-09-06 17:14:15 +08:00
be56437ad4 util/types: support convert year
Convert support more types
2015-09-06 17:13:42 +08:00
6d86ed39ef Update README.md
add TravisCI logo.
2015-09-06 17:03:48 +08:00
d1b3e2da67 types: Improve Convert function
Check unsignedflag, charsetbin
2015-09-06 16:54:52 +08:00
87bd2743af Merge pull request #7 from pingcap/ci-support
tools: add .travis.yml
2015-09-06 16:49:51 +08:00
84467b02df tools: add .travis.yml
add travis ci support
2015-09-06 16:46:56 +08:00
d16503f824 Merge pull request #6 from siddontang/fix-mysqldef-test
Fix mysqldef test
2015-09-06 16:34:26 +08:00
51bc5b45e8 Merge pull request #5 from siddontang/fix-time-test
fix CurrentTimestamp check error for different timezones
2015-09-06 16:23:16 +08:00
18140c6eff min/max datetime use local location 2015-09-06 15:58:20 +08:00
7f064ddfe2 remove wrong test 2015-09-06 15:57:59 +08:00
63ddb9c531 fix CurrentTimestamp check error for different timezones 2015-09-06 07:50:26 +00:00
b7e5674b24 Merge pull request #4 from chuchao333/feature/improve-readmes-enlish-usage
Improvement Documentation: various corrections of the English usage i…
2015-09-06 15:13:30 +08:00
c1104ff84e Merge pull request #2 from coocood/parser-gitignor
parser: add gitignore
2015-09-06 15:10:12 +08:00
25d1a6b507 Improvement Documentation: various corrections of the English usage in readme 2015-09-06 15:07:04 +08:00
7f9930a984 Merge pull request #3 from pingcap/fix-boltdb-import
store: fix boltdb package import.
2015-09-06 14:22:48 +08:00
f7ac0723b6 *: unify gitignore 2015-09-06 14:13:33 +08:00
ffe3543b06 store: update boltdb package import. 2015-09-06 14:09:23 +08:00
218fc91a66 parser: add gitignore
parser.go and scanner.go are generated code.
2015-09-06 13:57:41 +08:00
b63205b048 Merge pull request #1 from pingcap/readme-patch
Update README.md
2015-09-06 12:14:41 +08:00