Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Dec 14, 2024
1 parent 59d0d57 commit d58a709
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1289,9 +1289,7 @@ func TestLongData(t *testing.T) {
var rows *sql.Rows

// Long text data
// const nonDataQueryLen = 28 // length query w/o value + compress header
const nonDataQueryLen = 100
inS := in[:maxAllowedPacketSize-nonDataQueryLen]
inS := in[:maxAllowedPacketSize-100]
dbt.mustExec("INSERT INTO test VALUES('" + inS + "')")
rows = dbt.mustQuery("SELECT value FROM test")
defer rows.Close()
Expand Down

0 comments on commit d58a709

Please sign in to comment.