Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database/sql: panic: sql: Register called twice for driver odbc when running go test on Linux #6209

Closed
gopherbot opened this issue Aug 21, 2013 · 2 comments

Comments

@gopherbot
Copy link

by bigras.bruno:

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.
@gopherbot
Copy link
Author

Comment 1 by bigras.bruno:

This is the wrong bug tracker.
Please close this report.
Sorry about that.

@robpike
Copy link
Contributor

robpike commented Aug 21, 2013

Comment 2:

Status changed to Retracted.

@mikioh 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
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants