Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## HEAD

Changes:

- Use decimals field from MySQL to format time types

Bugfixes:

- Enable microsecond resolution on TIME, DATETIME and TIMESTAMP


## Version 1.2 (2014-06-03)

Changes:
Expand Down
1 change: 0 additions & 1 deletion const.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ package mysql
const (
minProtocolVersion byte = 10
maxPacketSize = 1<<24 - 1
timeFormat = "2006-01-02 15:04:05"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not leave this here instead moving it to utils.go?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I thought it's only used in utils.go, but that's wrong.
It's also used in packets.go.
I'll change that.


// MySQL constants documentation:
Expand Down
Loading