Skip to content

Commit

Permalink
updated to work with weekly.2011-04-04
Browse files Browse the repository at this point in the history
  • Loading branch information
Philio committed Apr 11, 2011
1 parent 5ff1631 commit 910fcc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.markdown
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
GoMySQL Version 0.3.0 GoMySQL Version 0.3.1
===================== =====================




Expand All @@ -7,6 +7,7 @@ Revision History


0.3.x series [current] 0.3.x series [current]


* 0.3.1 - Updated to support weekly.2011-04-04 Go build, change to usage of net.Dial.
* 0.3.0 - No changes since RC2. * 0.3.0 - No changes since RC2.
* 0.3.0-RC-2 - Convert additional string types (issue 47). Added a check for NULL fields in the row packet handler to prevent a crash in strconv (issue 48). * 0.3.0-RC-2 - Convert additional string types (issue 47). Added a check for NULL fields in the row packet handler to prevent a crash in strconv (issue 48).
* 0.3.0-RC-1 - Fixed TestSimple unit test and added TestSimpleStatement which performs the same tests as TestSimple but uses a prepared statement throughout. Fixed and variable length strings for normal queries now return string types not []byte, text/blobs are indistinguishable so are left in []byte format which is more efficient. All integer values in prepared statements are stored as either int64 or uint64 depending on the unsigned flag, this simplifies conversion greatly when binding the result. Added ParamCount() and RowCount() methods to statements. The built in Date, Time and DateTime types can now be bound as strings in statements. Added auto-reconnect to all methods using the network and added reconnect/recovery support to Prepare and Execute functions. Statement.Reset now frees any remaining rows or complete result sets from the connection before sending the reset command so no longer requires a call to FreeResult prior to calling. * 0.3.0-RC-1 - Fixed TestSimple unit test and added TestSimpleStatement which performs the same tests as TestSimple but uses a prepared statement throughout. Fixed and variable length strings for normal queries now return string types not []byte, text/blobs are indistinguishable so are left in []byte format which is more efficient. All integer values in prepared statements are stored as either int64 or uint64 depending on the unsigned flag, this simplifies conversion greatly when binding the result. Added ParamCount() and RowCount() methods to statements. The built in Date, Time and DateTime types can now be bound as strings in statements. Added auto-reconnect to all methods using the network and added reconnect/recovery support to Prepare and Execute functions. Statement.Reset now frees any remaining rows or complete result sets from the connection before sending the reset command so no longer requires a call to FreeResult prior to calling.
Expand Down
2 changes: 1 addition & 1 deletion mysql.go
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
// Constants // Constants
const ( const (
// General // General
VERSION = "0.3.0" VERSION = "0.3.1"
DEFAULT_PORT = "3306" DEFAULT_PORT = "3306"
DEFAULT_SOCKET = "/var/run/mysqld/mysqld.sock" DEFAULT_SOCKET = "/var/run/mysqld/mysqld.sock"
MAX_PACKET_SIZE = 1<<24 - 1 MAX_PACKET_SIZE = 1<<24 - 1
Expand Down

0 comments on commit 910fcc7

Please sign in to comment.