weigj / go-odbc

ODBC Driver for Go language
Other
122 stars 49 forks source link

Do not gobble errors silently #16

Open a-kr opened 11 years ago

a-kr commented 11 years ago

In some places using syntax like err := something inside a block causes a new err variable to shadow the one used to return result from function. This leads to silent error ignoring.

This commit fixes the described problem.