Skip to content

Commit f90f978

Browse files
committed
v2.0.1
1 parent a9f8048 commit f90f978

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ might occur. The PRAGMA busy_timeout might help to avoid SQLITE_BUSY errors.
181181
Changelog
182182
------------------------------------------------------------------------------
183183

184+
### v2.0.1
185+
186+
- ValXy const is now byte (was untyped)
187+
188+
184189
### v2.0.0
185190

186191
- Major Version 2 (streaming protocol, less memory, faster)

sqinn.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,12 +458,12 @@ func BlobValue(v []byte) Value { return Value{Type: ValBlob, Blob: v} }
458458

459459
// Value types.
460460
const (
461-
ValNull = 0
462-
ValInt32 = 1
463-
ValInt64 = 2
464-
ValDouble = 3
465-
ValString = 4
466-
ValBlob = 5
461+
ValNull byte = 0
462+
ValInt32 byte = 1
463+
ValInt64 byte = 2
464+
ValDouble byte = 3
465+
ValString byte = 4
466+
ValBlob byte = 5
467467
)
468468

469469
// A writer encodes values into bytes and writes them to a io.Writer.

0 commit comments

Comments
 (0)