-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for custom string types in ConvertValue. #623
Added support for custom string types in ConvertValue. #623
Conversation
@@ -0,0 +1,13 @@ | |||
package mysql |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the license header as follows:
// Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2017 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
package mysql
@dsmontoya this PR requires some changes. Please update your PR when time allows it. |
Sorry for the delay. I completely forgot this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now.
Let's see why Travis is hanging again...
It seems like Travis somehow managed to not recognize that there is a new commit. |
47fa24b
to
661c2e0
Compare
Just rebased and pushed a new commit and it's still not working. |
@methane where did you find that? I don't see ANY info about this PR on Travis. |
Mailed the Travis support. Let's see.... |
Reply from the Travis support:
|
It's done now. |
Thanks! (and sorry for the trouble with Travis) |
No problem! And thank you! |
…#623) * Added support for custom string types. * Add author name * Added license header * Added a newline to force a commit. * Remove newline.
Description
For some reason reflect.String is not considered in the switch statement. This PR add it to a case so custom string types can be converted.
Checklist