We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling sqlite.Session.Attach, all tables are attached regardless of whether the argument tableName is empty or not.
tableName
The bug is cause by inadvertently shadowing the ctable variable:
ctable
sqlite/session.go
Lines 89 to 97 in 66f853b
Because the variable is used within the if branch, the compiler doesn't flag it as unused.
Line 92 should be changed to
ctable = C.CString(tableName)
The text was updated successfully, but these errors were encountered:
Don't shadow ctable when creating the CString
ed3f38c
Fix crawshaw#75
091299a
450fb37
Fix #75
Successfully merging a pull request may close this issue.
When calling sqlite.Session.Attach, all tables are attached regardless of whether the argument
tableName
is empty or not.The bug is cause by inadvertently shadowing the
ctable
variable:sqlite/session.go
Lines 89 to 97 in 66f853b
Because the variable is used within the if branch, the compiler doesn't flag it as unused.
Line 92 should be changed to
The text was updated successfully, but these errors were encountered: