You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. hg clone https://code.google.com/p/odbc/
2. cd odbc/
3. go test
What is the expected output?
What do you see instead?
panic: sql: Register called twice for driver odbc
goroutine 1 [running]:
database/sql.Register(0x81483d8, 0x4, 0x1834f680, 0x8204060)
/usr/local/go/src/pkg/database/sql/sql.go:31 +0xe1
_/home/bbigras/odbc.init·1()
/home/bbigras/odbc/driver.go:74 +0x72
_/home/bbigras/odbc.init()
/home/bbigras/odbc/mssql_test.go:864 +0x1610
main.init()
_/home/bbigras/odbc/_test/_testmain.go:34 +0x3e
goroutine 2 [syscall]:
exit status 2
FAIL _/home/bbigras/odbc 0.093s
Which compiler are you using (5g, 6g, 8g, gccgo)?
I have no idea.
Which operating system are you using?
Ubuntu 10.04.4 LTS
Which version are you using? (run 'go version')
go version go1.1.2 linux/386
freetds 0.82-6build1
tdsodbc 0.82-6build1
unixodbc 2.2.11-21
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
panic: sql: Register called twice for driver odbc when running go test on Linux
database/sql: panic: sql: Register called twice for driver odbc when running go test on Linux
Feb 18, 2015
by bigras.bruno:
The text was updated successfully, but these errors were encountered: