Skip to content

Commit

Permalink
Merge pull request #315 from databacker/uint16-in-db-types
Browse files Browse the repository at this point in the history
include uint16 and int16 in table types
  • Loading branch information
deitch committed Jun 19, 2024
2 parents 6d1400a + b98f608 commit 8802090
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/database/mysql/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ func (table *baseTable) RowBuffer() *bytes.Buffer {
fmt.Fprintf(&b, "%d", *s)
case *int8:
fmt.Fprintf(&b, "%d", *s)
case *int16:
fmt.Fprintf(&b, "%d", *s)
case *int32:
fmt.Fprintf(&b, "%d", *s)
case *int64:
Expand All @@ -239,6 +241,8 @@ func (table *baseTable) RowBuffer() *bytes.Buffer {
fmt.Fprintf(&b, "%d", *s)
case *uint8:
fmt.Fprintf(&b, "%d", *s)
case *uint16:
fmt.Fprintf(&b, "%d", *s)
case *uint32:
fmt.Fprintf(&b, "%d", *s)
case *uint64:
Expand Down

0 comments on commit 8802090

Please sign in to comment.