Commit d24cf6d5 authored by Dmitri Shuralyov's avatar Dmitri Shuralyov

database/sql: remove forced log import from test

This var _ = log.Printf line was added 8 years ago, in CL 4973055,
which created the database/sql package and its tests. There was no
goimports back then, so this was likely added to make it easier to
use log package during development of tests.

It's no longer needed, so remove it. It can always be conveniently
re-added via goimports whenever needed.

Change-Id: I7c32ae3e593c194d970920084139dfa5a42386dc
Reviewed-on: https://go-review.googlesource.com/c/go/+/202481
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 71d127aa
...@@ -10,7 +10,6 @@ import ( ...@@ -10,7 +10,6 @@ import (
"errors" "errors"
"fmt" "fmt"
"io" "io"
"log"
"reflect" "reflect"
"sort" "sort"
"strconv" "strconv"
...@@ -20,8 +19,6 @@ import ( ...@@ -20,8 +19,6 @@ import (
"time" "time"
) )
var _ = log.Printf
// fakeDriver is a fake database that implements Go's driver.Driver // fakeDriver is a fake database that implements Go's driver.Driver
// interface, just for testing. // interface, just for testing.
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment