Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,6 @@ func TestTimezoneConversion(t *testing.T) {

// Regression test for timezone handling
tzTest := func(dbt *DBTest) {

// Create table
dbt.mustExec("CREATE TABLE test (ts TIMESTAMP)")

Expand Down
1 change: 0 additions & 1 deletion dsn.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ func parseDSNParams(cfg *Config, params string) (err error) {

// cfg params
switch value := param[1]; param[0] {

// Disable INFILE whitelist / enable all files
case "allowAllFiles":
var isBool bool
Expand Down
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ func readLengthEncodedInteger(b []byte) (uint64, bool, int) {
if len(b) == 0 {
return 0, true, 1
}
switch b[0] {

switch b[0] {
// 251: NULL
case 0xfb:
return 0, true, 1
Expand Down